Mathias Gottschlag
|
367cbe1267
|
base-station: Reply to GetSalt requests.
|
5 anos atrás |
Mathias Gottschlag
|
44ef7e57c5
|
rust-protocol: Add first part of packet encoding.
|
5 anos atrás |
Mathias Gottschlag
|
a93ab30bb9
|
base-station: Restructure radio code.
|
5 anos atrás |
Mathias Gottschlag
|
42981822eb
|
.gitignore: Ignore rust-protocol library compiler output.
|
5 anos atrás |
Mathias Gottschlag
|
eccba895bf
|
base-station: Use rust-protocol library for packet handling.
|
5 anos atrás |
Mathias Gottschlag
|
255cb55f3c
|
README: Document GetSalt packet.
|
5 anos atrás |
Mathias Gottschlag
|
0ef7cc7216
|
rust-protocol: Add GetSalt, fix decoding, derive Debug.
|
5 anos atrás |
Mathias Gottschlag
|
50c643ebfa
|
Add a library for packet encoding/decoding in Rust.
|
5 anos atrás |
Mathias Gottschlag
|
f3e2e2ccb6
|
display: Use write!() in display code.
Only 100-200 bytes more flash usage.
|
5 anos atrás |
Bernd Gottschlag
|
05696f7e74
|
Fix decryption bug
|
5 anos atrás |
Bernd Gottschlag
|
1381cb6634
|
Add encryption for the sent packet
|
5 anos atrás |
Bernd Gottschlag
|
3a21aef881
|
Rework the makefile and optimize the code for flash space
|
5 anos atrás |
Bernd Gottschlag
|
8a49c011c9
|
Update packet protocoll
|
5 anos atrás |
Bernd Gottschlag
|
58a48e5230
|
Fix order of the element count and packet type bit field
|
5 anos atrás |
Bernd Gottschlag
|
e435620c91
|
Add a new packet format with the calculation of the CRC
|
5 anos atrás |
Bernd Gottschlag
|
c86399b66e
|
Add the calculation of a crc
The algorith used is for the CRC-16-CCITT, also known as CRC-KERMIT.
|
5 anos atrás |
Bernd Gottschlag
|
30fe01bb9e
|
Generate an ID according to the dip switches
The ID is used as the last byte of the RX address. It is also sent as a
part of the data packet to allow assigning the sending station to a
packet.
|
5 anos atrás |
Bernd Gottschlag
|
3dcfae6196
|
Change the way the TX and RX addresses are written to the nrf24l01
|
5 anos atrás |
Bernd Gottschlag
|
fa580c8af7
|
Add ToDos to the schematic
Several issues were found after receiving the PCBs that should be
rectified for the next version.
|
5 anos atrás |
Bernd Gottschlag
|
e7bfca4363
|
Use the IRQ signal from the nrf24l01 instead of polling the status
This is done to avoid transmission erros as described in
https://forum.mysensors.org/topic/10452/nrf24l01-communication-failure-root-cause-and-solution
|
5 anos atrás |
Mathias Gottschlag
|
8f05bab10e
|
Implement reading values from the BME280.
|
5 anos atrás |
Mathias Gottschlag
|
7ad34f1038
|
Fix disabling display power.
|
5 anos atrás |
Mathias Gottschlag
|
3afa50a051
|
Rename display pins and group BME280 pins.
|
5 anos atrás |
Mathias Gottschlag
|
da228540d8
|
base-station: Simplify decryption.
|
5 anos atrás |
Bernd Gottschlag
|
ed128699b7
|
Implement cipher block chaining for the decryption of packets
|
5 anos atrás |
Mathias Gottschlag
|
62a7d7210a
|
display: Show dummy weather station values.
|
5 anos atrás |
Bernd Gottschlag
|
8f2658655e
|
Merge branch 'master' of git.gottschlag.net:bernd/smart-home
|
5 anos atrás |
Bernd Gottschlag
|
207868cdda
|
Add simple decryption of the data packets
The cipher block chaining is not yet implemented
|
5 anos atrás |
Mathias Gottschlag
|
8a20cd3318
|
display: More drawing code.
|
5 anos atrás |
Mathias Gottschlag
|
86f451d51c
|
display: cargo update, and use tinygfx instead of embedded-epd library.
|
5 anos atrás |
Bernd Gottschlag
|
ae3b470844
|
Update packet handling protocol
The packets are not yet encrypted
|
5 anos atrás |
Mathias Gottschlag
|
0d48079851
|
display: Restructure the program (with multiple software tasks).
|
5 anos atrás |
Mathias Gottschlag
|
e9f89f739f
|
display: Revert to simple EPD display example code.
|
5 anos atrás |
Mathias Gottschlag
|
d3cc04db76
|
display: Update toolchain.
|
5 anos atrás |
Mathias Gottschlag
|
a6b8646090
|
display: Fix pins/SPI and configure some default pin states.
|
5 anos atrás |
Mathias Gottschlag
|
ea8c4889f0
|
display: Fix project name and add epd-waveshare dependency.
|
5 anos atrás |
Bernd Gottschlag
|
dcd6ee4e24
|
Disable the MQTT connection
|
5 anos atrás |
Bernd Gottschlag
|
65f5893bc4
|
Change the address of the nrf24l01 and the packet format
|
5 anos atrás |
Bernd Gottschlag
|
a864df322d
|
Add further information to the README
|
5 anos atrás |
Mathias Gottschlag
|
9089fef433
|
Describe the remaining protocol.
|
5 anos atrás |
Mathias Gottschlag
|
1dde4df49d
|
More protocol description, enough to implement sensor reports.
|
5 anos atrás |
Mathias Gottschlag
|
3c0b03f73d
|
First part of protocol documentation.
|
5 anos atrás |
Bernd Gottschlag
|
b837785f8e
|
Add range checks for the received values and fix formatting
|
5 anos atrás |
Bernd Gottschlag
|
f7bfdf101c
|
Add definitions of the IRQ pin to the nrf24l01
|
5 anos atrás |
Bernd Gottschlag
|
1dd0f89149
|
Fix pin definitions of the interface to the nrf24l01
|
5 anos atrás |
Bernd Gottschlag
|
011303042b
|
Remove a variable that caused a compiler warning
|
5 anos atrás |
Bernd Gottschlag
|
f1b0ebf618
|
Move SPI initialization and pin definitions to spi.c
|
5 anos atrás |
Bernd Gottschlag
|
204ff8d220
|
Add power save mode and send messages every 7.5s
|
5 anos atrás |
Bernd Gottschlag
|
0c03c24fcd
|
Change the MCU to the Atmega88
The pin definitions are updated and the uart debug interface is removed
as it is not present on the actual board.
|
5 anos atrás |
Bernd Gottschlag
|
ddb5b0426e
|
Send the data from the BME280 with the NRF24L01
|
5 anos atrás |