Commit Graph

463 Commits

Author SHA1 Message Date
Klaus K Wilting
30d22aa896 irq handling reworked (using tasknotify instead of semaphores) 2018-10-04 22:08:54 +02:00
Klaus K Wilting
219f2347da code sanitizations 2018-10-03 20:18:01 +02:00
Klaus K Wilting
1eceea2686 new lmic tasking 2018-10-03 16:24:45 +02:00
Klaus K Wilting
e5df1013b3 v1.5.18 (improved tasking, lmic has now core1 exclusive) 2018-10-03 00:25:05 +02:00
Klaus K Wilting
15f7f2fd85 v1.5.13 2018-09-30 22:06:10 +02:00
Klaus K Wilting
43b4946252 timing improvements (separate mutexes for IRQ; Loraloop higher prio) 2018-09-30 15:08:00 +02:00
Klaus K Wilting
b22fd808b8 task stack sizes tailored; semaphore controlled wifi task 2018-09-27 15:13:15 +02:00
Klaus K Wilting
cb4870bce5 testing 2018-09-27 14:01:23 +02:00
Klaus K Wilting
c7445f0a1e make OTA selectable 2018-09-24 16:36:11 +02:00
Klaus K Wilting
8985ee3603 code sanitization (volatiles check) 2018-09-23 22:12:10 +02:00
Klaus K Wilting
cf3ec23ef9 code sanitization (statemachine.cpp) 2018-09-22 21:26:11 +02:00
Klaus K Wilting
7a53b724cb ota.cpp: display dialog while updating 2018-09-22 19:39:31 +02:00
Klaus K Wilting
8e2ace3adf main.cpp: moved LED control to loop() 2018-09-22 13:43:12 +02:00
Klaus K Wilting
e553dc70a2 comments in main.cpp 2018-09-22 12:25:03 +02:00
Klaus K Wilting
ff759e1533 restructured wifi channel rotation 2018-09-22 12:20:24 +02:00
Klaus K Wilting
5b9327512b tasking + statemachine restructured 2018-09-21 18:23:34 +02:00
Klaus K Wilting
67832da09d Timer bugfix (issue #145 #148) 2018-09-21 12:25:52 +02:00
Klaus K Wilting
ebc3aac991 gps-code restructured, i2c gps now working 2018-09-20 19:36:32 +02:00
Klaus K Wilting
bd724557c1 v1.4.32 2018-09-17 17:23:02 +02:00
Klaus K Wilting
21621e54d5 code sanitization (vTaskDelay) 2018-09-16 17:39:18 +02:00
Klaus K Wilting
0667ee5744 OTA (experimental) 2018-09-15 21:10:11 +02:00
Klaus K Wilting
b12ed126b7 OTA (experimental) 2018-09-15 18:59:20 +02:00
Klaus K Wilting
0ee138b022 JFrog Bintray OTA (experimental, not working yet) 2018-08-12 23:42:39 +02:00
Klaus K Wilting
cc603d4ab8 testing 2018-08-12 15:42:58 +02:00
Klaus K Wilting
5099d25965 testing 2018-08-12 00:17:57 +02:00
Klaus K Wilting
fcd9357116 small code sanitizations 2018-08-11 19:12:04 +02:00
Klaus K Wilting
d704acc3e5 link check disabled; SendBuffer no more global (does not solve mem leak) 2018-08-10 16:33:47 +02:00
Klaus K Wilting
88ab6251f6 Send Queues (testing) 2018-08-04 15:27:58 +02:00
Klaus K Wilting
03ca7d4a37 Send Queues (testing) 2018-08-04 14:37:41 +02:00
Klaus K Wilting
7b35c6a539 Send Queues (experimental) 2018-08-03 23:50:04 +02:00
Klaus K Wilting
d7a1922b95 bugfix rcommand.cpp 2018-08-02 11:33:02 +02:00
Klaus K Wilting
b0fa9868b1 beacon monitor (experimental) 2018-07-31 00:00:24 +02:00
Klaus K Wilting
a030918f91 beacon monitor mode implemented (EXPERIMENTAL, untested yet) 2018-07-24 18:44:13 +02:00
Klaus K Wilting
195a8868d1 v1.3.94 2018-07-23 17:38:33 +02:00
Klaus K Wilting
fa11eba85c code sanitizations 2018-07-23 13:20:06 +02:00
Klaus K Wilting
337fc64602 code sanitizations 2018-07-23 08:25:23 +02:00
Klaus K Wilting
de15924447 v1.3.93 2018-07-22 20:27:58 +02:00
Klaus K Wilting
46bca9e5f2 bugfix payload encoding 2018-07-22 16:12:46 +02:00
Klaus K Wilting
6aed57474d bugfix RAM issue in battery monitor 2018-07-22 11:08:55 +02:00
Klaus K Wilting
4649c796b9 battery monitor 2018-07-22 08:41:41 +02:00
Klaus K Wilting
ffa6c2cb1b battery display disabled (RAM issue) 2018-07-22 00:01:43 +02:00
Klaus K Wilting
12be543010 battery voltage display 2018-07-21 23:40:42 +02:00
Klaus K Wilting
07dbe08833 battery voltage dísplay 2018-07-21 23:13:28 +02:00
Klaus K Wilting
eb37a79d46 button read and send 2018-07-21 18:25:03 +02:00
Klaus K Wilting
742050f01b code sanitizations 2018-07-19 22:33:37 +02:00
Klaus K Wilting
ed18316616 code sanitizations 2018-07-19 21:53:56 +02:00
Klaus K Wilting
7fdd4a72cd code sanitization 2018-07-17 11:53:43 +02:00
Klaus K Wilting
c1f51ee21e code sanitizations 2018-07-15 23:40:42 +02:00
Klaus K Wilting
32d41c7c3c main.cpp: comments edited 2018-07-15 20:05:05 +02:00
Klaus K Wilting
4b52478caa main.cpp: bugfix printKeys 2018-07-15 19:56:21 +02:00
Klaus K Wilting
d55899a83f bugfix payload encoder (txpower was missing) 2018-07-15 19:41:22 +02:00
Klaus K Wilting
beb7d9aab8 deep code refactoring 2018-07-15 14:28:05 +02:00
Klaus K Wilting
bb3f06bfc4 senddata restructured 2018-07-14 23:13:25 +02:00
Klaus K Wilting
b708524baa senddata restructured 2018-07-14 20:31:46 +02:00
Klaus K Wilting
b51b278c24 v1.3.9 2018-07-14 20:13:38 +02:00
Klaus K Wilting
786714d69a senddata restructured 2018-07-14 20:07:33 +02:00
Klaus K Wilting
f0cf08bd75 new senddata structure 2018-07-14 19:12:20 +02:00
Klaus K Wilting
5ea1de2ab5 raised gps task priority 2018-07-09 21:10:27 +02:00
Klaus K Wilting
ab861cf7a2 GPS task priority raised 2018-07-08 17:21:54 +02:00
Klaus K Wilting
5961394c72 version display 2018-07-08 12:59:49 +02:00
Klaus K Wilting
6e8eaf4a8b show free RAM at startup in verbose mode 2018-07-08 12:57:13 +02:00
Klaus K Wilting
a659168fc3 new payload converter TTNpacked 2018-06-17 22:41:32 +02:00
Klaus K Wilting
ce43bfd139 compile feature list enhanced 2018-06-17 11:40:52 +02:00
Klaus K Wilting
013222ed73 Cayenne LPP payload added (experimental) 2018-06-17 11:07:29 +02:00
Klaus K Wilting
b47c58436f new payload encoder (experimental) 2018-06-17 01:15:02 +02:00
Klaus K Wilting
93de42e09b payload encoder (experimental) 2018-06-17 00:25:40 +02:00
Klaus K Wilting
a6642ea8b6 CayenneLPP payload encoder added (experimental) 2018-06-16 23:14:49 +02:00
Klaus K Wilting
509b8b6cd3 finishing new payload converter structure 2018-06-16 19:54:48 +02:00
Klaus K Wilting
7c03c22765 payload converter enhanced 2018-06-16 19:50:36 +02:00
Klaus K Wilting
6250a0c308 clang-format: macsniff.cpp, macsniff.h, main.cpp, main.h 2018-06-12 19:55:31 +02:00
Klaus K Wilting
945ce1694d main.cpp: bugfix NEMA logging 2018-06-11 23:06:14 +02:00
Klaus K Wilting
858eac8d37 main.cpp: Loglevel for GPS NMEA changed from debug to info 2018-06-11 22:58:56 +02:00
Klaus K Wilting
a170e4c7ab main.cpp: syntax error corrected 2018-06-10 22:53:31 +02:00
Klaus K Wilting
e972375bcd Show GPS status on OLED display 2018-06-10 22:46:13 +02:00
Florian Ludwig
f7e10cb213 run clang-format on all sources 2018-06-10 21:03:16 +02:00
Klaus K Wilting
3f8820a8dc v1.3.8 RC 2018-06-10 16:04:13 +02:00
Klaus K Wilting
e30e133bf1 GPS integration now fully functional 2018-06-10 16:00:11 +02:00
Klaus K Wilting
aa1b4172fe GPS testing 2018-06-10 15:34:21 +02:00
Klaus K Wilting
485b4fb2f0 GPS support (experimental) 2018-06-09 22:21:23 +02:00
Klaus K Wilting
a43da889d1 testing GPS 2018-06-09 19:20:34 +02:00
Klaus K Wilting
77431dbdde GPS testing 2018-06-09 17:59:59 +02:00
Klaus K Wilting
b43834a962 testing gps 2018-06-09 16:52:51 +02:00
Klaus K Wilting
4f2139a715 testing GPS 2018-06-09 13:18:59 +02:00
Klaus K Wilting
f7ee3f85b0 GPS support added (experimental) 2018-06-08 22:41:37 +02:00
Klaus K Wilting
1e9f384df5 reduced all task loop delays from 10 to 1 2018-06-03 22:28:48 +02:00
Klaus K Wilting
7f0c3202a3 decreased delay in lora loop task 2018-06-03 22:20:19 +02:00
Klaus K Wilting
428db80073 v1.3.7 taylored to espressif32 v1.0.1 2018-06-02 18:28:01 +02:00
cyberman54
b9e3961609 code sanitizations 2018-05-27 17:42:18 +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
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
9b567fa844 low memory threshold 2018-05-15 10:41:04 +02:00
cyberman54
14b00196de experimental bug fix memory threshold 2018-05-11 19:07:48 +02:00
Klaus K Wilting
589058d7c5 repair wifichancycle 2018-04-28 14:09:27 +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
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
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
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
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
441204236e main.cpp: single core option removed 2018-04-15 14:32:26 +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
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
c88b37d92d minor fixes if BLE disabled 2018-04-07 12:02:13 +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
Klaus K Wilting
018c78ba29 minor cosmetics 2018-04-05 21:47:43 +02:00
Charles
01d617f61e Fixed display bug 2018-04-05 14:35:53 +02:00
Charles
17fab82cd7 Centralized display 2018-04-05 08:48:24 +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
eef19c581b Cosmetic OLED display 2018-04-04 14:22:15 +02:00
Charles
327aaf46f8 created centralized function salt_reset() 2018-04-04 12:39:40 +02:00
Verkehrsrot
03a8a29aac
Merge branch 'master' into master 2018-04-04 08:31:48 +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
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
Charles
f4ecc3924b Added 24AA02E64 deveui reading
Not working yet (I2C bug in ESP32 framework)
2018-04-03 12:39:11 +02:00
Klaus K Wilting
9c15a86b77 v1.2.86 small fixes 2018-04-02 23:27:38 +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
60b1d31f6a some fixes in macsniff.cpp 2018-04-02 14:34:16 +02:00
Klaus K Wilting
ec89b8c1d3 resolved merge conflicts 2018-04-02 09:38:45 +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
ef85178016 Refactored mac counter and BLE scan 2018-04-02 01:36:14 +02:00
Klaus K Wilting
39022e2340 salt logic modified 2018-04-01 20:56:18 +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
5d6d06005a modified salt logic 2018-04-01 16:52:07 +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
Klaus K Wilting
626269d62c sprintf mac counter fixed 2018-04-01 10:40:18 +02:00
Klaus K Wilting
1b22c6db7b bugfix in mac counter printf 2018-04-01 09:58:01 +02:00
Klaus K Wilting
ac8fa77eb0 srand init fixed 2018-03-31 23:22:43 +02:00
Klaus K Wilting
cf2a620e8a reduced mac and ble counter to 16bit 2018-03-31 23:12:27 +02:00
Klaus K Wilting
3448a08875 srand() init with temperature 2018-03-31 21:50:03 +02:00
Klaus K Wilting
d92cd89dae srand() init with chip temperature 2018-03-31 21:47:39 +02:00
Klaus K Wilting
6220a44e7e salt bugfix 2018-03-31 19:04:56 +02:00
Klaus K Wilting
17f550984f v1.2.61: salt value displayed on console 2018-03-31 18:37:49 +02:00
Klaus K Wilting
17197b46e4 v1.2.6 salting & hashing MACs implemented 2018-03-31 18:17:13 +02:00
Klaus K Wilting
df6cb25b38 created first version with hash 2018-03-31 13:54:40 +02:00
Klaus K Wilting
b0cd39cafa main.h: wifi settings enhanced 2018-03-30 22:10:28 +02:00
Klaus K Wilting
19ddbc4113 small code improvements 2018-03-30 21:37:51 +02:00
Klaus K Wilting
8e4abfa90f update LICENSE 2018-03-30 21:23:35 +02:00
Klaus K Wilting
ec5f781cfc revert change main.h -> main.conf 2018-03-30 20:57:00 +02:00
Klaus K Wilting
f6f63b6a57 changed main.h -> main.conf 2018-03-30 20:51:49 +02:00
Klaus K Wilting
875ad77967 wifisniffer.cpp: code improvements 2018-03-30 20:41:08 +02:00
Klaus K Wilting
156aba2709 development branch created 2018-03-27 12:45:09 +02:00
Charles
6e0ec1cb2a Added brownout remove and pullup on button 2018-03-27 11:05:06 +02:00
Klaus K Wilting
4ec57e067d main.cpp: bug fixed in button handling 2018-03-25 23:38:54 +02:00
Klaus K Wilting
d6164f3132 wifi antenna switch implented (LoPy/LoPy4 only) 2018-03-24 13:38:43 +01:00
Klaus K Wilting
62325e9d40 changes in antenna.cpp; license cleanup 2018-03-24 11:28:33 +01:00
Klaus K Wilting
09e2cba909 fixed error in DEVEUI parsing 2018-03-23 11:57:19 +01:00
Klaus K Wilting
701e8192f8 APPEUI handling changed (issue #5) 2018-03-21 22:50:49 +01:00
Klaus K Wilting
903bbac73d DEVEUI handling improved (issue #5) 2018-03-21 22:32:59 +01:00
Klaus K Wilting
ce5dadeffe code sanitization; button on TTGOv1 2018-03-21 21:53:42 +01:00
Klaus K Wilting
ac0ff020c6 code sanitizations 2018-03-21 18:03:14 +01:00
Klaus K Wilting
861115913a code sanitizations 2018-03-21 17:34:11 +01:00
Klaus K Wilting
cf7c908883 TTGOv1 support added (experimental) 2018-03-21 14:33:55 +01:00
Klaus K Wilting
daa0b2e58e set wifi_init_config NVS flash: disabled 2018-03-20 22:14:43 +01:00
Klaus K Wilting
548a1ce22d v1.2.1: TTGOv1 support (experimental) 2018-03-20 21:38:41 +01:00
Verkehrsrot
f238dc3f0f
Initial upload 2018-03-18 19:45:17 +01:00