Commit Graph

1352 Commits

Author SHA1 Message Date
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