Commit Graph

407 Commits

Author SHA1 Message Date
Klaus K Wilting
5ca3ef72fd testing battery probe (experimental) 2018-06-03 00:05:53 +02:00
Klaus K Wilting
9c60a237cf Battery voltage read implemented (TTGOv2.1) 2018-06-02 22:23:50 +02:00
Klaus K Wilting
428db80073 v1.3.7 taylored to espressif32 v1.0.1 2018-06-02 18:28:01 +02:00
Klaus K Wilting
73d6f30e07 Merge branch 'master' of https://github.com/cyberman54/ESP32-Paxcounter 2018-05-27 17:45:11 +02:00
Klaus K Wilting
1aa0aef669 ttgpv21.h 2018-05-27 17:45:07 +02:00
cyberman54
b9e3961609 code sanitizations 2018-05-27 17:42:18 +02:00
cyberman54
be883d577e v1.3.6 release 2018-05-27 16:52:13 +02:00
Klaus K Wilting
92cc55a36a ADR display 2018-05-21 20:35:33 +02:00
Klaus K Wilting
7b8367fa4a reworked rtos tasking & minor core sanitizations 2018-05-21 17:48:43 +02:00
Klaus K Wilting
61bd56860f minor fixes 2018-05-21 14:16:25 +02:00
Klaus K Wilting
ff024d7abc lorawan.cpp bugfix "LORA BUSY" 2018-05-20 21:57:03 +02:00
Klaus K Wilting
776795d75b lorawan.cpp bugfix BLE payload 2018-05-20 21:48:21 +02:00
Klaus K Wilting
45066af7c9 readme.md and ble default timings 2018-05-20 21:21:47 +02:00
Klaus K Wilting
ed25ec1e92 blescan.cpp code refactoring 2018-05-20 18:31:41 +02:00
Klaus K Wilting
30178bbf43 scan performance optimizations 2018-05-20 16:28:12 +02:00
Klaus K Wilting
9bdc7291d8 bluetooth tasking reworked 2018-05-20 13:50:00 +02:00
Klaus K Wilting
624d24d1c6 loraconf.sample.h 2018-05-20 11:47:13 +02:00
Klaus K Wilting
ca77734039 bluetooth infinite scan 2018-05-19 16:55:18 +02:00
Klaus K Wilting
a44587eb63 small correction in ttgov21.h 2018-05-15 11:55:52 +02:00
Klaus K Wilting
094ffecced settings for TTGOv2.1 adapted 2018-05-15 11:49:46 +02:00
Klaus K Wilting
9b567fa844 low memory threshold 2018-05-15 10:41:04 +02:00
Klaus K Wilting
79f14b020d TTGOv2.1 support added 2018-05-15 10:36:11 +02:00
Klaus K Wilting
90f01fa6e0 FiPy support added 2018-05-14 20:53:35 +02:00
Verkehrsrot
ac7e0494df
Merge pull request #57 from GreyRook/fipy_support
add FiPy support
2018-05-14 20:32:53 +02:00
Verkehrsrot
5d692bf8c7
Update fipy.h 2018-05-14 20:31:29 +02:00
Florian Ludwig
7f5c936061 add FiPy environment 2018-05-14 18:53:29 +02:00
Klaus K Wilting
0cb94aaff8 BT stacksize configurable 2018-05-12 17:14:52 +02:00
Klaus K Wilting
78ffbd6e64 code sanitization 2018-05-12 13:43:47 +02:00
cyberman54
e96593d5b8 v1.3.41 2018-05-11 23:54:09 +02:00
cyberman54
14b00196de experimental bug fix memory threshold 2018-05-11 19:07:48 +02:00
Cyberman54
06e68459c8 loraconf.sample.h modified 2018-05-11 12:40:36 +02:00
Klaus K Wilting
221b06d3c6 v1.3.4 2018-04-28 14:33:27 +02:00
Klaus K Wilting
589058d7c5 repair wifichancycle 2018-04-28 14:09:27 +02:00
Klaus K Wilting
626bcc874c repair cfg.blescantime 2018-04-28 13:11:23 +02:00
Klaus K Wilting
326e01ba51 new cmd set payload sendcycle 2018-04-28 13:07:35 +02:00
Klaus K Wilting
10afaba7d5 v1.3.32 2018-04-28 12:14:22 +02:00
Klaus K Wilting
458bc88041 SF display & set Pin DIO2 to LMIC_unused_pin 2018-04-28 12:13:00 +02:00
Klaus K Wilting
9c10bdf5fe v1.3.31 2018-04-27 23:57:16 +02:00
Klaus K Wilting
ad44687392 watchdog reset cleanup 2018-04-27 23:44:29 +02:00
Klaus K Wilting
9916d8f6da changed wifi channel switching to hw interrupt 2018-04-27 23:27:21 +02:00
Klaus K Wilting
b9db1bf1dc Display refresh & Button IRQ 2018-04-27 22:41:07 +02:00
Klaus K Wilting
cc003c43f0 removed var currentMillis 2018-04-27 21:38:50 +02:00
Klaus K Wilting
3ca741c6dc v1.3.3: repair memory display 2018-04-27 21:29:46 +02:00
Klaus K Wilting
996f94d401 repair memory display 2018-04-27 18:48:24 +02:00
Klaus K Wilting
19b9e4d721 wifi & lmic loops restructured 2018-04-27 18:32:36 +02:00
Klaus K Wilting
1c7d929201 v1.3.22 2018-04-26 23:25:56 +02:00
Klaus K Wilting
3912322c9e minor code sanitizations 2018-04-26 19:05:52 +02:00
Charles
93debcbc66 Fixed Led Management 2018-04-26 18:07:48 +02:00
Charles
7d0d352924 Fixed millis related vars to unsigned long 2018-04-26 18:04:46 +02:00
Charles
903183284e Check if LED at compile time 2018-04-26 18:04:18 +02:00
Klaus K Wilting
6a89aef53a bugfixing LED routine (not yet done) 2018-04-25 12:24:01 +02:00
Klaus K Wilting
dbf67eb780 bugfixing LED routine (not yet fixed) 2018-04-25 12:15:17 +02:00
Klaus K Wilting
391ad0fe90 bugfixing LED routine (not yet fixed) 2018-04-25 12:09:22 +02:00
Klaus K Wilting
0ca1aa5fd0 bugfixing LED blink (note yet fixed) 2018-04-25 12:07:36 +02:00
Klaus K Wilting
e0dc8cd4d0 bugfixing LED blink routine (not fixed) 2018-04-25 11:46:58 +02:00
Klaus K Wilting
bedd90bede v1.3.21 2018-04-24 22:37:20 +02:00
Klaus K Wilting
244eb10c29 memory display & reduced task stack sizes & reduced bt loop pause 2018-04-24 22:29:12 +02:00
Klaus K Wilting
7f47829140 v1.3.2 2018-04-20 11:52:58 +02:00
Klaus K Wilting
14e68260e6 bugfixes in LED blink routine 2018-04-20 10:27:13 +02:00
Klaus K Wilting
de2aaf9e6a cleanup 2018-04-19 21:02:42 +02:00
Klaus K Wilting
c6191f9a24 bugfixes 2018-04-19 19:16:32 +02:00
Klaus K Wilting
f07cc7dcb2 code sanitization 2018-04-19 15:36:01 +02:00
Klaus K Wilting
face65421a code sanitization 2018-04-19 15:28:27 +02:00
Klaus K Wilting
fab0e4f0dd code sanitization 2018-04-19 15:17:23 +02:00
Klaus K Wilting
54945f173e main.cpp: code sanitization 2018-04-19 11:09:17 +02:00
Klaus K Wilting
f922b90242 main.cpp: code sanitization 2018-04-19 11:07:18 +02:00
Klaus K Wilting
7f7dfaeec8 removed 2 of 3 set arrays to save RAM 2018-04-19 10:55:59 +02:00
Klaus K Wilting
e41aaa45a0 cleanups 2018-04-17 23:14:01 +02:00
Klaus K Wilting
bf6a21f44f new led management (part 2) 2018-04-17 23:05:12 +02:00
Klaus K Wilting
758a960371 new led management (part 1) 2018-04-17 22:42:06 +02:00
Klaus K Wilting
f6864b1973 state machine (part 4) 2018-04-17 19:28:58 +02:00
Klaus K Wilting
cbca740792 state machine (part 3) 2018-04-17 19:20:54 +02:00
Klaus K Wilting
eefac59030 state machine (part 2) 2018-04-17 18:46:01 +02:00
Klaus K Wilting
688d0993af state machine (part 1) 2018-04-17 18:08:47 +02:00
Klaus K Wilting
e69c911586 bugfixes in bluetooth on/off (still not fixed) 2018-04-16 22:48:00 +02:00
Klaus K Wilting
e01d4c2100 cleanups 2018-04-16 20:56:29 +02:00
Klaus K Wilting
3c0af4d146 release v1.3.0 2018-04-16 11:15:50 +02:00
Klaus K Wilting
a3f23aef25 centralize display writes (part 6) 2018-04-16 11:03:12 +02:00
Klaus K Wilting
68cded9c71 main.cpp: update comments 2018-04-16 00:28:55 +02:00
Klaus K Wilting
514e2c6d05 centralize display writes (part 5) 2018-04-16 00:05:33 +02:00
Klaus K Wilting
52142c9d05 centralize display writes (part 4) 2018-04-16 00:05:11 +02:00
Klaus K Wilting
4bc888d78d centralize display writes (part 3) 2018-04-15 23:50:53 +02:00
Klaus K Wilting
3efd3890f3 centralize display writes (part 2) 2018-04-15 22:31:19 +02:00
Klaus K Wilting
130fefd49d centralize display writes (part 1) 2018-04-15 22:21:30 +02:00
Klaus K Wilting
01e81b3581 blescan.cpp: comment added 2018-04-15 21:02:29 +02:00
Klaus K Wilting
43c06bb94f blescsn.cpp: esp_blufi_api.h include added again (*is* needed) 2018-04-15 20:58:08 +02:00
Klaus K Wilting
a0564f3607 blescan.cpp: bluefi_api removed (unneeded) 2018-04-15 20:20:35 +02:00
Klaus K Wilting
24eed4a55e main.cpp: small change in main loop 2018-04-15 18:54:23 +02:00
Klaus K Wilting
d3bbd46f79 delays in loop_tasks adjusted 2018-04-15 18:19:47 +02:00
Klaus K Wilting
524adaf8b5 !REPAIR! blescan.cpp: delay(500) back; otherwise watchdog triggers 2018-04-15 18:05:36 +02:00
Klaus K Wilting
441204236e main.cpp: single core option removed 2018-04-15 14:32:26 +02:00
Klaus K Wilting
77dc71ed13 blescan.cpp: removed delay in bt_loop task 2018-04-15 14:06:25 +02:00
Klaus K Wilting
34d32df248 changed core 1->0; increased stack size for bt task -> 8192 2018-04-15 13:59:37 +02:00
Klaus K Wilting
0b0dc9c02b v1.2.98 2018-04-15 12:12:06 +02:00
Klaus K Wilting
342f135d41 main.h: removed BLESCANCYCLE 2018-04-15 01:21:13 +02:00
Klaus K Wilting
e4afdf6c77 blescan.cpp optimization 2018-04-15 01:04:39 +02:00
Klaus K Wilting
4f8bb26fc0 blescan.cpp optimization 2018-04-15 00:51:28 +02:00
Klaus K Wilting
666d2e0e32 fixes blescan.cpp & update readme.md 2018-04-14 21:42:30 +02:00
Klaus K Wilting
f903a930c4 !REPAIR! some more was broken in blescan.cpp 2018-04-14 21:20:45 +02:00
Klaus K Wilting
ed8334d3e8 blescan.cpp: bt_loop speedup 2018-04-14 21:02:49 +02:00
Klaus K Wilting
af0f26f4e8 !REPAIR! of broken blescan.cpp 2018-04-14 21:00:36 +02:00
Klaus K Wilting
5f34015199 blescan.cpp: code sanitization 2018-04-14 20:51:44 +02:00
Klaus K Wilting
d4c4f5b532 further fixes for refactoring BLE scan 2018-04-14 20:33:33 +02:00
Klaus K Wilting
c57e7b75f4 completely reworked BLE scan 2018-04-14 20:22:58 +02:00
Klaus K Wilting
116197f632 blescan.cpp created 2018-04-14 19:22:29 +02:00
Klaus K Wilting
e91b6be5dd macsniff.cpp: removed some BLExxx.h 2018-04-14 17:52:30 +02:00
Klaus K Wilting
e1f8d89cab Little code sanitization in BLECount() 2018-04-09 12:30:49 +02:00
Klaus K Wilting
95d8db56ae main.h defaults 2018-04-07 12:03:19 +02:00
Klaus K Wilting
c88b37d92d minor fixes if BLE disabled 2018-04-07 12:02:13 +02:00
Klaus K Wilting
a6b22a3fb3 BLE params changed 2018-04-06 22:25:12 +02:00
Klaus K Wilting
71b6f75781 BLE params changed 2018-04-06 22:24:54 +02:00
Klaus K Wilting
f9ba346c68 enhanced BLE scan parameters 2018-04-06 21:34:25 +02:00
Klaus K Wilting
9acdd1d575 comments added in BLE routine 2018-04-06 18:19:10 +02:00
Klaus K Wilting
308a8d38a2 changed BLE scan mode to passive (is faster) 2018-04-06 17:52:24 +02:00
Klaus K Wilting
0041970142 minor u8x8 code optimizations 2018-04-06 17:31:01 +02:00
Klaus K Wilting
b82a770882 OLED Display cosmetics 2018-04-06 17:19:37 +02:00
Klaus K Wilting
a65c6f8596 reduce screen flicker by removing clearlines 2018-04-06 16:09:01 +02:00
Charles
9315810028 Removed sample config with defines 2018-04-06 10:56:21 +02:00
Charles
bd62e3d538 Send WiFi Mac instead of total WiFi+BLE 2018-04-06 10:56:03 +02:00
Klaus K Wilting
f435d44981 macsniff.cpp: reduced screen flicker 2018-04-05 22:11:32 +02:00
Klaus K Wilting
018c78ba29 minor cosmetics 2018-04-05 21:47:43 +02:00
Charles
7fc0fc0a74 Optimize add function, fixed New/Already Seen bug 2018-04-05 16:26:25 +02:00
Charles
01d617f61e Fixed display bug 2018-04-05 14:35:53 +02:00
Charles
a37a567ab2 Code optimization 2018-04-05 14:34:39 +02:00
Charles
114651d8c0 Improved hash & salt 2018-04-05 14:33:30 +02:00
Charles
bc114e4d1f Added board definition symbol 2018-04-05 09:56:26 +02:00
Charles
17fab82cd7 Centralized display 2018-04-05 08:48:24 +02:00
Charles
428a29286c Removed any display from mac_add 2018-04-05 08:48:08 +02:00
Charles
0e4c8facd0 make currentScanDevice extern 2018-04-05 08:47:41 +02:00
Charles
66c4aa4a0c bump to v1.2.94 2018-04-05 08:47:17 +02:00
Charles
549e9ef944 removed unneeded #include 2018-04-05 08:46:59 +02:00
Klaus K Wilting
ba76646f21 main.cpp: reduced i2c display speed (test) 2018-04-04 23:29:03 +02:00
Klaus K Wilting
c71ff050cf main.cpp: double u8x8.begin() removed 2018-04-04 22:56:34 +02:00
Charles
58b3299f93 Changed display mode to see if we still see 16 max bug 2018-04-04 18:02:30 +02:00
Charles
0798c6388a Added unit of RSSI debug line 2018-04-04 14:34:44 +02:00
Charles
334a23a8e2 Avoid buffer overflow 2018-04-04 14:27:36 +02:00
Charles
204b91237c optimized newnac 2018-04-04 14:23:02 +02:00
Charles
eef19c581b Cosmetic OLED display 2018-04-04 14:22:15 +02:00
Charles
8ca6e7b024 Optimized salt and hash 2018-04-04 12:45:31 +02:00
Charles
327aaf46f8 created centralized function salt_reset() 2018-04-04 12:39:40 +02:00
Verkehrsrot
dd99c078f1
revert change in macsniff.cpp (to be further tested) 2018-04-04 09:51:33 +02:00
Verkehrsrot
03a8a29aac
Merge branch 'master' into master 2018-04-04 08:31:48 +02:00
Charles
0144a305e5 Bump to v1.2.93 2018-04-04 01:42:10 +02:00
Charles
39b0c4eefe Added warning on software deveui override by HW one 2018-04-04 01:37:59 +02:00
Charles
b0d29b16b2 bump to v1.2.92 2018-04-04 01:27:36 +02:00
Charles
16d015feae Fixed and Moved reading HW deveui to lorawan.cpp 2018-04-04 01:26:05 +02:00
Klaus K Wilting
2a9cc2b2b4 v1.2.92: display flip mode implemented 2018-04-03 23:42:43 +02:00
Charles
2edae9d51b Use size of buffer instead of hard number 2018-04-03 23:38:37 +02:00
Klaus K Wilting
dc7f4ca90e v1.2.91: enhanced RGB LED blink 2018-04-03 21:26:51 +02:00
Klaus K Wilting
f71d967eab testing 2018-04-03 18:13:39 +02:00
Klaus K Wilting
d2330fb5b1 testing 2018-04-03 18:03:05 +02:00
Klaus K Wilting
4246359c30 merge pull request #21 for testing 2018-04-03 17:47:11 +02:00
Klaus K Wilting
f266da5a9f Merge branch 'master' of https://github.com/hallard/ESP32-Paxcounter into test 2018-04-03 17:05:44 +02:00
Klaus K Wilting
92487febc0 LoPy/LoP4 LED board definition corrected 2018-04-03 16:54:58 +02:00
Klaus K Wilting
22ba119bf5 updated board definitions for LoPy/LoPy4 2018-04-03 16:41:23 +02:00
Charles
47f0f90cf3 Revert "Removed all display code if not HAS_DISPLAY"
This reverts commit 3640a62b93.
2018-04-03 16:14:57 +02:00
Klaus K Wilting
30a66743a6 macsniff.cpp: logging bug fixed 2018-04-03 13:18:31 +02:00
Charles
f4ecc3924b Added 24AA02E64 deveui reading
Not working yet (I2C bug in ESP32 framework)
2018-04-03 12:39:11 +02:00
Charles
3640a62b93 Removed all display code if not HAS_DISPLAY 2018-04-03 12:38:15 +02:00
Charles
8b4c5c1d87 Added values for Microchip 24AA02E64 unique DEVEUI Address 2018-04-03 11:27:34 +02:00
Charles
3b1baf1fc4 BLE Scan time set to 10s 2018-04-03 11:24:06 +02:00
Charles
6739a226c3 Blink RGB Led on BLE device seen 2018-04-03 11:23:39 +02:00
Klaus K Wilting
5cdb4d53aa configmanager.cpp: bugfix blescancycle NVRAM 2018-04-03 11:07:00 +02:00
Klaus K Wilting
9c15a86b77 v1.2.86 small fixes 2018-04-02 23:27:38 +02:00
Klaus K Wilting
b854f09204 v1.2.85 2018-04-02 22:45:08 +02:00
Klaus K Wilting
7eef5a846e v1.2.83: BLE scan frequency made remote configurable 2018-04-02 21:26:22 +02:00
Klaus K Wilting
da9ea6a35d main.cpp: bug fixed in loop count logic (issue #18) 2018-04-02 21:02:22 +02:00
Klaus K Wilting
703e6ec894 main.cpp: bug fixed channel rotation 2018-04-02 19:04:10 +02:00
Klaus K Wilting
95358eb6d3 comments cosmetics 2018-04-02 14:43:39 +02:00
Klaus K Wilting
60b1d31f6a some fixes in macsniff.cpp 2018-04-02 14:34:16 +02:00
Klaus K Wilting
cbecfb4463 v1.2.71 test 2018-04-02 10:09:44 +02:00
Klaus K Wilting
c330571a14 v1.2.7 test 2018-04-02 09:44:30 +02:00
Klaus K Wilting
ec89b8c1d3 resolved merge conflicts 2018-04-02 09:38:45 +02:00
Klaus K Wilting
9da4a1c10a resolve merge conflicts 2018-04-02 09:32:11 +02:00
Klaus K Wilting
a839f5ea68 resolved merge conflicts 2018-04-02 09:30:03 +02:00
Charles
05f1f75c9f Fixed RGB Led after transmit 2018-04-02 03:13:01 +02:00
Charles
121e79cd7c Added Leds managment 2018-04-02 03:00:27 +02:00
Charles
c5d82fb1e0 Removed Vendor filter for BLE Scan 2018-04-02 02:59:55 +02:00
Charles
ea62f49220 On Board LED is active LOW 2018-04-02 01:38:25 +02:00
Charles
5aa86ba801 Added RGB LED, and new counters 2018-04-02 01:36:51 +02:00
Charles
2a7989658d use new counters 2018-04-02 01:36:34 +02:00
Charles
ef85178016 Refactored mac counter and BLE scan 2018-04-02 01:36:14 +02:00
Charles
96630e08f8 Added RGB Luminosity, changed AES to perf and default BLE duration 2018-04-02 01:35:36 +02:00
Charles
8a2d848370 Set back to include file 2018-04-02 01:34:10 +02:00
Charles
5c5d40e050 added RGB Led 2018-04-02 01:33:49 +02:00
Charles
0840573f38 Merged in macsniff 2018-04-02 01:30:24 +02:00
Klaus K Wilting
cc6d8da5dd salting finally bugfixed 2018-04-01 22:25:08 +02:00
Klaus K Wilting
2a8aef60a9 salting fixed 2018-04-01 22:21:00 +02:00
Klaus K Wilting
70d7b4f719 salt bugfix 2018-04-01 22:14:51 +02:00
Klaus K Wilting
0326e03fd8 salt logic modified 2018-04-01 21:02:13 +02:00
Klaus K Wilting
39022e2340 salt logic modified 2018-04-01 20:56:18 +02:00
Klaus K Wilting
7c906c5d6b salt logic improved 2018-04-01 19:04:13 +02:00
Klaus K Wilting
91ac7eb32f salt logic improved 2018-04-01 18:33:22 +02:00
Klaus K Wilting
c1065193c6 salt logic improved 2018-04-01 18:18:01 +02:00
Klaus K Wilting
ca75dee4f2 logging modified 2018-04-01 16:59:48 +02:00
Klaus K Wilting
5d6d06005a modified salt logic 2018-04-01 16:52:07 +02:00
Klaus K Wilting
4914305ba8 code sanitization 2018-04-01 13:27:53 +02:00
Klaus K Wilting
eebcb4f73a MAC mask removed again 2018-04-01 13:24:02 +02:00
Klaus K Wilting
78ead0f0ce changed random number generator 2018-04-01 13:16:59 +02:00
Klaus K Wilting
c1c6dda221 srand init fixed 2018-04-01 10:54:44 +02:00