Commit Graph

457 Commits

Author SHA1 Message Date
Verkehrsrot
cad13b72a1 timesync fixes 2019-03-24 00:15:04 +01:00
Verkehrsrot
54c6536349 interrupt timing issues (not fully solved yet) 2019-03-23 15:12:11 +01:00
Verkehrsrot
b91ef3ec7e define fixups 2019-03-23 11:04:22 +01:00
Verkehrsrot
ffaa13283b time accuracy improvement 2019-03-19 01:46:20 +01:00
Verkehrsrot
6efe299e71 timesync errorhandling improved 2019-03-19 00:02:35 +01:00
Verkehrsrot
af4cf1d09f timesync improvements 2019-03-16 21:01:43 +01:00
Verkehrsrot
d597f50d53 timesync fixes 2019-03-16 00:38:41 +01:00
Verkehrsrot
d3a7d35959
Merge branch 'development' into master 2019-03-15 19:58:02 +01:00
Verkehrsrot
2640c0ba59
main.cpp: bugfix lowpower gpio pin init 2019-03-15 19:54:20 +01:00
Verkehrsrot
8f79011366 fix display after merge of pr #313 2019-03-13 22:08:05 +01:00
Verkehrsrot
4f9651c401 merge ifdef refactoring (pr #313) 2019-03-13 21:47:05 +01:00
Verkehrsrot
bfa28d4139 BME280 integration (PR #309) 2019-03-13 21:15:28 +01:00
Verkehrsrot
3cc38abaea
Merge branch 'development' into bme280 2019-03-13 20:23:14 +01:00
Oliver Brandmueller
4a7525efcb replace #ifdef with #if to streamline feature setting 2019-03-11 18:09:01 +01:00
Verkehrsrot
1051d841b6 timeserver (experimental) 2019-03-09 00:53:11 +01:00
Gregor Wolf
91cc9dba0c Support for BME280 2019-03-08 18:13:51 +01:00
Gregor Wolf
dee16b6d52 Correct naming of the output 2019-03-07 22:17:28 +01:00
Verkehrsrot
9fcf374de0 v1.7.36 (issue #250) 2019-03-07 21:30:09 +01:00
Davide Nesi
16eb8faaa8
Add files via upload 2019-03-07 15:05:52 +01:00
Davide Nesi
3f45832864
Update main.cpp 2019-03-07 15:00:11 +01:00
Verkehrsrot
79d931bf50 DBtimesync (experimental) 2019-03-06 23:21:46 +01:00
Verkehrsrot
aeccb59f55 irq code sanitizations 2019-03-03 13:07:48 +01:00
Verkehrsrot
51917b79d3 timer irqs refactored 2019-03-03 12:57:00 +01:00
cyberman54
b516cbbbce changed hardware timers to soft timers with task notify 2019-03-03 00:30:57 +01:00
cyberman54
814d60e15d timekeeper fixes 2019-03-02 20:58:06 +01:00
cyberman54
182f850d23 timekeeper fixes 2019-03-02 20:01:27 +01:00
Klaus K Wilting
d2530ba91a timekeeper changes (experimental) 2019-03-02 13:32:02 +01:00
Klaus K Wilting
c489123e06 timekeeper fixes (experimental) 2019-02-27 22:40:58 +01:00
Klaus K Wilting
7e4a360bb7 timekeeper fixes (still experimental) 2019-02-27 00:52:27 +01:00
Klaus K Wilting
5fb4c7bec2 timekeeper use syncprovider by Time.h 2019-02-25 00:26:46 +01:00
Klaus K Wilting
c20ef02ce8 timekeeper fixes 2019-02-24 15:08:41 +01:00
Klaus K Wilting
171207af22 timekeeper code sanitizations 2019-02-24 13:47:18 +01:00
Klaus K Wilting
98797c0fe1 timemanager reworked 2019-02-24 01:44:55 +01:00
Klaus K Wilting
feda8dd938 timemanager fixes 2019-02-23 23:39:45 +01:00
Klaus K Wilting
8c93f44c84 timemanager fixes #2 2019-02-22 23:17:28 +01:00
Klaus K Wilting
0c1c95d868 timemanager fixes 2019-02-22 22:28:35 +01:00
Klaus K Wilting
3d26f737be timemanager added (v1.7.32) 2019-02-21 23:17:01 +01:00
Klaus K Wilting
05a3f3b2a8 v1.7.31 (clockcontroller deeply reworked) 2019-02-17 19:21:08 +01:00
Klaus K Wilting
c8978a0745 refactored clock controller code 2019-02-16 15:02:07 +01:00
Klaus K Wilting
91889a2af8 v1.7.24 2019-02-15 14:08:27 +01:00
Klaus K Wilting
1ac176075a clock time handling modifications (still experimental) 2019-02-14 23:01:20 +01:00
Klaus K Wilting
1393e47052 GPS Timepulse handling by semaphore 2019-02-12 23:57:36 +01:00
Klaus K Wilting
bfc8f13cc7 Revert "Revert "DCF77 + IF482 code sanitizations""
This reverts commit 5fcfdd91e5.
2019-02-08 22:19:44 +01:00
Klaus K Wilting
5fcfdd91e5 Revert "DCF77 + IF482 code sanitizations"
This reverts commit 160b282c3a.
2019-02-08 21:48:56 +01:00
Klaus K Wilting
160b282c3a DCF77 + IF482 code sanitizations 2019-02-08 10:38:53 +01:00
Klaus K Wilting
f5e5bf798a DCF77 improvements 2019-02-07 07:32:55 +01:00
Klaus K Wilting
8d01b651bb IF482 bugfix 2019-02-04 21:42:44 +01:00
Klaus K Wilting
17cd82da68 v1.7..152: DCF77 fixes (experimental) 2019-02-04 20:02:30 +01:00
Klaus K Wilting
39e2df7a05 added DCF77 function (experimental, not fully working yet) 2019-02-03 21:19:08 +01:00
Klaus K Wilting
cd08335634 free up hw timer #1 (for future DCF77 use) 2019-02-02 21:35:40 +01:00
Klaus K Wilting
e7a416cd7a bugfixes i2c bus access 2019-02-02 10:35:20 +01:00
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