Commit Graph

2062 Commits

Author SHA1 Message Date
cyberman54
dd41b6e9da timesync cleanups 2022-03-05 14:07:48 +01:00
cyberman54
c9c4f2e714 remove i2c mutex (now done in arduino-esp v2) 2022-03-05 13:30:34 +01:00
Verkehrsrot
cbca3ebb90
Merge branch 'master' into development 2022-03-04 18:20:02 +01:00
cyberman54
a08a2a92a4 timekeeper.cpp: fix dcf77 #ifdef 2022-03-02 10:52:13 +01:00
cyberman54
7d70b0d024 timekeeper.cpp: fix compiler warnings 2022-03-02 09:14:57 +01:00
cyberman54
22daa95b53 fix issue #858 2022-03-02 08:38:38 +01:00
cyberman54
f2d01604f3 sdcard.cpp: fixes for SPI mode 2022-03-01 19:15:09 +01:00
cyberman54
33318fb7ad do bitbanging while scanning i2c bus 2022-03-01 19:13:18 +01:00
cyberman54
7c056bdea9 improve sd-card MMC handling 2022-02-28 22:39:25 +01:00
cyberman54
59d468bb1e senddata.cpp: fix logging tag 2022-02-28 22:35:56 +01:00
cyberman54
5f6e8034c1 lorawan.cpp: fix logging TAG 2022-02-28 22:35:35 +01:00
cyberman54
1bcec45f92 fix set_sleepcycle 2022-02-28 12:50:57 +01:00
cyberman54
accada2293 add note in paxcounter_orig.conf 2022-02-27 18:04:31 +01:00
cyberman54
2ca6bbde33 fix issue #859 2022-02-27 18:02:40 +01:00
cyberman54
d35a5c6708 fix timestamp in SD logging 2022-02-26 20:04:09 +01:00
cyberman54
42aa481c70 rework SD card logging 2022-02-26 17:30:23 +01:00
cyberman54
2a6a7d001b cleanup logging TAG 2022-02-26 17:27:01 +01:00
cyberman54
375764f87c cleanup IRAM_ATTR 2022-02-26 17:26:14 +01:00
cyberman54
d6d2cdea92 cleanup #ifdefs in .h files 2022-02-22 13:11:46 +01:00
cyberman54
7f6cea2e02 preparations for upgrade to arduino-espressif v2.x 2022-02-21 10:45:27 +01:00
cyberman54
b63f466905 fix LORA preprocessor directives 2022-02-21 10:44:13 +01:00
Verkehrsrot
19ade61e66
Merge pull request #855 from cyberman54/development
v3.2.0
2022-02-16 21:20:12 +01:00
cyberman54
e4d6aea362 sds011 final fixes for new lib 2022-02-16 17:40:40 +01:00
cyberman54
f8d3780b2c sds011 more cleanups 2022-02-16 00:47:17 +01:00
cyberman54
9dc3f03b62 sds011 cleanups after moving to new lib 2022-02-16 00:07:41 +01:00
cyberman54
641b0ad7a2 bugfix curve plotter zero drops 2022-02-15 21:58:20 +01:00
cyberman54
a1461be403 make libpax count_payload_t varables local 2022-02-14 21:34:19 +01:00
cyberman54
736d51a142 gpsread.cpp: fix removal TIM_TP5 2022-02-14 20:49:23 +01:00
cyberman54
eeed8b7bfe sds011: change device driver library (initial) 2022-02-14 17:32:46 +01:00
cyberman54
45f531ccfb ttgov21new.h: correction display 2022-02-14 17:31:14 +01:00
cyberman54
4d48b14b88 increase lmic task prio 2022-02-13 18:41:43 +01:00
cyberman54
8f98a9bdde gps fixes (TIM-TP5 removed again) 2022-02-13 18:41:22 +01:00
cyberman54
88efd5dd4d senddata.cpp sanitized 2022-02-13 17:43:05 +01:00
cyberman54
8e4fe93069 sanitze libpax integration (volatile vars removed) 2022-02-13 16:00:01 +01:00
cyberman54
2dd9a4701b rework ublox gps init 2022-02-13 15:41:42 +01:00
cyberman54
2d786967ea gpsread.cpp: fix centiseconds if no PPS present 2022-02-12 18:15:19 +01:00
cyberman54
bc4f2fbb95 move led loop from core0 to core1 2022-02-12 16:27:21 +01:00
cyberman54
a71a7e08a4 getting time from GPS reworked 2022-02-12 16:26:41 +01:00
cyberman54
817f7793c4 fix cyclic time sync when no timesource seen yet 2022-02-09 12:36:45 +01:00
cyberman54
01011013fc adjust task prios & delays & time cal cycle 2022-02-09 12:24:11 +01:00
cyberman54
69da95cd66 sanitize ISR IRAM_ATTR and global vars 2022-02-07 15:38:15 +01:00
cyberman54
c41d44bd7d gps ubx fixes 2022-02-07 15:35:25 +01:00
cyberman54
babfe4b245 UBX commands bugfix baudrate 2022-02-06 20:23:34 +01:00
cyberman54
ef15fa2d2a cyclic.cpp: task errorhandling added 2022-02-06 20:23:08 +01:00
cyberman54
02c29afca6 remove incompleted I2C gps support 2022-02-06 18:33:17 +01:00
cyberman54
2961948759 improve ublox gps chip init 2022-02-06 18:29:30 +01:00
cyberman54
a4133d6e0a correction in paxcounter_orig.conf 2022-01-31 09:24:47 +01:00
cyberman54
746cb0ede2 paxcounter_orig.conf set back to defaults 2022-01-30 23:32:09 +01:00
cyberman54
353e55f0c2 remove esp32-micro-sdcard library 2022-01-30 23:27:28 +01:00
cyberman54
d6385f1f70 further sdcard fixes 2022-01-30 22:12:26 +01:00
cyberman54
d45c96e544 sdcard bugfixes 2022-01-30 21:53:11 +01:00
Verkehrsrot
09d29c1d1f
Update paxcounter_orig.conf 2022-01-30 15:32:14 +01:00
cyberman54
d2ee10f40a update paxcounter_orig.conf 2022-01-30 15:29:52 +01:00
cyberman54
bce80542a8 change CD logging to single file 2022-01-30 15:25:46 +01:00
cyberman54
dffb5dee75 move payloadmask define to paxcounter.conf 2022-01-30 15:25:16 +01:00
Verkehrsrot
4c04f51151
Merge branch 'joseph' into development 2022-01-29 13:50:38 +01:00
cyberman54
51c6a41180 flush to sd card before sleep 2022-01-29 13:47:59 +01:00
cyberman54
db60afe05d remove unused ENS/CWA code 2022-01-28 22:17:17 +01:00
cyberman54
efca209795 Merge branch 'development' of https://github.com/cyberman54/ESP32-Paxcounter into development 2022-01-28 21:50:58 +01:00
cyberman54
150eb72069 update comments in board hal files 2022-01-28 21:50:48 +01:00
cyberman54
aea6dc88c6 for user joseph 2022-01-28 21:43:59 +01:00
cyberman54
c4ec21d055 sdcard logging: add voltage, remove cwa 2022-01-28 21:41:55 +01:00
cyberman54
854480a051 sdcard: timestamp in iso8601 format 2022-01-28 20:57:31 +01:00
cyberman54
76c465ccb7 change order of loraykey display for TTNv3 console 2022-01-28 19:51:59 +01:00
cyberman54
a57730940b increase GPS loop stack size to avoid TG1WDT 2022-01-28 10:39:57 +01:00
cyberman54
08a9b8a557 Revert "add some task watchdog handling"
This reverts commit 13eaae74ac.
2022-01-27 21:40:25 +01:00
cyberman54
13eaae74ac add some task watchdog handling 2022-01-27 18:04:37 +01:00
cyberman54
ad027f7e80 DRAM_ATTR for global variable used in ISR 2022-01-27 18:04:06 +01:00
cyberman54
66c321d0e9 led.cpp: slow down spin loop 2022-01-26 22:45:34 +01:00
cyberman54
a0ea78844a gpsread.cpp: slow down spin loop 2022-01-26 22:45:23 +01:00
cyberman54
1ffdbdac3b dcf77.cpp: simplyfy parity calculation 2022-01-26 22:44:29 +01:00
cyberman54
dfa25cd2b4 increase delay in gps read spin task 2022-01-26 16:58:05 +01:00
cyberman54
dc427314a1 rework task priorities 2022-01-26 16:32:54 +01:00
cyberman54
af01537a95 improve RTC accuracy 2022-01-26 16:21:44 +01:00
cyberman54
43e6ec0cb6 if482.cpp: fixes after removal of eztime 2022-01-26 14:57:35 +01:00
cyberman54
d21d478f8b fix batt LEDlevel blinking 2022-01-24 11:35:42 +01:00
cyberman54
529059edf4 integrate esp32 sntp 2022-01-23 21:12:28 +01:00
cyberman54
b3c683d1ac timekeeper.cpp: fix millis 2022-01-22 14:56:16 +01:00
cyberman54
2ef25b3698 reset.cpp: remove unused RTC_time 2022-01-22 14:31:41 +01:00
cyberman54
3e4da9f1e9 fix missing uint_8 casting 2022-01-22 13:56:40 +01:00
cyberman54
fb82d05cae gpsread.cpp: add yield for thread safety 2022-01-20 17:38:31 +01:00
cyberman54
7d9d6d81c4 sdcard.cpp: adapt to eztime removal 2022-01-20 17:37:34 +01:00
cyberman54
f8e8aec6e0 timekeeper.cpp: add mkgmtime() 2022-01-20 17:37:12 +01:00
cyberman54
5ec8b68fff Revert "bugfix curve plotter display"
This reverts commit 3e045bfcf4.
2022-01-20 11:59:13 +01:00
cyberman54
3e045bfcf4 bugfix curve plotter display 2022-01-20 11:43:41 +01:00
cyberman54
b2c89b3e1a timekeeper.cpp: fix #if #endif issue 2022-01-19 20:29:31 +01:00
cyberman54
76317efc00 timekeeper.cpp: fix edge case ClockMinute = 0 2022-01-19 14:27:16 +01:00
cyberman54
7cc37ac8b9 bugfix dcf77 pulse pause 2022-01-19 14:25:17 +01:00
cyberman54
cdad3c1891 increase task stack size for clock_loop() 2022-01-18 16:07:24 +01:00
cyberman54
7392fec66c set compile date back one day 2022-01-18 01:01:05 +01:00
cyberman54
ee46833dfa rework dcf77 (part 2) 2022-01-18 01:00:40 +01:00
cyberman54
a7f957dedd rework timekeeper 2022-01-16 19:43:29 +01:00
cyberman54
1ea263daf6 delete mobaline 2022-01-16 19:43:19 +01:00
cyberman54
60f191f436 rework if482 2022-01-16 19:43:06 +01:00
cyberman54
83faf69c9f rework dcf77 2022-01-16 19:42:54 +01:00
cyberman54
df8d218c43 removal of all time libs (inital commit) 2022-01-13 23:30:18 +01:00
cyberman54
995cde6a67 fix restore time after deepsleep 2022-01-08 19:10:34 +01:00
cyberman54
adb7f93944 irqhandler.cpp polished 2022-01-08 18:01:28 +01:00
cyberman54
f8777f99f9 configmanager: small fixes / rework 2021-12-27 21:03:41 +01:00
cyberman54
d8210d3ec3 bugfix progversion handling in configmanager 2021-12-24 15:15:28 +01:00
cyberman54
a7bc2be9b7 remove esp_eth_get_mac (for IDF 4.x) 2021-12-22 16:49:03 +01:00
cyberman54
246fcbbbb3 update libs and bump to v3.0.3 2021-11-12 17:00:21 +01:00
Mike Bremford
231dd4b1b7
Update ttgov1.h
ttgo LoRa32 v1 does not have an SD card, and enabling it prevents the LoRa radio from working
2021-10-31 13:47:43 +00:00
cyberman54
ff8ee91983 paxcounter_orig.conf edit BLEADVERTISING default 2021-10-14 22:58:44 +02:00
cyberman54
48e3339167 implement send battery status via lmic 2021-10-11 09:59:41 +02:00
cyberman54
382620a66c optime sleep mode 2021-10-02 14:05:05 +02:00
cyberman54
a4e3b1980e optimize sleep mode 2021-10-02 13:57:38 +02:00
cyberman54
425cb37669 decrease lmic debug level 2021-10-02 13:20:03 +02:00
cyberman54
779bbdc436 decrease loglevel of timekeeper 2021-10-02 13:19:41 +02:00
cyberman54
9d7d0da737 fix issue #828 2021-08-27 19:45:37 +02:00
cyberman54
9e1c9c7f59 improve lora time sync accuracy 2021-07-23 19:10:41 +02:00
cyberman54
903ffe2759 fix rssi limit default value 2021-07-20 19:14:51 +02:00
cyberman54
b398c7a981 fix #817 make rssi limit usable with libpax 2021-07-20 13:56:11 +02:00
cyberman54
5b28fe03ed fix for negative time diffs 2021-07-20 13:24:16 +02:00
Caspar Armster
a83ef4ba72 Fixed byte order in the esp32-paxcounter.yaml to make it validate and changed decoder file name to esp32-paxcounter-packed.js because no uppercase is allowed 2021-07-06 11:52:51 +02:00
cyberman54
335d646fe7 bugfix reagard leap seconds in network time sync 2021-07-06 10:53:48 +02:00
cyberman54
f876edfe36 bump to v3.0.1 2021-07-05 18:09:56 +02:00
Caspar Armster
a43c2ebd2b [FIX] used real world data for example of gps data 2021-06-15 19:10:19 +02:00
Caspar Armster
7d3004761a
Update readme.md 2021-06-15 14:16:18 +02:00
Caspar Armster
c696857f75 [FIX] some design changes in the readme.md 2021-06-15 13:41:55 +02:00
Caspar Armster
9e7b4f27cf [FEAT] initial commit for the additions to the lorawan-devices repo 2021-06-15 13:34:59 +02:00
cyberman54
67c0313e8f v3.0.0 2021-05-29 17:01:08 +02:00
cyberman54
3e00fecb28 migration to ezTime lib 2021-05-09 00:02:41 +02:00
cyberman54
a17e4a6894 bugfix set_countmode 2021-05-07 19:50:22 +02:00
cyberman54
49aba50df1 remove beacon monitormode 2021-05-07 19:41:36 +02:00
cyberman54
ccf9e80c01 add COMPILETIME macro 2021-05-03 19:37:39 +02:00
cyberman54
35f27ca415 rcommand get_time patch timestamp 2021-05-03 19:36:22 +02:00
cyberman54
71aa55863b libpax integration fixes (sendtimer, rcommands) 2021-04-13 16:37:17 +02:00
cyberman54
44e5daaf02 bugfix libpax countermode 2021-04-13 01:57:02 +02:00
cyberman54
13c8a5f0be reset.cpp: bugfix coldstart (2) 2021-04-12 23:45:26 +02:00
cyberman54
ea7fa5d31f reset.cpp: bugfix reset vars in coldstart 2021-04-12 23:44:07 +02:00
cyberman54
fc1ac508ef mqttclient.cpp: Set Ethernet hostname 2021-04-12 17:51:29 +02:00
Verkehrsrot
e6782185ca
Merge pull request #792 from cyberman54/master
lorawan.cpp: removed buggy mac_decode()
2021-04-12 13:24:45 +02:00
cyberman54
9e586ecb2c lorawan.cpp: removed buggy mac_decode() 2021-04-12 13:24:12 +02:00
cyberman54
c62ba70567 fix timesync timesource debug output 2021-04-08 18:19:39 +02:00
cyberman54
0b85559358 reset.cpp: skip libpax_counter_stop() before sleep 2021-04-08 13:58:38 +02:00
cyberman54
e299444a89 change timesource symbol S to blank 2021-04-07 21:29:53 +02:00
cyberman54
3268824eb5 GPS time sync only if GPS time is valid 2021-04-07 21:21:06 +02:00
cyberman54
c2336397ce fix issue #786 2021-04-07 21:13:16 +02:00
cyberman54
c00612ad76 2nd fix issue #781 2021-04-07 20:20:31 +02:00
cyberman54
5c5752805b remove default argument for saveConfig() 2021-04-07 15:15:41 +02:00
cyberman54
f3a70c16c8 timekeeper.cpp: update comments time source 2021-04-06 23:37:51 +02:00
cyberman54
8a8128ed85 preserve time-of-day during deep sleep 2021-04-06 22:45:34 +02:00
cyberman54
4d7d92900e added Going-to-sleep display message 2021-04-06 21:35:25 +02:00
cyberman54
d098d6ada3 fix issue #781 2021-04-06 14:30:57 +02:00
cyberman54
0b271f95b3 libpax integration 6 (trigger sendcycle) 2021-04-01 12:17:46 +02:00
cyberman54
9335161676 code sanitization (decentralized several vars, 2) 2021-03-31 21:43:51 +02:00
cyberman54
e439d932b9 code sanitization (decentralized several vars) 2021-03-31 19:02:01 +02:00
cyberman54
03796c39af reset.cpp: bugfix compiler error sds011_sleep() 2021-03-31 18:59:00 +02:00
Verkehrsrot
5c98be2b96
Merge pull request #779 from cyberman54/master
sync dev to master
2021-03-31 16:25:25 +02:00