Mathias Gottschlag
3d8c6f36cd
Fix crashes after a packet was received.
5 년 전
Mathias Gottschlag
9f462d41b3
base-station: Return the local time for ValueType::Time requests.
5 년 전
Bernd Gottschlag
b0cfbc928f
Remove unneeded TODOs
5 년 전
Bernd Gottschlag
045873b1ca
Add another sensor to the base station for testing
5 년 전
Bernd Gottschlag
59c6b14d5b
Add handling for different encryption keys for the stations
There are eight key files in the common folder. The files are converted
to header files on compile time and the array of the keys is filled with
them. After determining the device id via the pin programming the
corresponding key is chosen.
Each of the keys is
mapped to one station id.
5 년 전
Mathias Gottschlag
815f41c7d9
First part of UI refactoring (with proper quick refresh).
5 년 전
Bernd Gottschlag
ddb99093ec
Move the nrf24l01 to improve reception
5 년 전
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 년 전