Commit Graph

1096 Commits

Author SHA1 Message Date
Klaus K Wilting
011bf0463e DCF77 code performance improvement 2019-02-23 18:12:43 +01:00
Klaus K Wilting
8c93f44c84 timemanager fixes #2 2019-02-22 23:17:28 +01:00
Klaus K Wilting
0c1c95d868 timemanager fixes 2019-02-22 22:28:35 +01:00
Klaus K Wilting
3d26f737be timemanager added (v1.7.32) 2019-02-21 23:17:01 +01:00
Verkehrsrot
efd9f1774f
Update ttgobeam.h 2019-02-20 23:37:31 +01:00
Klaus K Wilting
34eb681955 get_gpstime(): max time age reduced to 1000 2019-02-20 23:04:37 +01:00
Klaus K Wilting
0b898967c1 patch in LMIC pinmapping to protect "NOT_A_PIN" in pins_arduino.h 2019-02-19 18:37:35 +01:00
Klaus K Wilting
dd5007897d pps pulse display 2019-02-18 21:51:01 +01:00
Klaus K Wilting
1b42afafd7 clock time handling improvements 2019-02-17 22:12:14 +01:00
Klaus K Wilting
d9a2107450 clockcontroller.cpp bugfix ts variable 2019-02-17 19:33:41 +01:00
Klaus K Wilting
8b4d1e06dc update hal files generic.h + lop4.h 2019-02-17 19:21:37 +01:00
Klaus K Wilting
05a3f3b2a8 v1.7.31 (clockcontroller deeply reworked) 2019-02-17 19:21:08 +01:00
Klaus K Wilting
c8978a0745 refactored clock controller code 2019-02-16 15:02:07 +01:00
Klaus K Wilting
91889a2af8 v1.7.24 2019-02-15 14:08:27 +01:00
Klaus K Wilting
1ac176075a clock time handling modifications (still experimental) 2019-02-14 23:01:20 +01:00
Klaus K Wilting
42971b60cd DCF77 code sanitized 2019-02-13 00:00:05 +01:00
Klaus K Wilting
135d635e8c IF482 precision improvement (experimental) 2019-02-12 23:59:08 +01:00
Klaus K Wilting
1393e47052 GPS Timepulse handling by semaphore 2019-02-12 23:57:36 +01:00
Klaus K Wilting
5c7e4ab9e5 lorawan.cpp: assert value of CLOCK_ERROR_PROCENTAGE 2019-02-12 23:57:05 +01:00
Klaus K Wilting
1858c54799 lmic.config.h: assert value of CLOCK_ERROR_PROCENTAGE 2019-02-12 23:56:06 +01:00
Klaus K Wilting
035b7abe26 IF482 precision improvement 2019-02-11 23:37:45 +01:00
Klaus K Wilting
87378738d2 IF482 bugfix (i2c lock during rtc setup) 2019-02-10 16:43:24 +01:00
Tim Riemann
dff594d05d
Fixed invalid OLED pin mapping for TTGO v1 2019-02-09 23:05:56 +01:00
Verkehrsrot
8baf976419
Merge pull request #266 from cyberman54/development
v1.7.2
2019-02-09 16:15:05 +01:00
Klaus K Wilting
70fb3ecd45 v1.7.2 2019-02-09 16:10:21 +01:00
Klaus K Wilting
bac9540d52 code sanitizations 2019-02-09 15:46:44 +01:00
Klaus K Wilting
e7a5ab3ca6 rtctime.cpp: timepulse fixes 2019-02-09 14:46:41 +01:00
Klaus K Wilting
46f41d0ee8 time code sanitizations 2019-02-09 14:21:09 +01:00
Klaus K Wilting
a46b16aa5d use GPS timepulse line 2019-02-09 14:18:46 +01:00
Klaus K Wilting
fde157dd0d preparations for changing gps library 2019-02-09 13:02:38 +01:00
Klaus K Wilting
ed5c7f46f3 DCF77 + IF482 debugging 2019-02-08 23:08:14 +01:00
Klaus K Wilting
bfc8f13cc7 Revert "Revert "DCF77 + IF482 code sanitizations""
This reverts commit 5fcfdd91e5.
2019-02-08 22:19:44 +01:00
Klaus K Wilting
5fcfdd91e5 Revert "DCF77 + IF482 code sanitizations"
This reverts commit 160b282c3a.
2019-02-08 21:48:56 +01:00
Klaus K Wilting
160b282c3a DCF77 + IF482 code sanitizations 2019-02-08 10:38:53 +01:00
Klaus K Wilting
f319d669ec DCF77+IF482 code sanitizations 2019-02-07 23:11:10 +01:00
Klaus K Wilting
bad5805810 DCF77 & IF482 improvements 2019-02-07 23:05:26 +01:00
Klaus K Wilting
e1b6d9a04c DCF77 optimizations 2019-02-07 20:39:32 +01:00
Klaus K Wilting
f5e5bf798a DCF77 improvements 2019-02-07 07:32:55 +01:00
Klaus K Wilting
3c913095a2 DCF77 fixes 2019-02-05 23:50:05 +01:00
Klaus K Wilting
82489524d3 dcf77.cpp bugfixes and now finalized 2019-02-04 23:42:17 +01:00
Klaus K Wilting
8d01b651bb IF482 bugfix 2019-02-04 21:42:44 +01:00
Verkehrsrot
5d1bff6a9b
Update ttgov1.h 2019-02-04 20:56:38 +01:00
Verkehrsrot
bef33af4b8
Update ttgov2.h 2019-02-04 20:53:27 +01:00
Verkehrsrot
ba3320b0bb
Update heltec.h 2019-02-04 20:51:16 +01:00
Klaus K Wilting
56ab5a24a5 display.cpp: compiler warning sanitized 2019-02-04 20:40:46 +01:00
Klaus K Wilting
17cd82da68 v1.7..152: DCF77 fixes (experimental) 2019-02-04 20:02:30 +01:00
Verkehrsrot
a25ab0930c
Update heltecv2.h 2019-02-04 19:45:40 +01:00
Klaus K Wilting
39e2df7a05 added DCF77 function (experimental, not fully working yet) 2019-02-03 21:19:08 +01:00
Klaus K Wilting
9cb828bfbd gpsread.cpp: bugfix in debug time display 2019-02-03 20:18:54 +01:00
Klaus K Wilting
06a1775779 added priority control for lora and spi sendqueue 2019-02-03 14:12:21 +01:00
Klaus K Wilting
cd08335634 free up hw timer #1 (for future DCF77 use) 2019-02-02 21:35:40 +01:00
Klaus K Wilting
e7a416cd7a bugfixes i2c bus access 2019-02-02 10:35:20 +01:00
Klaus K Wilting
ab5cd0b0a2 bugfixing in time handling 2019-02-02 09:15:31 +01:00
Klaus K Wilting
a2b0cc7315 lmic:config.h: increased clock_error from 3 to 30 for better joining 2019-02-02 09:11:23 +01:00
Klaus K Wilting
8c0ad6f849 another bugfixes in realtime handling 2019-01-29 22:54:16 +01:00
Klaus K Wilting
110e969ba8 bugfixes in realtime handling 2019-01-29 19:52:54 +01:00
Klaus K Wilting
98d6e12836 v1.7.143 2019-01-29 09:06:10 +01:00
Klaus K Wilting
2fd3b6725c set RTC by GPS & LORA 2019-01-29 09:04:56 +01:00
Klaus K Wilting
8459eec8ef IF482 depends on RTC_INT not HAS_RTC 2019-01-29 09:04:31 +01:00
Klaus K Wilting
8a764af09b blink TimeSync display 2019-01-29 09:03:18 +01:00
Verkehrsrot
cbdf181a10
Merge pull request #258 from cyberman54/master
sync dev with master
2019-01-29 00:02:21 +01:00
Klaus K Wilting
bdcace14b9 sanitized time handling code 2019-01-28 23:59:52 +01:00
Klaus K Wilting
bf1d8ab1d4 if482.cpp: comments added 2019-01-28 21:47:44 +01:00
Klaus K Wilting
954687fe61 fixed timezone compile error (issue #256) 2019-01-28 11:46:18 +01:00
Oliver Brandmueller
ebefd5d234 fix HAS_RTC ifdef to fix compiling for boards without RTC 2019-01-28 09:44:30 +01:00
Klaus K Wilting
95521641ac v1.7.14 2019-01-28 00:53:30 +01:00
Verkehrsrot
696e46ce20
Merge branch 'development' into master 2019-01-28 00:46:49 +01:00
Klaus K Wilting
4341158fa3 added timezone support 2019-01-28 00:38:31 +01:00
Klaus K Wilting
28bfae346e cyclic.cpp: bugfix set rtctime by gps 2019-01-27 22:12:56 +01:00
Klaus K Wilting
74deb2b95c display.cpp: do not show SAT if no NMEA data seen 2019-01-27 21:20:09 +01:00
Klaus K Wilting
e6aba4fe63 IF482 minor fixes 2019-01-27 21:02:37 +01:00
Klaus K Wilting
ddc7abe90d display.cpp: time/date display added if RTC present 2019-01-27 21:02:08 +01:00
Klaus K Wilting
7c68f7632a v1.7.14 (new feature IF482 time telegram complete) 2019-01-27 18:19:25 +01:00
Klaus K Wilting
f4c29f3137 gpstimesync() deleted; paxcounter.conf: Timesync enabled 2019-01-26 23:45:11 +01:00
Klaus K Wilting
3285eed0fa if482.cpp: remove newline on serial output 2019-01-26 23:20:25 +01:00
Klaus K Wilting
335432e692 IF482.cpp fully functional 2019-01-26 18:49:53 +01:00
Klaus K Wilting
99f1a2015d main.cpp: add if482 init 2019-01-26 13:44:29 +01:00
Klaus K Wilting
edf5310d81 rtctime.cpp: bugfix time sync at device startup 2019-01-26 13:44:16 +01:00
Klaus K Wilting
c05edbc2f3 display.cpp: 2 decimals in voltage field 2019-01-26 13:43:19 +01:00
Klaus K Wilting
f87a0abff7 if482.cpp + gpsread.cpp sanitized 2019-01-26 12:32:58 +01:00
Klaus K Wilting
79a963b34f i2c mutex control sanitized 2019-01-26 12:32:17 +01:00
Klaus K Wilting
44b821f2a5 added IF482 time telegram generator (experimental) 2019-01-25 22:49:26 +01:00
Klaus K Wilting
8d3d4fe812 update ttgobeam.h; sanitize globals.h 2019-01-25 20:28:55 +01:00
Klaus K Wilting
99631d8548 rtctime.cpp: bugfix sync_rtctime() 2019-01-21 21:59:00 +01:00
Klaus K Wilting
5e407f99f8 low power switch init added (ttgo t-fox) 2019-01-21 21:36:54 +01:00
Klaus K Wilting
0f614da07b ttgofox.h: update LORA_RST 2019-01-21 17:49:58 +01:00
Klaus K Wilting
5bc2ffab09 Code for RTC time sync added 2019-01-21 16:16:39 +01:00
Klaus K Wilting
a0c5bb5086 blescan.cpp: bugfix include 2019-01-20 22:39:56 +01:00
Klaus K Wilting
0cbe2b7b67 create IF482 support files (yet to come) 2019-01-20 22:39:26 +01:00
Klaus K Wilting
79303d6b7a rtc support (experimental) 2019-01-20 22:38:53 +01:00
Klaus K Wilting
80866adecf fix bluetooth includes (issue #249) 2019-01-20 15:53:31 +01:00
Klaus K Wilting
6f4bf4142b hal file updates 2019-01-20 13:18:23 +01:00
Klaus K Wilting
bde7fb2bcf added RTC timesync during startup 2019-01-20 13:17:44 +01:00
Klaus K Wilting
ac28348acf update generic.h 2019-01-19 19:10:10 +01:00
Klaus K Wilting
a3414c5622 Feature RTC support added (experimental) 2019-01-19 17:53:21 +01:00
Klaus K Wilting
1efaf9a04e board TTGO T-Fox added 2019-01-19 17:52:46 +01:00
Klaus K Wilting
66ef992782 board ttgo t-fox added 2019-01-18 22:19:40 +01:00
Klaus K Wilting
6e5db9236e update hal files 2019-01-12 12:17:29 +01:00
Klaus K Wilting
5ff78d2dc7 update heltec.h, heltecv2.h 2019-01-11 19:27:52 +01:00
Klaus K Wilting
613ec488fe v1.7.11 2019-01-11 18:32:50 +01:00
Klaus K Wilting
48b68653ab BME680 bugfix 2019-01-06 20:05:15 +01:00
Klaus K Wilting
25a97fbbcc BME680 fixes 2019-01-06 19:41:42 +01:00
Klaus K Wilting
0fd36b0051 BME680 state load/save bugfixes 2019-01-01 21:23:45 +01:00
Klaus K Wilting
8267e4e3b6 BME680: bugfix save state 2019-01-01 14:59:00 +01:00
Klaus K Wilting
a0a96b36dd packed_converter.js: bugfix 2019-01-01 13:48:32 +01:00
Klaus K Wilting
fadbd2d38d fixes in ttgobeam_old.h 2018-12-31 21:53:13 +01:00
Klaus K Wilting
998e122f3a BME680 bugfixes 2018-12-31 15:46:52 +01:00
Klaus K Wilting
f26b7a545c bsecstate load/save implemented; bugfix packed_decoder.js 2018-12-31 11:26:05 +01:00
Klaus K Wilting
184e1e7d84 hal files lopy.h, lopy4.h adapted to current pins_arduino.h 2018-12-28 21:04:11 +01:00
Verkehrsrot
ffab2f7743
Merge branch 'master-1.7.0-rc2' into development 2018-12-28 20:31:38 +01:00
Klaus K Wilting
330b3045d4 append gps data to counter data 2018-12-28 20:23:17 +01:00
Klaus K Wilting
76600a86b1 first fully functional integration (experimental) 2018-12-27 17:09:40 +01:00
Klaus K Wilting
eb5dac2dea new bsec tree 2018-12-26 23:21:28 +01:00
Klaus K Wilting
5009ec0563 initial 2018-12-26 23:01:54 +01:00
Klaus K Wilting
7f066f338f changed init order of BME loop 2018-12-26 13:00:32 +01:00
Klaus K Wilting
911f03c6c5 bugfix hal file heltec, heltecv2, lop,y, lopy4 2018-12-25 09:59:04 +01:00
Klaus K Wilting
b328dd61a0 BME680 optimizations 2018-12-22 21:40:43 +01:00
Klaus K Wilting
2940561c26 display.cpp: removed inverse display for send queue length 2018-12-22 18:18:28 +01:00
Klaus K Wilting
2f51a65b8f bugfix lopy.h + lopy4.h 2018-12-22 18:01:45 +01:00
Verkehrsrot
d1303b81dc
Merge branch 'master-1.7.0-rc1' into development 2018-12-22 16:58:26 +01:00
Klaus K Wilting
3140ab9214 v1.7.01 (PSRAM support, timesync off) 2018-12-22 14:37:47 +01:00
Klaus K Wilting
9574a194fd v1.6.996 2018-12-21 00:35:21 +01:00
Klaus K Wilting
48cbcd40cd delay function sanitized 2018-12-19 12:32:25 +01:00
Klaus K Wilting
551737cc89 plain_decoder.js: bugfix 2018-12-18 10:43:59 +01:00
Klaus K Wilting
ea9f462675 plan_decoder.js: bugfix 2018-12-18 10:43:12 +01:00
Klaus K Wilting
a14fb3d2a2 update ttgobeam_new.h 2018-12-17 10:42:58 +01:00
Klaus K Wilting
82c831e4e4 update ttgobeam_new.h 2018-12-17 10:42:34 +01:00
Klaus K Wilting
616d66c5fb ttgobeam HAL files added 2018-12-17 10:30:56 +01:00
Klaus K Wilting
3e68bbd09e v1.6.972: ttgobeamnew.h added 2018-12-17 10:13:08 +01:00
cyberman54
39204ef7fc Lmic AES changed to MbedTLS hw AES (experimental) 2018-12-16 23:36:17 +01:00
Klaus K Wilting
ad33f8fc76 deinit Bluetooth while device starts if not compiled 2018-12-16 16:50:37 +01:00
Klaus K Wilting
9e079fe642 packed_decoder.js: errorhandling NULL input 2018-12-16 15:38:59 +01:00
Klaus K Wilting
dadab1bd14 payload.cpp: bugfix cayenne 2018-12-09 22:11:45 +01:00
Klaus K Wilting
334255849e ttgobeam.h: BME680 disabled by default 2018-12-09 19:36:22 +01:00
Klaus K Wilting
df4a87df5c ttgobeam.h: brownout optional 2018-12-09 19:33:54 +01:00
Klaus K Wilting
2e2f256ea6 ttgobeam.h: brownout disabled 2018-12-09 18:54:48 +01:00
Klaus K Wilting
e733dba9f4 v1.6.991 2018-12-09 13:48:03 +01:00
Verkehrsrot
373656e481
Update heltecv2.h 2018-12-08 11:18:10 +01:00
Klaus K Wilting
664d58bb4f Bluetooth init ode changes 2018-12-02 18:22:57 +01:00
Klaus K Wilting
47579414ac code sanitization 2018-12-02 14:29:32 +01:00
Klaus K Wilting
decb8b7181 change default to bluetooth disabled 2018-12-02 14:08:50 +01:00
Verkehrsrot
557ccdebd0
Merge pull request #216 from cyberman54/development
v1.6.971
2018-11-28 11:44:05 +01:00
Klaus K Wilting
a22823c356 revert to espressif32 v1.5.0 due to wifi and ble packet loss 2018-11-28 11:41:34 +01:00
Verkehrsrot
ee55176e18
Merge pull request #215 from cyberman54/development
bugfix payload decoder packed_decoder.js
2018-11-27 23:25:08 +01:00
Klaus K Wilting
91a49da61e bugfix payload decoder packed_decoder.js 2018-11-27 23:19:59 +01:00
Verkehrsrot
d0390d8ffa
Merge pull request #214 from cyberman54/development
v1.6.97
2018-11-27 21:32:16 +01:00
Klaus K Wilting
2d0f9c3c13 OTA wifi stability improvement 2018-11-27 21:31:20 +01:00
Klaus K Wilting
207eb6bb98 add feature send battery voltage data 2018-11-27 11:21:20 +01:00
Verkehrsrot
09136c296c
Update paxcounter.conf 2018-11-27 10:57:24 +01:00
Verkehrsrot
6d42056cb8
Merge pull request #213 from cyberman54/development
v1.6.95
2018-11-27 10:16:17 +01:00
Klaus K Wilting
72063b88b1 v1.6.95 2018-11-27 10:10:20 +01:00
Klaus K Wilting
e838b53e7a lorawan: code sanitization 2018-11-26 23:56:25 +01:00
Klaus K Wilting
dd9a493df3 lorawan.cpp: small code sanitizations 2018-11-26 23:32:11 +01:00
Klaus K Wilting
556790082c lorawan.cpp: migrated to LMIC MCCI v2.3.0 2018-11-26 22:49:45 +01:00
Verkehrsrot
c8696bfe1a
Merge pull request #212 from cyberman54/development
BME680: bugfix pressure  value conversion; feature temperature offset
2018-11-26 19:25:49 +01:00
Klaus K Wilting
d5565c99e6 BME680: bugfix pressure value conversion; feature temperature offset 2018-11-26 16:12:41 +01:00
Fab-Lab.eu
6374c3ef1e
Update octopus32.h
changed: BME680 I2C pins and LED active status
2018-11-26 08:48:06 +01:00
Klaus K Wilting
4da2260852 BME280 payload corrections 2018-11-25 23:39:12 +01:00
Klaus K Wilting
54dea2e505 ota.cpp: WIFI_STA mode; lorawan.cpp: rssi negative display 2018-11-25 22:16:14 +01:00
Klaus K Wilting
589e185153 BSEC optimization 2018-11-25 21:39:00 +01:00
Klaus K Wilting
f024361c19 BSEC configuration 2018-11-25 20:56:14 +01:00
Klaus K Wilting
e2c975178a payload converter fixes 2018-11-25 19:16:31 +01:00
Klaus K Wilting
320ec01c14 BME280 fixes 2018-11-25 18:27:20 +01:00
Klaus K Wilting
75fb08e72c v1.6.85 2018-11-25 16:35:36 +01:00
Klaus K Wilting
b85dc829a5 Bosch BSEC integration completed 2018-11-25 16:05:30 +01:00
Klaus K Wilting
165f2813f5 testing 2018-11-25 12:49:49 +01:00
Klaus K Wilting
222dfb5a95 BSEC integration (experimental) 2018-11-25 11:48:03 +01:00
Klaus K Wilting
8f201e066f BOSCH BSEC integration 2018-11-22 23:37:53 +01:00
Klaus K Wilting
34dfb6d1d1 sensor.cpp: move sensorbuffer 2018-11-21 11:12:39 +01:00
Klaus K Wilting
6463eeb415 bugfix rcommand.cpp in set_sensor() 2018-11-20 21:24:35 +01:00
Klaus K Wilting
b8e7b4bf48 OTA improvements 2018-11-20 21:03:03 +01:00
Klaus K Wilting
12ad60a0a8 sensor init 2018-11-20 16:48:35 +01:00
Klaus K Wilting
1a24689652 rcommand 0x13 user sensor on/off 2018-11-20 15:44:33 +01:00
Klaus K Wilting
467f6d70f8 created: usersensor, bme680 bsec, update arduino-esp32 core 2018-11-20 15:02:37 +01:00
Klaus K Wilting
4e6c2b8b38 Merge branch 'sensor-development' of https://github.com/cyberman54/ESP32-Paxcounter into sensor-development 2018-11-19 00:42:58 +01:00
Klaus K Wilting
26082740af payloadmask 2018-11-19 00:41:15 +01:00
Verkehrsrot
42a30b622b
Merge pull request #203 from cyberman54/development
merge development v1.6.82
2018-11-18 21:03:47 +01:00
Klaus K Wilting
bf62d448ac BME680: added cyclic sensor data transmit 2018-11-18 16:45:33 +01:00
Klaus K Wilting
8ba97afa83 BME680: removed altitude (makes no sence without calibration on node) 2018-11-18 16:04:40 +01:00
Klaus K Wilting
06dcad6484 payload decoder reworked for BME680 support 2018-11-18 15:50:57 +01:00
Klaus K Wilting
02b3f1e2d4 bugfix cayenne encoding 2018-11-18 12:09:18 +01:00
Klaus K Wilting
2e51071d87 bugfix payload port 2018-11-17 22:49:14 +01:00
Klaus K Wilting
ddd5764a8b BME 680 support: payload converters addes 2018-11-17 21:39:49 +01:00
Klaus K Wilting
2b96f6e0bf BME680 support (experimental) 2018-11-17 18:30:19 +01:00
Klaus K Wilting
889ffe3a51 cyclic.cpp, lorawan.cpp: code sanitization 2018-11-16 09:52:26 +01:00
Klaus K Wilting
3e5a0e4058 add time sync cycle (experimental) 2018-11-16 09:43:47 +01:00
Klaus K Wilting
9c66167303 BME680 support (experimental) 2018-11-14 23:10:59 +01:00
Klaus K Wilting
4ae4633a15 BME680 support (experimental); LoRa Time sync (experimental) 2018-11-14 22:11:23 +01:00
Verkehrsrot
80dd7310cc
Update comments in spislave.cpp 2018-11-12 13:16:23 +01:00
Christian Ambach
97c71428a6 spi_slave: run code formatter
Signed-off-by: Christian Ambach <christian.ambach@deutschebahn.com>
2018-11-12 11:37:10 +01:00
Christian Ambach
3cd43710e6 spi_slave: re-enable checksum for payload
Signed-off-by: Christian Ambach <christian.ambach@deutschebahn.com>
2018-11-12 11:34:26 +01:00
Christian Ambach
18b44f2208 spi_slave: fix calculation of buffer size
the previous calculation added 4 additional bytes to the buffers
when the length was already dividable by 4.

Signed-off-by: Christian Ambach <christian.ambach@deutschebahn.com>
2018-11-12 11:29:23 +01:00
Klaus K Wilting
96783826d8 rcommand.cpp: delay before restart 2018-11-10 18:32:16 +01:00
Klaus K Wilting
a66021a848 battery.cpp: bugfix compiler directives 2018-11-05 22:15:15 +01:00
Klaus K Wilting
22577ea92a battery.cpp sanitized 2018-11-05 21:43:22 +01:00
Klaus K Wilting
b0fa5e9021 OTA battery check 2018-11-05 21:40:07 +01:00
Klaus K Wilting
8ae5b6e970 ota.cpp: improved software version comparision function 2018-11-05 21:27:28 +01:00
Klaus K Wilting
bfd91f4545 ota.cpp: wifi reconnect improved 2018-11-05 16:06:17 +01:00
Klaus K Wilting
af0f3a78fd OTA improved (LED flashing, faster buffer closing at end of write) 2018-11-05 15:28:26 +01:00
Klaus K Wilting
9fa2f974c3 OTA timeout problem fixed by workaround 2018-11-05 13:13:31 +01:00
Klaus K Wilting
9c1be4c557 ota.cpp: bugfix 2018-11-05 00:32:38 +01:00
Klaus K Wilting
d17638ad90 ota.cpp: control flow 2018-11-05 00:30:32 +01:00
Klaus K Wilting
cbc846d30b ota.cpp: fixed timeout 2018-11-05 00:03:47 +01:00
Klaus K Wilting
26f4bd8f09 ota.cpp: streaming timeout changed 2018-11-04 21:12:19 +01:00
Klaus K Wilting
f2513584e2 ota.cpp: stream timeout changed 2018-11-04 21:10:33 +01:00
Klaus K Wilting
4a9db7a4c0 ota.cpp: shortened log texts 2018-11-04 21:02:37 +01:00
Klaus K Wilting
c061f3f586 ota.cpp small fixes 2018-11-04 20:51:48 +01:00
Klaus K Wilting
3d93a44c96 further ota code sanitization (delete update.cpp/.h) 2018-11-04 20:30:03 +01:00
Klaus K Wilting
26ea8621c2 ota.cpp: bugfix 2018-11-04 19:54:09 +01:00
Klaus K Wilting
3aa8a88d3a ota.cpp restructured; .h file sanitization 2018-11-04 19:25:11 +01:00
Klaus K Wilting
5793b3c811 paxcounter.conf: reduced WIFI_MAX_TRY 2018-11-04 15:12:39 +01:00
Klaus K Wilting
5d5531e3af lorawan.cpp: bugfix logging 2018-11-04 14:55:30 +01:00
Klaus K Wilting
7ae82d1881 spislave.cpp: small fixes 2018-11-04 13:58:35 +01:00
Klaus K Wilting
577cdc9497 lolin32lite.h: LED pin corrected 2018-11-04 13:22:03 +01:00
Klaus K Wilting
e8afc10a93 lopy4.h sanitized 2018-11-04 12:25:50 +01:00
Klaus K Wilting
02b2bf2d4f spislave.cpp: processing of rx data added 2018-11-04 11:55:25 +01:00
Klaus K Wilting
8e3805a63b SPI slave integration (experimental) 2018-11-03 20:44:54 +01:00
Klaus K Wilting
0cc98a2e24 SPI slave integration 2018-11-03 20:29:02 +01:00
Christian Ambach
a3750ef01b add SPI slave support
Set up SPI slave transactions for entries in the SPI send queue.
Add a header to each SPI datagram that includes a CRC16,
the type and the size of the message that follows.

Does not act on received bytes (yet).

Signed-off-by: Christian Ambach <christian.ambach@deutschebahn.com>
2018-11-02 17:10:59 +01:00
Christian Ambach
bf3516bf45 fix the build for devices without LoRa
Signed-off-by: Christian Ambach <christian.ambach@deutschebahn.com>
2018-11-02 12:10:32 +01:00
Christian Ambach
4cab5113ca Revert "SPI code added (experimental)"
This reverts commit 16759c4dd5.
2018-11-02 12:09:12 +01:00
Christian Ambach
3af348fb65 Revert "SPI wire interface (experimental)"
This reverts commit 00b1faab83.
2018-11-02 12:09:06 +01:00
Klaus K Wilting
dbb91b1a40 heltecv2.h: pinout corrected 2018-11-02 08:39:45 +01:00
Klaus K Wilting
e8c5b1b478 payload.cpp: bugfix monitormode in config status 2018-10-31 19:49:01 +01:00
Klaus K Wilting
88c1dd4e0c rcommand.cpp: bugfix set_countmode() 2018-10-27 22:40:17 +02:00
Klaus K Wilting
00b1faab83 SPI wire interface (experimental) 2018-10-27 21:38:08 +02:00
Klaus K Wilting
16759c4dd5 SPI code added (experimental) 2018-10-27 13:51:59 +02:00
Klaus K Wilting
b4cbf8bdd9 LED control improved 2018-10-24 18:07:41 +02:00
Klaus K Wilting
efaba3775b main.cpp: added AU921 subband select 2018-10-23 08:56:34 +02:00
Klaus K Wilting
a1976368f8 lorawan.cpp: code sanitization 2018-10-22 19:42:27 +02:00
Klaus K Wilting
0cea410e37 lorawan.cpp: support added for switching SF worldwide 2018-10-22 19:38:26 +02:00
Klaus K Wilting
2be4721c68 added worlwide band support; modified join procedure 2018-10-22 14:06:47 +02:00
Klaus K Wilting
82eb2b5cff display.cpp: SF texts for worldwide bands added 2018-10-22 13:43:19 +02:00
Klaus K Wilting
15d410b750 hal file comments edited 2018-10-21 22:24:45 +02:00
Klaus K Wilting
dff56b5bef make SPI LORA pins configurable in hal-files 2018-10-21 22:16:29 +02:00
Klaus K Wilting
f670bc1f63 project migrated to arduino LMIC 1.6 MCCI 2018-10-21 19:00:20 +02:00
Klaus K Wilting
7b666b2737 eboxtube.h added; renamed GPS_QUECTEL_L76 to GPS_I2C 2018-10-20 09:58:53 +02:00
Klaus K Wilting
6d1d358a56 call LMIC_shutdown before ESP.restart 2018-10-17 07:10:37 +02:00
Klaus K Wilting
ebfc16219b LED color change 2018-10-16 08:48:09 +02:00
Klaus K Wilting
32a42dda2d fixed issue #160 2018-10-14 15:17:50 +02:00
Klaus K Wilting
a7c1d12eb2 Code Sanitization 2018-10-14 13:26:23 +02:00
Verkehrsrot
2cf6545c9c
Update ttgobeam.h 2018-10-14 09:54:37 +02:00
Klaus K Wilting
7b39044dc1 fix in GPS Sats display format 2018-10-06 22:45:35 +02:00
Klaus K Wilting
42172596e8 Merge branch 'master' of https://github.com/cyberman54/ESP32-Paxcounter 2018-10-06 21:37:33 +02:00
Klaus K Wilting
464db72198 heltecv2.h added; edits in lopy.h and lopy4.h 2018-10-06 21:37:27 +02:00
Fab-Lab.eu
c1bc56bdf9
Create octopus32.h
With this config you an run the paxcounter on a #IoT Octopus32 or an Adafruit ESP32 Feather
2018-10-06 20:55:17 +02:00
Klaus K Wilting
d587a8b874 code sanitization 2018-10-04 23:24:34 +02:00
Klaus K Wilting
a5797ad8c4 code sanitization 2018-10-04 23:00:47 +02:00
Klaus K Wilting
ae92bf377d code sanitization 2018-10-04 22:59:02 +02:00
Klaus K Wilting
30d22aa896 irq handling reworked (using tasknotify instead of semaphores) 2018-10-04 22:08:54 +02:00
Klaus K Wilting
6e47a60f32 code sanitization 2018-10-03 23:07:22 +02:00
Klaus K Wilting
219f2347da code sanitizations 2018-10-03 20:18:01 +02:00
Klaus K Wilting
1eceea2686 new lmic tasking 2018-10-03 16:24:45 +02:00
Klaus K Wilting
e5df1013b3 v1.5.18 (improved tasking, lmic has now core1 exclusive) 2018-10-03 00:25:05 +02:00
Klaus K Wilting
62d6d865b3 ota.cpp: text in display mask modified 2018-09-30 23:11:25 +02:00
Klaus K Wilting
15f7f2fd85 v1.5.13 2018-09-30 22:06:10 +02:00
Klaus K Wilting
16efbb0c90 edit ttgov21old.h 2018-09-30 19:39:58 +02:00
Klaus K Wilting
1c2fca392b edit lopy4.h 2018-09-30 18:02:05 +02:00
Klaus K Wilting
7858270d94 edit lopy.h 2018-09-30 17:50:45 +02:00
Klaus K Wilting
52e4dbca28 edit lopy4.h 2018-09-30 17:48:51 +02:00
Klaus K Wilting
240212afb9 edit HAL file ttgov21old.h 2018-09-30 16:49:31 +02:00
Klaus K Wilting
4b80667f03 edit HAL ttgo21old.h (removied display flip) 2018-09-30 16:20:19 +02:00
Klaus K Wilting
afc464d3f7 improved wifi sniffing (use all frames not only mgmt) 2018-09-30 15:54:17 +02:00
Klaus K Wilting
43b4946252 timing improvements (separate mutexes for IRQ; Loraloop higher prio) 2018-09-30 15:08:00 +02:00
Klaus K Wilting
bad2331a6b ota battery check disabled; v1.5.8 2018-09-30 11:54:45 +02:00
Klaus K Wilting
6ed5368098 edit HAL files lopy.h / lopy4.h 2018-09-29 19:26:24 +02:00
Klaus K Wilting
e18a78c360 edit hal/lopy4.h 2018-09-28 08:26:37 +02:00
Klaus K Wilting
a3f35a6eca modified DEVEUI Generator & added Lmic PR #197 2018-09-27 22:04:51 +02:00
Klaus K Wilting
8125662753 ota battery check modified 2018-09-27 21:13:18 +02:00
Klaus K Wilting
b22fd808b8 task stack sizes tailored; semaphore controlled wifi task 2018-09-27 15:13:15 +02:00
Klaus K Wilting
cb4870bce5 testing 2018-09-27 14:01:23 +02:00
Klaus K Wilting
5d883e12f6 improvements to LoPy/LoPy4 HAL files (button+LED) 2018-09-24 22:49:55 +02:00
Klaus K Wilting
c7445f0a1e make OTA selectable 2018-09-24 16:36:11 +02:00
Klaus K Wilting
8985ee3603 code sanitization (volatiles check) 2018-09-23 22:12:10 +02:00
Klaus K Wilting
d4d6a7ea07 battery check before ota 2018-09-23 18:45:46 +02:00
Klaus K Wilting
25d307e820 code sanitization 2018-09-23 18:07:40 +02:00
Klaus K Wilting
5323f82bee code sanitization 2018-09-23 16:45:54 +02:00
Klaus K Wilting
9dd7a6279d OTA.h -> ota.h 2018-09-23 15:21:56 +02:00
Klaus K Wilting
a411cac7fe ota.cpp: showing update progress 2018-09-23 15:07:00 +02:00
Klaus K Wilting
cf3ec23ef9 code sanitization (statemachine.cpp) 2018-09-22 21:26:11 +02:00
Klaus K Wilting
7a53b724cb ota.cpp: display dialog while updating 2018-09-22 19:39:31 +02:00
Klaus K Wilting
f1e3e8ffa1 update.h 2018-09-22 17:06:31 +02:00
Klaus K Wilting
2e38cda6ac ota update stabilized 2018-09-22 17:05:09 +02:00
Klaus K Wilting
8e2ace3adf main.cpp: moved LED control to loop() 2018-09-22 13:43:12 +02:00
Klaus K Wilting
e553dc70a2 comments in main.cpp 2018-09-22 12:25:03 +02:00
Klaus K Wilting
ff759e1533 restructured wifi channel rotation 2018-09-22 12:20:24 +02:00
Klaus K Wilting
5678a5b23c v1.5.0 2018-09-21 19:30:02 +02:00
Klaus K Wilting
5b9327512b tasking + statemachine restructured 2018-09-21 18:23:34 +02:00
Klaus K Wilting
67832da09d Timer bugfix (issue #145 #148) 2018-09-21 12:25:52 +02:00
Klaus K Wilting
ebc3aac991 gps-code restructured, i2c gps now working 2018-09-20 19:36:32 +02:00
Klaus K Wilting
bf30092f54 gps code bugfixed; new vendor filter data 2018-09-20 17:33:52 +02:00
Klaus K Wilting
a0377a315c gps.cpp, lorawan.cpp: i2c bugfixes (issue #156) 2018-09-20 13:23:22 +02:00
Klaus K Wilting
a0c15c1fa1 code sanitization (i2c pins renamed) 2018-09-20 12:53:58 +02:00
Klaus K Wilting
902eeb1414 lorawan.cpp: prepared bugfix for DEVEUI generator 2018-09-19 19:36:41 +02:00
Klaus K Wilting
0dc3f1cf4f lorawan.cpp: prepared bugfix in DEVEUI generator 2018-09-19 19:34:02 +02:00
Klaus K Wilting
adef8fc9ce ota.sample.conf 2018-09-19 13:54:51 +02:00
Klaus K Wilting
22aef4c925 sample_ota.conf 2018-09-19 13:54:14 +02:00
Klaus K Wilting
8d65c84d16 ota.conf 2018-09-19 13:52:14 +02:00
Verkehrsrot
8026d4426b
Rename ota.conf.txt to ota.conf 2018-09-19 13:49:21 +02:00
Verkehrsrot
421b5786e3
Add files via upload 2018-09-19 13:48:33 +02:00
Klaus K Wilting
8f36b313e3 ignore ota.conf 2018-09-19 13:33:48 +02:00
Klaus K Wilting
c33112c3b4 ota.cpp bugfix 2018-09-19 11:38:29 +02:00
Verkehrsrot
8b2e155576
Rename ota.sample.conf to ota.conf 2018-09-19 11:04:23 +02:00
Klaus K Wilting
7b6c2f1090 ota.cpp: bugfix 2018-09-19 01:35:20 +02:00
Klaus K Wilting
d80d1e24e9 ota.cpp: added a retry loop for write-to-flash 2018-09-18 22:58:02 +02:00
Verkehrsrot
14957bea96
Rename OTA.h to ota.h 2018-09-18 17:25:44 +02:00
Verkehrsrot
ce1b774d28
Rename OTA.cpp to ota.cpp 2018-09-18 17:25:18 +02:00
Klaus K Wilting
2201e48800 build.py, ota.conf, platformio.ini 2018-09-18 17:23:56 +02:00
Klaus K Wilting
6052588af0 TTN decoders updated 2018-09-17 22:03:03 +02:00
Klaus K Wilting
52efcb7b01 TTN decoders updated 2018-09-17 21:57:01 +02:00
Klaus K Wilting
bd724557c1 v1.4.32 2018-09-17 17:23:02 +02:00
Klaus K Wilting
21621e54d5 code sanitization (vTaskDelay) 2018-09-16 17:39:18 +02:00
cyberman54
fb7c32e5c8 OTA (experimental) 2018-09-16 12:18:11 +02:00
Klaus K Wilting
0667ee5744 OTA (experimental) 2018-09-15 21:10:11 +02:00
Verkehrsrot
414dd02f1d
Merge pull request #153 from cyberman54/master
sync dev to master
2018-09-15 20:04:42 +02:00
Klaus K Wilting
b12ed126b7 OTA (experimental) 2018-09-15 18:59:20 +02:00
Klaus K Wilting
2c1dd22555 ota first test 2018-09-15 16:29:52 +02:00
Klaus K Wilting
8876c58b12 merge 2018-09-15 14:49:19 +02:00
Klaus K Wilting
38dc2667ab ota-test first push 2018-09-15 14:47:13 +02:00
Verkehrsrot
8999c77579
Merge branch 'ota-test' into development 2018-09-15 14:45:23 +02:00
Verkehrsrot
177ead5bee
Merge pull request #144 from cyberman54/development
bugfix ttgov21.h
2018-09-09 17:20:07 +02:00
Klaus K Wilting
c963dbe1c6 bugfix in ttgov21.h 2018-09-09 17:13:12 +02:00
Verkehrsrot
11f8895c6a
Merge pull request #143 from cyberman54/development
TTGO 21 v1.6 support added
2018-09-08 13:57:50 +02:00
cyberman54
e4e5cc98e1 sanitizations 2018-09-08 13:56:08 +02:00
cyberman54
25d42d4253 edits ttgov21.h 2018-09-08 13:12:37 +02:00
cyberman54
468d054fd2 support TTGO21 v1.6 added 2018-09-08 12:33:32 +02:00
cyberman54
e68126a7f6 testing 2018-08-18 16:28:33 +02:00
Klaus K Wilting
7a58c8dece testing 2018-08-16 21:10:13 +02:00
Verkehrsrot
cf6781e7e9
Merge pull request #140 from cyberman54/development
Bugfix issue #139
2018-08-14 22:29:54 +02:00
cyberman54
b9327100f2 rcommand.cpp: bugfix issue #139 2018-08-14 22:28:34 +02:00
Klaus K Wilting
f659d18390 bugfix rcommand.cpp (illegal commands chrash) 2018-08-14 15:39:36 +02:00
Klaus K Wilting
83a86fdf15 bug fixed in payload.h (issue #138) 2018-08-13 18:42:48 +02:00
Klaus K Wilting
0ee138b022 JFrog Bintray OTA (experimental, not working yet) 2018-08-12 23:42:39 +02:00
Klaus K Wilting
c1389427a1 Merge branch 'development' of https://github.com/cyberman54/ESP32-Paxcounter into development 2018-08-12 15:43:08 +02:00
Klaus K Wilting
cc603d4ab8 testing 2018-08-12 15:42:58 +02:00
Verkehrsrot
0318987a4e
Bugfix main.cpp introduced with last commit 2018-08-12 13:44:29 +02:00
Klaus K Wilting
5099d25965 testing 2018-08-12 00:17:57 +02:00
Klaus K Wilting
8873a7ce70 cpu temp reduced to 8bit 2018-08-11 21:47:51 +02:00
Verkehrsrot
e0de50acd8
Merge branch 'master' into development 2018-08-11 19:33:45 +02:00
Klaus K Wilting
5880b7e9ff v1.4.23 2018-08-11 19:31:42 +02:00
Klaus K Wilting
fcd9357116 small code sanitizations 2018-08-11 19:12:04 +02:00
Klaus K Wilting
d704acc3e5 link check disabled; SendBuffer no more global (does not solve mem leak) 2018-08-10 16:33:47 +02:00
Klaus K Wilting
5fbcd0aebb Queue wait time 2018-08-08 00:05:38 +02:00
Klaus K Wilting
0e6b6fb025 rcommand.cpp: code sanitization 2018-08-07 22:39:49 +02:00
Verkehrsrot
3c94fb211f
Merge pull request #134 from cyberman54/development
Link check validation disabled after join
2018-08-07 21:12:08 +02:00
Klaus K Wilting
af62c8fb11 Link check validation disabled after join 2018-08-07 21:10:34 +02:00
Klaus K Wilting
482066eac9 cleanups main.cpp 2018-08-06 08:22:04 +02:00
Klaus K Wilting
cd63d4164b rcommand.h edited 2018-08-06 08:19:19 +02:00
Klaus K Wilting
5413347e35 src\hal\ebox.h edit 2018-08-05 23:07:13 +02:00
Klaus K Wilting
63a063f9bc v1.4.2 2018-08-05 17:49:53 +02:00