Commit Graph

406 Commits

Author SHA1 Message Date
Klaus K Wilting
ab5cd0b0a2 bugfixing in time handling 2019-02-02 09:15:31 +01:00
Klaus K Wilting
8c0ad6f849 another bugfixes in realtime handling 2019-01-29 22:54:16 +01:00
Klaus K Wilting
110e969ba8 bugfixes in realtime handling 2019-01-29 19:52:54 +01:00
Klaus K Wilting
8459eec8ef IF482 depends on RTC_INT not HAS_RTC 2019-01-29 09:04:31 +01:00
Verkehrsrot
cbdf181a10
Merge pull request #258 from cyberman54/master
sync dev with master
2019-01-29 00:02:21 +01:00
Klaus K Wilting
bdcace14b9 sanitized time handling code 2019-01-28 23:59:52 +01:00
Klaus K Wilting
954687fe61 fixed timezone compile error (issue #256) 2019-01-28 11:46:18 +01:00
Klaus K Wilting
4341158fa3 added timezone support 2019-01-28 00:38:31 +01:00
Klaus K Wilting
e6aba4fe63 IF482 minor fixes 2019-01-27 21:02:37 +01:00
Klaus K Wilting
7c68f7632a v1.7.14 (new feature IF482 time telegram complete) 2019-01-27 18:19:25 +01:00
Klaus K Wilting
335432e692 IF482.cpp fully functional 2019-01-26 18:49:53 +01:00
Klaus K Wilting
99f1a2015d main.cpp: add if482 init 2019-01-26 13:44:29 +01:00
Klaus K Wilting
5e407f99f8 low power switch init added (ttgo t-fox) 2019-01-21 21:36:54 +01:00
Klaus K Wilting
79303d6b7a rtc support (experimental) 2019-01-20 22:38:53 +01:00
Klaus K Wilting
bde7fb2bcf added RTC timesync during startup 2019-01-20 13:17:44 +01:00
Klaus K Wilting
a3414c5622 Feature RTC support added (experimental) 2019-01-19 17:53:21 +01:00
Klaus K Wilting
25a97fbbcc BME680 fixes 2019-01-06 19:41:42 +01:00
Klaus K Wilting
76600a86b1 first fully functional integration (experimental) 2018-12-27 17:09:40 +01:00
Klaus K Wilting
7f066f338f changed init order of BME loop 2018-12-26 13:00:32 +01:00
Klaus K Wilting
b328dd61a0 BME680 optimizations 2018-12-22 21:40:43 +01:00
Klaus K Wilting
2f51a65b8f bugfix lopy.h + lopy4.h 2018-12-22 18:01:45 +01:00
Klaus K Wilting
3140ab9214 v1.7.01 (PSRAM support, timesync off) 2018-12-22 14:37:47 +01:00
Klaus K Wilting
9574a194fd v1.6.996 2018-12-21 00:35:21 +01:00
Klaus K Wilting
48cbcd40cd delay function sanitized 2018-12-19 12:32:25 +01:00
Klaus K Wilting
ad33f8fc76 deinit Bluetooth while device starts if not compiled 2018-12-16 16:50:37 +01:00
Klaus K Wilting
e733dba9f4 v1.6.991 2018-12-09 13:48:03 +01:00
Klaus K Wilting
664d58bb4f Bluetooth init ode changes 2018-12-02 18:22:57 +01:00
Klaus K Wilting
47579414ac code sanitization 2018-12-02 14:29:32 +01:00
Klaus K Wilting
decb8b7181 change default to bluetooth disabled 2018-12-02 14:08:50 +01:00
Klaus K Wilting
b85dc829a5 Bosch BSEC integration completed 2018-11-25 16:05:30 +01:00
Klaus K Wilting
12ad60a0a8 sensor init 2018-11-20 16:48:35 +01:00
Klaus K Wilting
2b96f6e0bf BME680 support (experimental) 2018-11-17 18:30:19 +01:00
Klaus K Wilting
4ae4633a15 BME680 support (experimental); LoRa Time sync (experimental) 2018-11-14 22:11:23 +01:00
Klaus K Wilting
8e3805a63b SPI slave integration (experimental) 2018-11-03 20:44:54 +01:00
Klaus K Wilting
0cc98a2e24 SPI slave integration 2018-11-03 20:29:02 +01:00
Christian Ambach
a3750ef01b add SPI slave support
Set up SPI slave transactions for entries in the SPI send queue.
Add a header to each SPI datagram that includes a CRC16,
the type and the size of the message that follows.

Does not act on received bytes (yet).

Signed-off-by: Christian Ambach <christian.ambach@deutschebahn.com>
2018-11-02 17:10:59 +01:00
Klaus K Wilting
b4cbf8bdd9 LED control improved 2018-10-24 18:07:41 +02:00
Klaus K Wilting
efaba3775b main.cpp: added AU921 subband select 2018-10-23 08:56:34 +02:00
Klaus K Wilting
2be4721c68 added worlwide band support; modified join procedure 2018-10-22 14:06:47 +02:00
Klaus K Wilting
f670bc1f63 project migrated to arduino LMIC 1.6 MCCI 2018-10-21 19:00:20 +02:00
Klaus K Wilting
32a42dda2d fixed issue #160 2018-10-14 15:17:50 +02:00
Klaus K Wilting
a7c1d12eb2 Code Sanitization 2018-10-14 13:26:23 +02:00
Klaus K Wilting
ae92bf377d code sanitization 2018-10-04 22:59:02 +02:00
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