Commit Graph

1490 Commits

Author SHA1 Message Date
Verkehrsrot
b5c5e3ce47 ota.cpp bugfix led define 2019-11-21 17:16:36 +00:00
Verkehrsrot
4d12aa7cec bugfix reset runmode logic 2019-11-21 17:16:36 +00:00
nerdyscout
bb227b525b additional decoder for short latLon on port4 2019-11-21 17:04:55 +00:00
nerdyscout
494a9a3586 Merge branch 'development' of github.com:cyberman54/ESP32-Paxcounter into combine-lora-msg 2019-11-20 16:47:31 +00:00
nerdyscout
ae8f4ac514 style 2019-11-19 22:41:49 +00:00
nerdyscout
8790c9f3d5 defaults 2019-11-19 22:39:36 +00:00
nerdyscout
be448a37a3 OpenSenseBox specific payload 2019-11-19 22:27:12 +00:00
Verkehrsrot
b1a0790531 sanitizations 2019-11-19 21:32:09 +01:00
Verkehrsrot
fb682196a9 octopus32.h edit notes 2019-11-19 19:48:29 +01:00
Verkehrsrot
f86fda1cb6 sanitizations in some files 2019-11-19 15:44:55 +01:00
Verkehrsrot
2c102f69a9 combined GPS data revised logic 2019-11-18 13:25:52 +01:00
Verkehrsrot
39ee7b4d82
Merge pull request #487 from cyberman54/master
sync dev to master
2019-11-17 14:18:37 +01:00
Verkehrsrot
e790c22792 Merge branch 'master' of https://github.com/cyberman54/ESP32-Paxcounter 2019-11-17 14:13:56 +01:00
Verkehrsrot
41fd41b59b wifiscan.cpp: fix wifi on/off 2019-11-17 14:13:48 +01:00
nerdyscout
ab82374bfa less generic, only advanced gps+counter 2019-11-17 09:32:43 +00:00
Philipp Schäfer
b56ab478ee esp_wifi v3.3 changes see https://github.com/espressif/esp-idf/issues/4311
https://github.com/espressif/esp-idf/issues/4005
2019-11-16 21:18:50 +01:00
Verkehrsrot
bc9d550b7d combined gps payload (issue #482) 2019-11-11 20:31:14 +01:00
Verkehrsrot
c826240d94 Wifi/BLE counter display logic improved 2019-11-11 15:23:41 +01:00
Verkehrsrot
f2821fe3b4 fix WIFICOUNTER=0 guru failure (issue #481) 2019-11-11 15:22:55 +01:00
Verkehrsrot
39c68d7d7f new feature: rcmd 0x17 wifi sniffer on/off 2019-11-11 12:28:31 +01:00
nerdyscout
0ed5f73b2c compile flag for do no payload reset 2019-11-10 08:00:28 +00:00
Verkehrsrot
55951ca41c TTN settings for join 2019-11-08 23:06:31 +01:00
Verkehrsrot
ac2ab9a274 disable LMIC onEvent() 2019-11-08 23:05:28 +01:00
Verkehrsrot
65a205a164 ota.cpp bugfix led define 2019-10-27 17:33:23 +01:00
Verkehrsrot
3d9cc26f97 bugfix reset runmode logic 2019-10-27 16:13:33 +01:00
Verkehrsrot
71cd663c2d Merge branch 'development' of https://github.com/cyberman54/ESP32-Paxcounter into development 2019-10-24 19:20:47 +02:00
Verkehrsrot
e7ca681872 bugfix oled init 2019-10-24 19:19:38 +02:00
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