Mathias Gottschlag
5fdb6c2b02
display: First part of fetching values from the base station.
5年前
Mathias Gottschlag
b82214e974
display: Implement fast refresh (WIP, requires better UI code).
5年前
Bernd Gottschlag
9cc2488996
Put send functions into a separate file
5年前
Bernd Gottschlag
4f83ec8bef
Add handling of the salt
On start-up the sensor sends a Get_Salt-message to the base station. The
base station responds and sends the salt, which the sensor uses from
there on.
5年前
Bernd Gottschlag
b31efd8359
Fix decryption function
5年前
Bernd Gottschlag
08546c2e36
Re-enable dynamic packet length
The nrf24l01 used on the boards is probably a counterfeit chip. It
cannot acknowledge received packets (probably a bit flip of the NO_ACK
bit described here:
https://ncrmnt.org/2015/03/13/how-do-i-cost-optimize-nrf24l01/ ) if the
dynamic packet length is disabled.
5年前
Bernd Gottschlag
fe5cd5fc86
Add delay after setting the pull ups for pin programming
Without it the bits are sometimes read incorrectly.
5年前
Bernd Gottschlag
9694fa3913
Fix the rx0 address
The address was set for the wrong address and thus the module could not
receive acks from the base station
5年前
Bernd Gottschlag
f78e2f65c6
Disable the dynamic packet length
The packet length is now fixed to 32 bytes.
5年前
Bernd Gottschlag
608a6ee253
Fix generation of the salt
5年前
Mathias Gottschlag
5a5f722287
display: Add update timer.
5年前
Mathias Gottschlag
d0b4b5b256
base-station: Fix NRF24L01 initialization errors.
The power cycling needs to be performed with CS high.
5年前
Mathias Gottschlag
71e2b5083d
display: Disable dynamic packet lengths.
Improves compatibility with counterfeit "NRF24L01" chips.
5年前
Mathias Gottschlag
223442b0a6
Implement RX interrupt handling using gpio-cdev.
Sending still uses busy waiting, using interrupts there requires some
additional restructuring.
5年前
Mathias Gottschlag
50f4c6efb6
base-station: Enable dynamic packet length.
Improves compatibility with counterfeit "NRF24L01" chips.
5年前
Bernd Gottschlag
ab498f16eb
WIP: rebuild assembly
5年前
Bernd Gottschlag
9070abc2b0
Increase the thickness of the acryl glass pane
5年前
Bernd Gottschlag
35242eeffd
Redesign the enclosure based on the finished pcb design
5年前
Bernd Gottschlag
e0f89a4867
Add first version of the enclosure
5年前
Mathias Gottschlag
42de2d686c
display: Fix reported humidity.
5年前
Mathias Gottschlag
1344ba308b
base-station: Reimplement radio code.
5年前
Mathias Gottschlag
c4e88e5549
base-station: Add documentation comments.
5年前
Mathias Gottschlag
2325b6e49c
base-station: Implement storing/retrieving the most recent set of values.
5年前
Mathias Gottschlag
20571080a3
rust-protocol: More #[derive]s (for hashing/comparison).
5年前
Mathias Gottschlag
ea8a5e0b04
rust-protocol: Add functions to convert between Value and (ValueType, i64).
5年前
Mathias Gottschlag
6491884eba
display: Cargo.lock
5年前
Mathias Gottschlag
b098fa1ee4
Place keys in .gitignore.
5年前
Mathias Gottschlag
4afb52c5be
base-station: First part of refactoring to use tokio and InfluxDB.
5年前
Mathias Gottschlag
f5e23486a9
base-station: Power-cycle module until it responds.
5年前
Mathias Gottschlag
5a62bd1299
display: Add some radio code to fetch a salt and send the first report.
5年前
Mathias Gottschlag
65664d2b93
rust-protocol: Fix return value.
5年前
Mathias Gottschlag
e36c766458
rust-protocol: Fix value in Salt packets.
5年前
Mathias Gottschlag
9aefb20f2c
rust-protocol: Fix checksum.
5年前
Mathias Gottschlag
b2dfe684f6
rust-protocol: Implement a simple unit test.
5年前
Mathias Gottschlag
ce0896f5c0
rust-protocol: Let decode functions return errors for easier debugging.
5年前
Mathias Gottschlag
c9795dd80a
base-station: Fix NRF24 driver version.
5年前
Mathias Gottschlag
4a0d41a764
base-station: Fix RX address.
5年前
Mathias Gottschlag
c1ffd88f6b
rust-protocol: Implement encoding report packets.
5年前
Mathias Gottschlag
367cbe1267
base-station: Reply to GetSalt requests.
5年前
Mathias Gottschlag
44ef7e57c5
rust-protocol: Add first part of packet encoding.
5年前
Mathias Gottschlag
a93ab30bb9
base-station: Restructure radio code.
5年前
Mathias Gottschlag
42981822eb
.gitignore: Ignore rust-protocol library compiler output.
5年前
Mathias Gottschlag
eccba895bf
base-station: Use rust-protocol library for packet handling.
5年前
Mathias Gottschlag
255cb55f3c
README: Document GetSalt packet.
5年前
Mathias Gottschlag
0ef7cc7216
rust-protocol: Add GetSalt, fix decoding, derive Debug.
5年前
Mathias Gottschlag
50c643ebfa
Add a library for packet encoding/decoding in Rust.
5年前
Mathias Gottschlag
f3e2e2ccb6
display: Use write!() in display code.
Only 100-200 bytes more flash usage.
5年前
Bernd Gottschlag
05696f7e74
Fix decryption bug
5年前
Bernd Gottschlag
1381cb6634
Add encryption for the sent packet
5年前
Bernd Gottschlag
3a21aef881
Rework the makefile and optimize the code for flash space
5年前