Commit Graph

13 Commits

Author SHA1 Message Date
Klaus K Wilting
06a1775779 added priority control for lora and spi sendqueue 2019-02-03 14:12:21 +01:00
Klaus K Wilting
e733dba9f4 v1.6.991 2018-12-09 13:48:03 +01:00
Verkehrsrot
b921731013
Merge pull request #204 from cyberman54/development
v1.6.82
2018-11-19 15:34:26 +01:00
Klaus K Wilting
2e51071d87 bugfix payload port 2018-11-17 22:49:14 +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
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
02b2bf2d4f spislave.cpp: processing of rx data added 2018-11-04 11:55:25 +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