Commit Graph

2568 Commits

Author SHA1 Message Date
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
Verkehrsrot
8a53ed0602
Merge pull request #202 from cyberman54/development
SPI slave code fixes
2018-11-12 12:00:47 +01:00
Verkehrsrot
dbc3d28d31
Merge pull request #201 from der-ambi/SPI_fixes
some SPI Slave fixes
2018-11-12 11:59:04 +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
Verkehrsrot
a51d9f77ae
Merge pull request #200 from cyberman54/development
v1.6.62
2018-11-08 21:10:33 +01:00
Oliver Brandmueller
203a9d5753 Merge branch 'master' of https://github.com/cyberman54/ESP32-Paxcounter 2018-11-07 20:49:43 +01:00
Klaus K Wilting
8d2aeaca9f update platformio-espressif32 v1.5.0 2018-11-05 23:09:26 +01:00
Klaus K Wilting
a66021a848 battery.cpp: bugfix compiler directives 2018-11-05 22:15:15 +01:00
Klaus K Wilting
bb9da23905 v1.6.62 2018-11-05 22:00:01 +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
Verkehrsrot
8963aeccb9
Merge pull request #199 from cyberman54/SPI-slave-development
v1.6.6
2018-11-05 17:32:40 +01:00
Klaus K Wilting
4370abe824 v1.6.6 2018-11-05 17:27:17 +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
7ff537bb34 readme.md updated 2018-11-04 20:35:41 +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
8373f9107b spislave.h corrected 2018-11-03 20:49:45 +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
Klaus K Wilting
a30f0bcf86 main.cpp: pointer initialization 2018-11-03 20:08:48 +01:00
Verkehrsrot
85a180206a
Merge pull request #196 from der-ambi/spi_on_development_3110
Spi on development 3110
2018-11-03 20:08:05 +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
a8043b8d65 set log level for LOG_LOCAL_LEVEL
otherwise log functions like ESP_LOG_BUFFER_HEXDUMP will not use
the defined log level

Signed-off-by: Christian Ambach <christian.ambach@deutschebahn.com>
2018-11-02 12:09:17 +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
Verkehrsrot
cd756af443
Merge pull request #195 from cyberman54/development
v1.6.53
2018-11-02 08:41:49 +01:00