Commit Graph

1563 Commits

Author SHA1 Message Date
Verkehrsrot
e01c62e877 irqhandler.cpp comment sanitization 2019-10-24 19:15:23 +02:00
Verkehrsrot
ba6fa5ee98 compile error user_request_network_time_callback 2019-10-24 19:14:56 +02:00
Julian Flake
ef472af2de Fix Beacons' MAC addresses conversion for comparison: shift by 16 bits instead of 8 bits (affecting #342?) 2019-10-22 16:41:14 +02:00
Verkehrsrot
3cbda10f40 LMIC key storage moved to event handler 2019-10-22 08:18:22 +02:00
Verkehrsrot
b786323036 fix join DR2 for TTN; RTC save FCnt in event 2019-10-22 07:16:04 +02:00
Verkehrsrot
76d5957313 v1.9.71 2019-10-20 21:13:30 +02:00
Verkehrsrot
b5e0949408 fix irqhandler without lora 2019-10-20 21:11:59 +02:00
Verkehrsrot
a68381f7e6 update comment main.cpp 2019-10-20 20:49:09 +02:00
Verkehrsrot
221fde0026 deep sleep fixes 2019-10-20 20:47:03 +02:00
Verkehrsrot
bc034b1a67 added new reset logic; deep sleep fixes 2019-10-20 20:05:13 +02:00
Verkehrsrot
f3b3838e09 deep sleep, clock error rate, static callbacks 2019-10-19 21:14:04 +02:00
Verkehrsrot
d413c5d39f rollback to platform espressif 1.8.0 2019-10-18 19:06:30 +02:00
Verkehrsrot
f75cdd4f5c deep sleep (experimental) 2019-10-16 21:14:34 +02:00
Verkehrsrot
0bc368c228 paxcounter.conf default settings 2019-10-13 17:49:22 +02:00
Verkehrsrot
88f40e5d35 code sanitizations (compiler warnings) 2019-10-13 17:22:30 +02:00
Verkehrsrot
e94c73295b bugfix display vertical scrolling 2019-10-13 17:21:50 +02:00
Verkehrsrot
f35114f3a0 lorawan.cpp use explicit pinmap in os_init 2019-10-13 17:01:42 +02:00
Verkehrsrot
d72e2cdf52 ttgobeam.h disable BME 2019-10-13 16:59:56 +02:00
Verkehrsrot
a4299e2e18 move i2c scanm after display init 2019-10-13 16:59:38 +02:00
Verkehrsrot
a7230af6d7 i2c scan with low speed 2019-10-13 16:59:03 +02:00
Verkehrsrot
970807d5c1 add display RST line handling 2019-10-13 16:58:48 +02:00
Verkehrsrot
5be1bb7fd3 ttgov21old.h flip display 2019-10-13 15:59:32 +02:00
Verkehrsrot
401697b39a display mask finetuning 2019-10-12 16:15:57 +02:00
Verkehrsrot
a4805660cf power.cpp bugfixes AXP192 i2c r/w 2019-10-12 16:00:22 +02:00
Verkehrsrot
d80a41a9bf event display fine tuning 2019-10-12 14:25:04 +02:00
Verkehrsrot
7e5d053ec5 lmic event msg display optimizations 2019-10-12 14:07:55 +02:00
Verkehrsrot
b2300d0c23 power.cpp sanitized 2019-10-11 12:24:44 +02:00
Verkehrsrot
a54033296a lmic event handler elaborated 2019-10-11 12:24:27 +02:00
Verkehrsrot
e844879954 resolve merge conflict 2019-10-10 23:14:28 +02:00
Verkehrsrot
7f7587f3a0
Merge branch 'master' into development 2019-10-10 23:11:23 +02:00
Verkehrsrot
025411267b lora event handler refactored 2019-10-10 22:46:49 +02:00
Marius Gripp
f417e336a2 issue 464 fix: time set in UTC 2019-10-10 17:41:57 +02:00
Marius Gripp
fc7a8b361b development reverted to cyberman development 2019-10-10 17:34:01 +02:00
Marius Gripp
ed46e10a9b Merge branch 'development' of https://github.com/cyberman54/ESP32-Paxcounter into development 2019-10-10 17:07:36 +02:00
Verkehrsrot
426ab6b260 lorawan.cpp code sanitizations 2019-10-10 14:55:51 +02:00
Verkehrsrot
36c178054a lmic_config.h use interrupts 2019-10-10 11:06:24 +02:00
Verkehrsrot
a52b4aa858 lorawan network setup tuned (RX2==SF9 for TTN) 2019-10-10 10:29:10 +02:00
Verkehrsrot
88e73e2eb8 Lora network setup + event handler elaborated 2019-10-09 20:07:16 +02:00
Marius Gripp
d8289a002d Merge branch 'development' of https://github.com/cyberman54/ESP32-Paxcounter into development 2019-10-09 15:57:59 +02:00
Verkehrsrot
d57c48a97f bugfix rcommand set_loradr(): keep TX Power 2019-10-06 19:05:38 +02:00
Verkehrsrot
c58971a2c6 LMIC timings changed to avoid JOIN WAIT issue 2019-10-06 18:48:46 +02:00
Verkehrsrot
3e9fe65b2c display blanker added 2019-10-06 14:25:29 +02:00
Verkehrsrot
921d377cd2 lorawan.cpp: TTN SF9 RX2 patch 2019-10-06 13:17:35 +02:00
Verkehrsrot
f3ebb835af curve plotter fixes 2019-10-06 13:14:23 +02:00
Verkehrsrot
bdd401c42b lorawan.cpp: TTN SF9 RX2 patch 2019-10-06 13:13:57 +02:00
Verkehrsrot
7762170fa1 fix JOIN WAIT problem with TTN 2019-10-05 23:08:13 +02:00
Verkehrsrot
01fb7c53b4 randomize time sync seq nr 2019-10-05 15:03:15 +02:00
Verkehrsrot
3d0c6f3249 Timeserver.json missing SeqNo fixed 2019-10-05 13:46:36 +02:00
Verkehrsrot
06fb69d304 timesync.cpp cleanups 2019-10-05 13:15:45 +02:00
Verkehrsrot
36d9b3dedb curve plotter fixes 2019-10-05 13:12:58 +02:00
Verkehrsrot
c37db3d4d3 Timeserver.json: bugfix missing port 0xff message 2019-10-05 13:11:59 +02:00
Verkehrsrot
bfa43726ee
Merge pull request #462 from GreyRook/add-timezone
Add timezone cleanup
2019-10-04 18:20:18 +02:00
Verkehrsrot
1c24bed38f bugfix no curve plot while display is off 2019-10-04 18:17:46 +02:00
Marius Gripp
c46229dd0e node-red code description updated 2019-10-04 17:49:37 +02:00
Marius Gripp
3ab2d17937 increase version number of node-red server 2019-10-04 17:44:19 +02:00
Marius Gripp
fe71e8e710 seqNo text node fix 2019-10-04 17:41:28 +02:00
Verkehrsrot
a518c1a5e5
Merge pull request #460 from cyberman54/ss_oled
New OLED driver
2019-10-04 16:10:03 +02:00
Verkehrsrot
c56c973534 curve plotter (experimental) 2019-10-04 15:47:33 +02:00
Marius Gripp
5fcb33d03d node red server by cyberman with seq no in payload, not in port, and timezone (diff minimized) 2019-10-04 15:32:22 +02:00
Marius Gripp
ba732012b9 move timesync seq_no into message body from port 2019-10-04 15:31:31 +02:00
Verkehrsrot
08c5a0ffe9 uploadspeed ebox.h & eboxtube.h 2019-10-04 14:47:58 +02:00
Marius Gripp
f86bfaefb6 extract timezone from time sync answer and add to UTC timestamp 2019-10-04 13:06:59 +02:00
Verkehrsrot
0440e536dd scalefactor for curve plotter 2019-10-01 18:06:49 +02:00
Marius Gripp
014e6cd4a5 Merge branch 'development' of https://github.com/cyberman54/ESP32-Paxcounter into development 2019-10-01 16:29:02 +02:00
Verkehrsrot
be01760c32 pax curve plotter 2019-10-01 13:35:05 +02:00
Verkehrsrot
66af2b8c54 pax curve plotter (experimental) 2019-10-01 13:02:30 +02:00
Verkehrsrot
e38a91162b no startup screen while rebooting to OTA 2019-09-30 19:45:31 +02:00
Verkehrsrot
449d681c7b LEDmatrixdisplay.cpp/.h rename scrollfunction 2019-09-30 19:44:49 +02:00
Verkehrsrot
d58e8a11db paxcounter.conf: add DISPLAYCONTRAST 2019-09-30 15:05:30 +02:00
Verkehrsrot
8cbac9c79f speedup display (use pagemode & i2c 400khz) 2019-09-30 12:36:13 +02:00
Verkehrsrot
c93b0867a9 AXP192 low level I2C mutexing 2019-09-30 12:35:03 +02:00
Verkehrsrot
58ed680a92 ota.cpp: WIFI response timeout added 2019-09-30 11:45:35 +02:00
Verkehrsrot
55874f8b43 startup screen 2019-09-29 23:24:13 +02:00
Verkehrsrot
899c8315b4 DEVEUI QR code display 2019-09-29 23:16:36 +02:00
Verkehrsrot
8b42cd3e3d QR display (experimental) 2019-09-29 17:38:16 +02:00
Verkehrsrot
c6c455b922 QR display of DEVEUI (experimental) 2019-09-29 16:46:48 +02:00
Verkehrsrot
8cb5bbab54 removed productname 2019-09-27 17:57:19 +02:00
Verkehrsrot
c30ee996be new display mask 2019-09-27 17:37:16 +02:00
Verkehrsrot
4a686bc267 new oled driver (experimental) 2019-09-27 13:03:55 +02:00
Verkehrsrot
0f9e2dfd63 new oled driver (experimental) 2019-09-27 12:47:00 +02:00
Verkehrsrot
cb67e368ba add countermode to paxcounter.conf 2019-09-27 12:41:14 +02:00
Verkehrsrot
2622c0d0de sanitize compiler warning power.cpp 2019-09-25 15:00:52 +02:00
Verkehrsrot
7daa36366b v1.8.34 (power on/off features for T-BEAM V10) 2019-09-23 15:45:47 +02:00
Verkehrsrot
6abfc26f2e LORA SF display fine tuned 2019-09-23 15:40:34 +02:00
Verkehrsrot
9a9deb9c1c mute gpsread in verbose debug mode 2019-09-23 15:39:58 +02:00
Verkehrsrot
9408ed99fe PMU: show USB power 2019-09-21 08:23:39 +02:00
Verkehrsrot
424329afb2
Update paxcounter.conf 2019-09-20 21:45:16 +02:00
Verkehrsrot
464809a54e bugfix cfg.txpower 2019-09-20 21:42:59 +02:00
Verkehrsrot
b587a5604e update README.md 2019-09-20 21:30:23 +02:00
Verkehrsrot
8fba63a53f display fine tuning 2019-09-20 20:00:31 +02:00
Verkehrsrot
af9d2150bf display line6 code sanitized 2019-09-20 19:45:37 +02:00
Verkehrsrot
f8a115ac17 revert ADR display inverse logic 2019-09-20 19:23:43 +02:00
Verkehrsrot
d70df205fd PMU bugfix 2019-09-20 18:58:49 +02:00
Verkehrsrot
1daaac6fc6 PMU small corrections 2019-09-20 18:11:05 +02:00
Verkehrsrot
c3bad526a7 Changed Lora SF to Lora DR control 2019-09-20 13:22:45 +02:00
Verkehrsrot
cc248419ae optimize SF display 2019-09-20 09:51:33 +02:00
Verkehrsrot
6bf4a287bf bugfix battery voltage display 2019-09-20 09:51:13 +02:00
Verkehrsrot
d9c6153559 bugfix getBattLevel() (issue #444) 2019-09-20 09:04:24 +02:00
Verkehrsrot
af0fd577d3 lorawan.cpp code sanitizations 2019-09-19 17:06:37 +02:00
Verkehrsrot
50ff7977d6 AXP192 Battery monitoring display enhanced 2019-09-19 17:06:09 +02:00
Verkehrsrot
79e54774f1 lorawan.cpp: disable setLinkCheckMode & setDrTxpow 2019-09-19 16:13:48 +02:00
Verkehrsrot
c8531ca466 TTGO Beam v10 (AXP192) battery monitor enhanced 2019-09-18 22:38:39 +02:00
Verkehrsrot
ec3873f921 v1.8.2 2019-09-18 18:56:41 +02:00
Verkehrsrot
cf6bb5c992 Heltecv2 battery monitoring disabled 2019-09-18 16:24:25 +02:00
Verkehrsrot
b3d5a0bbf1 esp_wifi_start() added (need for ESP v3.2.3) 2019-09-17 14:34:48 +02:00
Verkehrsrot
3250a27e83 LMIC task priority raised 2 -> 5 2019-09-17 14:32:22 +02:00
Verkehrsrot
3262843141 main.cpp add comment for PMU IRQ 2019-09-16 18:16:53 +02:00
Verkehrsrot
ff6fce0a1d T-BEAM v1.0 ON/OFF button function added 2019-09-09 23:00:06 +02:00
Verkehrsrot
50c6ba2837 T-Beam V10 (AXP192 PMU) enhanced power functions 2019-09-09 21:45:19 +02:00
Verkehrsrot
edc510adf2 ttgobeam10.h updated 2019-09-09 20:33:29 +02:00
Verkehrsrot
3f97a5cad6 TTGO T-Beam V10 power (AXP192 PMU) fixes 2019-09-09 20:02:21 +02:00
Verkehrsrot
6dbbf14ef8 i2cscan & PMU i2c mutexing 2019-09-09 12:06:23 +02:00
Verkehrsrot
5ca4d2f721 TTGO T-Beam v10 PMU init bugfix 2019-09-09 11:18:37 +02:00
Verkehrsrot
81f1bc5c70 Heltecv2 battery monitor 2019-09-08 12:55:27 +02:00
Verkehrsrot
bbc2592552 wifi_start removed again 2019-09-08 12:32:22 +02:00
Verkehrsrot
56f1ed4b8e battery & power code sanitization 2019-09-07 23:10:53 +02:00
Verkehrsrot
a1b7c102d0 power.cpp added, i2cscan adapted 2019-09-07 19:52:25 +02:00
Verkehrsrot
738543b529 i2scan.cpp bugfix bus select 2019-09-07 19:12:23 +02:00
Verkehrsrot
0dea735bfb lmic_config.h sanitized 2019-09-07 18:02:27 +02:00
Verkehrsrot
506b1f4f7e remove clock error setting, using interrupt timing 2019-09-07 17:00:00 +02:00
Verkehrsrot
15389516f5 added setting for wifi power save off 2019-09-07 15:02:43 +02:00
Verkehrsrot
76a79940b3 MAC command up/down evaluation 2019-09-07 14:52:18 +02:00
Verkehrsrot
dccd6d695c lorawan.cpp: add lmic_send result codes 2019-09-06 15:20:03 +02:00
Verkehrsrot
ad9bd3e63e i2cscan fixes 2019-09-02 20:45:40 +02:00
Verkehrsrot
98a2edb8a7 AXP192 support fixes 2019-09-02 18:18:06 +02:00
Verkehrsrot
c653462f90 create hal/ttgobeam10.h 2019-09-02 18:17:37 +02:00
Marius Gripp
fc2997c9fd start timediffseq at -1, so first syncing can finish 2019-09-02 17:04:32 +02:00
Marius Gripp
592c9d6ede log sent timediff 2019-09-02 17:04:32 +02:00
Marius Gripp
004444dea3 correct logging level for error 2019-09-02 17:04:32 +02:00
Marius Gripp
2530bd4235 remove unneeded logging 2019-09-02 16:56:50 +02:00
Verkehrsrot
8b12b7aee2 axp192 support added 2019-09-02 16:53:39 +02:00
Verkehrsrot
a7f3dd5a59 fix i2c address for serial eeprom 2019-09-02 16:08:12 +02:00
Marius Gripp
a806c5e463 recognize ota trigger mac when sniffing for new macs in wifi environment 2019-09-02 15:12:22 +02:00
Marius Gripp
e92bcbd8b1 setup macsniff with ota trigger mac 2019-09-02 15:11:52 +02:00
Marius Gripp
2ec6966496 add OTA_TRIGGER_MAC to config 2019-09-02 15:11:01 +02:00
Verkehrsrot
9b925ee47b LMIC: use interrupts to improve timing accuracy 2019-09-01 22:50:24 +02:00
Verkehrsrot
b97361ca8c lorawan.cpp: MAC decoder (experimental) 2019-09-01 00:57:19 +02:00
Verkehrsrot
cc2cfd3c13 configmanager payloadmask default fixed 2019-09-01 00:56:42 +02:00
Verkehrsrot
6ec704d050 rcommand.cpp bugfix payloadmask invert 2019-09-01 00:17:13 +02:00
Verkehrsrot
0db8e37563 bugfix payloadmask 2019-09-01 00:11:20 +02:00
Verkehrsrot
ac2f67e98f rcommand code sanitization 2019-08-31 18:37:36 +02:00
Verkehrsrot
1d2c79133f MAC command decoder (experimental) 2019-08-31 18:36:49 +02:00
Verkehrsrot
80a24f10ab introduced LMIC user events 2019-08-31 15:19:49 +02:00
Verkehrsrot
6096c40000 lora_send stacksize increased 2019-08-30 18:59:45 +02:00
Verkehrsrot
93005efce8 timesync.cpp send alive after sync 2019-08-30 18:55:08 +02:00
Verkehrsrot
02326a1c7f lora_send code sanitization 2019-08-30 18:54:53 +02:00
Verkehrsrot
679582857a battery level on / off 2019-08-30 18:53:30 +02:00
Verkehrsrot
65045b3cad change startup order for init_display 2019-08-30 17:57:17 +02:00
Verkehrsrot
63ff668a96 LMIC message queuing refactored 2019-08-30 14:06:30 +02:00
Verkehrsrot
1cf12452ba lorawan.cpp code sanitizations 2019-08-29 20:23:22 +02:00
Marius Gripp
1e53a25d03 typo 2019-08-29 14:55:31 +02:00
Verkehrsrot
c97140d822 remove TX TIMESYNC event display 2019-08-29 10:15:11 +02:00
Verkehrsrot
258e830470 move lmic os sendjob to new lora_send task 2019-08-29 10:13:47 +02:00
Florian Ludwig
4d42c961b2 move timesync seq_no into message body from port 2019-08-29 10:32:55 +03:00
Verkehrsrot
78c8ed3e97 refactoring LMIC send queueing 2019-08-28 21:55:50 +02:00
Verkehrsrot
1c5edbb6a4 esp_wifi_start (needed for next ESP-IDF release) 2019-08-28 10:49:25 +02:00
Verkehrsrot
829ab0ea05 bugfix message queuing to LMIC while LMIC is busy 2019-08-28 10:48:39 +02:00
Marius Gripp
4a573bc638 send time via uart 2019-08-27 17:27:57 +02:00
Marius Gripp
cab44588c7 start uart timestamp send when time has been synced 2019-08-27 16:00:25 +02:00
Marius Gripp
6894d718e6 node-red config with use of ttn nodes 2019-08-27 15:40:33 +02:00
Verkehrsrot
bbca15a76e rcommand.cpp: set payload mask & set BME data 2019-08-25 17:18:29 +02:00
Verkehrsrot
43cf6b7fe5 ledmatrix.cpp small code sanitization 2019-08-19 21:48:11 +02:00
Verkehrsrot
012bf545c4 ledmatrix: bugfix scrolling 2019-08-18 22:16:35 +02:00
Verkehrsrot
526fc2900c ledmaxtrix: update hal files 2019-08-18 22:14:25 +02:00
Verkehrsrot
c865c8996c main.cpp: update comments 2019-08-18 22:14:00 +02:00
Verkehrsrot
a381f31244 timekeeper.cpp: setmytime return if no timesrc 2019-08-18 22:13:42 +02:00
Verkehrsrot
1de9a0bcd2 remove arduino loop task 2019-08-18 17:45:16 +02:00
Verkehrsrot
c0692c3879 gps initial time sync added 2019-08-18 17:44:42 +02:00
Verkehrsrot
ba08662323 update LED matrix size 2019-08-18 17:04:02 +02:00
Verkehrsrot
1d8969f645 ledmatrixdisplay.cpp code sanitizations 2019-08-18 16:58:29 +02:00
Verkehrsrot
381286331f LED matrix on/off added 2019-08-18 16:55:43 +02:00
Verkehrsrot
a4419ab6f0 LED matrix scroll function added 2019-08-18 16:47:28 +02:00
Verkehrsrot
77352b832e ledmatrix scale factor 2019-08-17 18:45:00 +02:00
Verkehrsrot
d332a17b28 added ledmatrix footfall line diagram 2019-08-17 18:30:45 +02:00
Verkehrsrot
267d04488b added tinypicomatrix.h 2019-08-15 12:02:03 +02:00
Verkehrsrot
c566b302d5 add tinyPICO board 2019-08-14 21:52:12 +02:00
Verkehrsrot
8717d5e3a7 changed lmic clock error procentage 2019-08-13 22:47:19 +02:00
Verkehrsrot
b926d908b2 timekeeper/timesync: fixed dependencies 2019-08-13 22:40:33 +02:00
Marius Gripp
730f35babf expect seqNo in payload and not in port 2019-08-13 13:16:56 +02:00
Marius Gripp
ce7d3ab292 node-red server reconfigured (new broker & seqNo in payload) 2019-08-13 13:16:28 +02:00
Marius Gripp
a1221ebad0 lost in merging process 2019-08-12 16:11:39 +02:00
Verkehrsrot
5b8cef880c v1.7.91 2019-08-11 21:12:27 +02:00
Marius Gripp
b00912277c send timestamp via uart for debugging 2019-08-09 14:02:10 +02:00
Marius Gripp
f475a634d5 changed now to nowTime dow to conflict with function name now(), settimeofday got incorrect timevalue 2019-08-09 13:33:03 +02:00
Marius Gripp
646d60e9c5 t_sec corrected by one seconds because time is only set ontop of a second 2019-08-09 13:33:03 +02:00
Marius Gripp
fdc971be04 send timediff with ms after time sync 2019-08-09 13:32:18 +02:00
Marius Gripp
26c1cb0aaa config for time sync via lora 2019-08-09 13:28:14 +02:00
Marius Gripp
5319f1c976 configure node-red for ttn app 2019-08-09 13:28:14 +02:00
Verkehrsrot
b2ef9249da timesync.cpp: comments updated 2019-08-06 11:37:58 +02:00
Verkehrsrot
64222bf8b3 timesync.cpp: fix +1 second bug 2019-08-05 11:20:23 +02:00
Verkehrsrot
be208ab539 GPS timing fine tuning 2019-08-04 23:18:04 +02:00
Verkehrsrot
c81502ac60 main.cpp: disable gps time init to avoid i2c error 2019-08-04 15:39:25 +02:00
Verkehrsrot
1efc9be6c3 GPS handling and timesync code refactored 2019-08-04 15:17:50 +02:00
Verkehrsrot
7284d7ce4d timekeeper.cpp: code sanitization 2019-08-03 18:06:06 +02:00
cyberman54
7fa9269d0b GPS msec handling added (experimental) 2019-08-03 14:01:25 +02:00
Verkehrsrot
139738a14d timesync code sanitized 2019-08-03 12:27:24 +02:00
Verkehrsrot
bf70f2f9f2 removed spi & lora houskeeping functions 2019-08-03 11:35:16 +02:00
Verkehrsrot
5dcb3b315e Moved LMiC to dedicated task with raised prio 2019-08-02 21:53:05 +02:00
Verkehrsrot
31cd613555 bugfix bmecycler 2019-07-31 22:20:18 +02:00
Verkehrsrot
85aa9655c6 BME task removed / do i2c masking via interrupt 2019-07-29 20:23:27 +02:00
Verkehrsrot
11cfa27c76 i2c locking for rtc & timesync streamlined 2019-07-29 14:43:37 +02:00
Verkehrsrot
3f3c58feeb gpsread.cpp: init gps_status 2019-07-29 11:00:14 +02:00
Verkehrsrot
cc9997c64b removed unused variable gps_pps_time 2019-07-29 10:29:44 +02:00
Verkehrsrot
57d0624fd0 removed GPS IRQ, since not really needed 2019-07-29 10:26:58 +02:00
Verkehrsrot
cb7b600168 gpsread.cpp: code sanitization 2019-07-29 00:24:37 +02:00
Verkehrsrot
4973568546 GPS fixes & code sanitization 2019-07-28 23:51:24 +02:00
cyberman54
e8521094b8 bmesensor.cpp: added comments with units 2019-07-28 19:17:46 +02:00
cyberman54
9ad6e62e84 packed_decoder.js: bugfix pressure divisor 2019-07-28 19:12:05 +02:00
Verkehrsrot
dcc7784456
Merge pull request #405 from TD-er/development
Fix/cleanup of packed decoder code
2019-07-28 18:43:07 +02:00
cyberman54
ad2234271f code sanitizations 2019-07-28 18:42:22 +02:00
Gijs Noorlander
a061e75a9e Add signed int decode types to packed decoder
RSSI is a negative value => signed int
Altitude is signed
hdop and ufloat values were ints divided by 100, so set resolution to 2 decimals.
Removed some code duplication by calling uint/int decode functions
2019-07-28 17:25:24 +02:00
Gijs Noorlander
19ee712e51 Remove increased altitude resolution from plain decoder 2019-07-28 17:22:04 +02:00
Gijs Noorlander
45b0bae945 Cleanup of packed payload encoder
- Cleanup of write*int functions
- Multiply pressure by 10 (decoder was already dividing by 10)
- Fix undefined behavior on intToBytes function.
2019-07-28 17:21:21 +02:00
Verkehrsrot
88db2cca2b bugfix decoder.js for gps altidude 2019-07-28 12:05:21 +02:00
cyberman54
9be1d36166 fixed TTN decoder for gps altitude 2019-07-27 15:23:17 +02:00
cyberman54
1f9e93cf39 Increased GPS altitude resolution, further fixes 2019-07-27 13:35:12 +02:00
cyberman54
a3f036c4d2 Increased GPS altitude resolution 2019-07-27 11:59:56 +02:00
cyberman54
7ab96b67bc display.cpp: reduced debug logging 2019-07-27 11:59:24 +02:00
Gijs Noorlander
2aafc839d5 Fix altitude in packed decoder to be signed (#403)
See #403
2019-07-27 02:35:39 +02:00
Verkehrsrot
419e4508d9 main.cpp: documentation updated 2019-07-26 11:41:45 +02:00
Verkehrsrot
229c1d114e v1.7.841 2019-07-25 23:25:33 +02:00
Verkehrsrot
da02e67c8f display.cpp: fix field width BME 2019-07-25 23:20:42 +02:00
Verkehrsrot
837988081e BME-Sensor / i2C mutex bugfix 2019-07-25 22:04:38 +02:00
Verkehrsrot
b7df5bce1a timesync.cpp: code sanitization and documentation 2019-07-24 20:09:36 +02:00
Verkehrsrot
43c06be8e8 improved code for time bytes evaluation 2019-07-24 13:52:24 +02:00
Verkehrsrot
d35f1d97cd timesync i2c lock fixing 2019-07-24 12:37:02 +02:00
Verkehrsrot
9c1a9e9f47 timesync.cpp: bugfix vtaskdelay 2019-07-23 21:33:27 +02:00
Verkehrsrot
ff2b02107a wifiscan.cpp: frame filter 2019-07-23 21:06:44 +02:00
Verkehrsrot
a6520b19ef lorawan.cpp typo fix 2019-07-23 21:03:11 +02:00
Verkehrsrot
4a2845a3f6 further fixes irq mask & i2c lock 2019-07-23 20:43:10 +02:00
Verkehrsrot
8869909720 further fixes in mutex lock & irq masking 2019-07-23 20:07:24 +02:00
Verkehrsrot
7d2d753252 bugfixing mutex lock 2019-07-23 17:53:20 +02:00
Verkehrsrot
31c0037cba bugfix IRQ masking 2019-07-23 12:57:05 +02:00
Verkehrsrot
1bc63bad94 bugfix IRQ masking 2019-07-23 11:47:38 +02:00
Verkehrsrot
bdbf2db409 code sanitzations 2019-07-22 22:00:39 +02:00
Verkehrsrot
79c20113a7 timesync.cpp: bugfix irq masking release (#392) 2019-07-22 11:25:05 +02:00
Verkehrsrot
0ce58cc8bf wifiscan.cpp: fixes 2019-07-22 00:04:26 +02:00
Verkehrsrot
3f90ce6642 macsniff.cpp: bugfix 2019-07-21 19:51:08 +02:00
Verkehrsrot
7057b59b0f code sanitizations 2019-07-21 19:21:11 +02:00
Verkehrsrot
bb7b8b90f8 macsniff.cpp: efficiency optimization 2019-07-21 19:20:02 +02:00
Verkehrsrot
363332a677 display.cpp: code sanitizations 2019-07-16 21:33:50 +02:00
Verkehrsrot
44cf2ece16 gpsread.cpp: nmea serial delay compensation fix 2019-07-16 21:21:15 +02:00
Verkehrsrot
1117dc5520 irqhandler.h: bugfix mask_user_IRQ mutex 2019-07-16 21:17:13 +02:00
Verkehrsrot
ddaf15d61f lorawan.cpp: bugfix prio_high queue handling 2019-07-16 21:00:55 +02:00
Verkehrsrot
5d569fd792 configmanager.cpp: defaults from paxcounter.conf 2019-07-16 14:49:14 +02:00
Verkehrsrot
7b260d100e update wemos32matrix.h 2019-07-15 22:54:59 +02:00
Verkehrsrot
72e36eb554 update wemos32matrix.h 2019-07-15 22:40:50 +02:00
Verkehrsrot
1a4dba3b46 bugfix ledmatrixdisplay (missing break page flip) 2019-07-15 22:19:06 +02:00
Verkehrsrot
7ba8b8f985 Revert "Packet traffic indicator"
This reverts commit 0e3f7af0ce.
2019-07-15 19:11:01 +02:00
Verkehrsrot
978df41691 wemos32matrix.h created 2019-07-15 14:11:14 +02:00
Verkehrsrot
59a147dc18 LED Matrix pin mappings moved to hal file 2019-07-15 14:03:50 +02:00
Verkehrsrot
0e3f7af0ce Packet traffic indicator 2019-07-15 00:14:33 +02:00
Verkehrsrot
912da7eace bugfix lora send queue size display 2019-07-14 16:52:18 +02:00
Verkehrsrot
6cc962ef20 wifiscan.cpp bugfix coex set 2019-07-13 18:27:56 +02:00
Verkehrsrot
6635ba991e Button logic changed 2019-07-13 18:21:13 +02:00
Verkehrsrot
fbe0cf3b2e bugfix no GPS time sync after cold start (#376) 2019-07-07 16:00:48 +02:00
Verkehrsrot
197e2d0e80 new hal file selection concept 2019-06-30 17:48:24 +02:00
Verkehrsrot
23999c3e2b LED matrix display improvements 2019-05-31 13:20:11 +02:00
Verkehrsrot
bac5bde28f LED matrix code sanitization 2019-05-30 13:00:24 +02:00
cyberman54
5f52120fc0 LED matrix feature 2019-05-27 23:29:26 +02:00
Verkehrsrot
d04a04adfa patches for new paths in platformio core 4.0.0a15 2019-05-25 16:32:57 +02:00
Verkehrsrot
93c576f1e2 Change string OUIFLT to FILTER 2019-05-25 15:31:20 +02:00
Verkehrsrot
ebc75e3bbe Lolin32 hal files update 2019-05-25 15:30:53 +02:00
michatrautweiler
5c9cf136f0
return decoded value in any case
Fix plain decoder for TTN: Decoded value was not returned except for last case.
2019-05-24 10:19:34 +02:00
cyberman54
fdd0faf7c1 ecopower.h: bugfix RTC power on 2019-05-19 17:11:29 +02:00
Verkehrsrot
3baf0c4ac4
Merge pull request #366 from cyberman54/master
update dev to master
2019-05-18 13:12:17 +02:00
cyberman54
ead2a0689f ttgofox.h bugfix 2019-05-18 13:10:22 +02:00
Verkehrsrot
19849c4eea v1.7.61 (LED matrix support) 2019-05-07 21:17:06 +02:00
Verkehrsrot
441863109f
Merge branch 'development' into master 2019-05-07 11:24:24 +02:00
Alex Goris
13f89a45e5 feat(wemos32oled): Added support for Wemos32 OLED board
This commit adds support for what I call the 'Wemos32 OLED' board.
It's a Wemos branded board, however it does not appear on Wemos'
website.
2019-05-06 14:04:46 +02:00
Alex Goris
0060b101df feat(LED Matrix Display): Added support for a LED Matrix display
This commit adds support for a specific LED Matrix display, which can be
used to show the number of found devices on a rather large display.
We (hackerspace Brixel) used this on the mini Maker Faire Gent 2019 to
show the number of found devices throughout the event
2019-05-05 23:43:18 +02:00
Verkehrsrot
45b51441ec button handling improvment 2019-05-03 20:24:42 +02:00
cyberman54
2b82223d3d bugfix timesync.cpp 2019-04-20 12:42:44 +02:00
cyberman54
313c75ac41 board files updated to platformio espressif 1.8.0 2019-04-20 12:42:33 +02:00
Verkehrsrot
0cdc03027c timesync.cpp 1sec delta correction 2019-04-16 21:36:12 +02:00
Verkehrsrot
e5ce70be75 GPS time fixes 2019-04-15 13:46:58 +02:00
Verkehrsrot
195661a520 GPS data handling refactored 2019-04-15 12:57:55 +02:00
Verkehrsrot
359b31e9e9 GPS IRQ added to increase gps time sync accuracy 2019-04-14 22:54:27 +02:00
Verkehrsrot
ba51d73d4e fix time sync pps start bug 2019-04-14 14:35:48 +02:00
Verkehrsrot
7211d1a4dd improved GPS time sync accuracy 2019-04-14 14:35:07 +02:00
Verkehrsrot
22286a9a13 repair broken battery measure function 2019-04-13 19:22:48 +02:00
Verkehrsrot
ef09c9d7a4 paxcounter.conf set WIFICOUNTER default 2019-04-13 19:07:29 +02:00
Verkehrsrot
38118cae6c new option WIFICOUNTER fixed 2019-04-13 18:44:25 +02:00
Verkehrsrot
77e795dbf8 Option to switch off wifi sniffing 2019-04-13 17:39:08 +02:00
Verkehrsrot
77e447d46d paxcounter.conf time sync defaults modified 2019-04-13 14:03:33 +02:00
Verkehrsrot
20a39ae6d6 timesync fixes 2019-04-13 13:59:30 +02:00
Verkehrsrot
9941a0de0a main.cpp modified clock controller start 2019-04-10 21:38:48 +02:00
Verkehrsrot
545de36c75 timekeeper.cpp code sanitizations 2019-04-10 21:38:17 +02:00
Verkehrsrot
5dfc32e82c randomize timesync seqNo 2019-04-10 21:37:19 +02:00
Verkehrsrot
f1c1b1c00a cyclic.cpp #if sanitization 2019-04-08 22:51:12 +02:00
Verkehrsrot
f7a3177981 main.cpp code sanitizations 2019-04-08 21:22:54 +02:00
Verkehrsrot
859080232f fixed IF482 timing bug when time was adjusted 2019-04-08 21:22:24 +02:00
Verkehrsrot
3c8830695b DCF77 pulse generator runtime optimized 2019-04-08 21:20:42 +02:00
Verkehrsrot
f337366fb3 timesync timings adjusted 2019-04-07 21:54:19 +02:00
Verkehrsrot
0f32911b2d update ttgov21old.h 2019-04-07 20:20:48 +02:00
Verkehrsrot
478502377a time sync defaults modified 2019-04-07 16:14:19 +02:00
Verkehrsrot
893a87b4a2 vTaskDelete code sanitization 2019-04-07 16:13:41 +02:00
Verkehrsrot
4f8d92ea7e timesync tasking restructured 2019-04-07 16:13:04 +02:00
Verkehrsrot
0b40d0df70 modified timesync after join logic 2019-04-07 14:06:47 +02:00
Verkehrsrot
3aa8e73b86 modified task timing 2019-04-07 12:27:38 +02:00
Verkehrsrot
11c2fb6fa2 TTN decoder updates 2019-04-06 21:10:33 +02:00
Verkehrsrot
261c643d7f fix BME280 no iaq value 2019-04-06 20:23:28 +02:00
Verkehrsrot
bf8ce227ff Nodered Timeserver bugfix 2019-04-06 19:58:45 +02:00
Verkehrsrot
964be4d1fd Timeserver logic port9 fix 2019-04-06 19:46:00 +02:00
Verkehrsrot
dd703a5bad code sanitzations 2019-04-06 18:11:28 +02:00
Verkehrsrot
dd661254b5 New 5-byte time sync protocol 2019-04-06 16:43:12 +02:00
Verkehrsrot
11f184e67a use TaskNotifyFrom ISR inside Ticker functions 2019-04-06 12:55:18 +02:00
Verkehrsrot
a1f095fe7e BME280/BME680 documentation details added 2019-04-06 11:36:07 +02:00
Verkehrsrot
209426a56a bugfix cyclic.cpp (no senddata before reset) 2019-04-05 11:08:33 +02:00
Verkehrsrot
439f3ec55f BME display page added 2019-04-02 22:45:16 +02:00
Verkehrsrot
41db662627 New display pages feature added 2019-04-01 18:34:57 +02:00
Verkehrsrot
084cf50792 New feature display pages added (issue #278) 2019-04-01 18:01:52 +02:00
Verkehrsrot
dd2ce7eef9 timesync.cpp: #if fix 2019-04-01 08:10:08 +02:00
Verkehrsrot
f9daf5a16f update packed_decoder.js (Port2 / rcommand 0x86) 2019-03-31 20:46:44 +02:00
Verkehrsrot
3376a7f57e time sync accuracy fixes 2019-03-31 19:13:06 +02:00
Verkehrsrot
6aba3c128b issue #331 2019-03-31 15:56:56 +02:00
Verkehrsrot
edfd8b1fac #if corrections timesync 2019-03-31 15:47:19 +02:00
Verkehrsrot
b5395661fc fix issue #332 2019-03-31 15:32:22 +02:00
Verkehrsrot
20c69789f0 timesync.cpp: bugfix esp32 hw timer 2019-03-28 22:53:21 +01:00
Verkehrsrot
abe339f355 packed_converter.js: bugfix port 2 time 2019-03-28 21:27:29 +01:00
Verkehrsrot
14d29e11f3 timesync.cpp fixes 2019-03-28 14:24:10 +01:00
Verkehrsrot
72f9b321f7 timesync.cpp: code sanitizations 2019-03-28 14:19:02 +01:00
Verkehrsrot
0640e4dfb1 timesync.cpp: bugfix vTaskDelay 2019-03-27 20:38:00 +01:00
Verkehrsrot
d4a3af987d timsync.cpp: field validation t_msec 2019-03-27 19:37:47 +01:00
Verkehrsrot
17a1ae2856 packed_decoder.js: added timesync port 2 2019-03-27 19:37:21 +01:00
Verkehrsrot
87d6d95726 MOBASERIAL added 2019-03-27 19:36:47 +01:00
Verkehrsrot
8c581ec32f sanitized time adjust code 2019-03-25 19:06:54 +01:00
Verkehrsrot
95b6947c73 changed port for rcommand 0x86 2019-03-25 08:36:56 +01:00
Verkehrsrot
8de76bcaf5 Timeserver: bugfix (no time 0xff was not sent) 2019-03-25 00:02:37 +01:00
Verkehrsrot
d4ddb4811f Timeserver: filter gateway with ms timestamp 2019-03-24 23:23:00 +01:00
Verkehrsrot
a7a49ee9a0 paxcounter.conf: added time sync retry setting 2019-03-24 22:02:19 +01:00
Verkehrsrot
185953bd5a
Merge branch 'master' into development 2019-03-24 20:14:32 +01:00
Verkehrsrot
5bbfb7ea72 timesync 1sec fix 2019-03-24 20:12:03 +01:00
Verkehrsrot
86d17d4249 main.cpp: comments updated 2019-03-24 19:50:49 +01:00
Verkehrsrot
5f2d2d0dd5 time accuracy finetuning 2019-03-24 19:50:24 +01:00
Verkehrsrot
e156770fc3 display.cpp: inverse timestatus display 2019-03-24 19:49:44 +01:00
Verkehrsrot
e544e22d9e lorawan.cpp: join wait message added 2019-03-24 16:23:34 +01:00
Verkehrsrot
e3887980d3 ecopower.h: 2nd LED fix 2019-03-24 16:22:12 +01:00
Verkehrsrot
94766f2832 timesync fixes 2019-03-24 16:20:39 +01:00
Verkehrsrot
57042e943c lorawan.cpp: set_rtctime call modified 2019-03-24 16:19:21 +01:00
Verkehrsrot
8430e9fe92 main.cpp: bugfix 2nd LED 2019-03-24 16:18:29 +01:00
Verkehrsrot
0dcb9b9e2b led.cpp: bugfix 2nd LED 2019-03-24 16:18:08 +01:00
Verkehrsrot
e18f9fdcae rcttime.cpp: mutex param added 2019-03-24 16:17:36 +01:00
Verkehrsrot
c0abe0652e timesync params moved to paxcounter.conf 2019-03-24 16:16:58 +01:00
Verkehrsrot
c84063aa6d irqhandler.cpp: mask/unmask added 2019-03-24 16:15:29 +01:00
Verkehrsrot
6604d3f694 secondary LED added 2019-03-24 01:05:13 +01:00
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
8de2ee0680 edit board file ecopower.h 2019-03-23 15:06:05 +01:00
Verkehrsrot
b91ef3ec7e define fixups 2019-03-23 11:04:22 +01:00