Commit Graph

1356 Commits

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