aboutsummaryrefslogtreecommitdiff
path: root/src/commands.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-02-19 22:09:04 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-02-19 23:24:50 +0100
commit1e127de5173e3b8fb62efc79f97651ca22694441 (patch)
tree968e3746893d764341d7902beb5656c37a7f8ddd /src/commands.rs
parentdbae67d6fbb1f8a310b8de820fcda34c31eed39f (diff)
downloadntw-1e127de5173e3b8fb62efc79f97651ca22694441.tar.gz
ntw-1e127de5173e3b8fb62efc79f97651ca22694441.tar.bz2
Validate CRC of incoming data
The data sent with Set_Report requests contains a CRC which we so far ignored. This patch adds a Crc struct that uses the CRC peripheral to calculate the CRC for some data and uses it to validate the CRC of the received data.
Diffstat (limited to 'src/commands.rs')
0 files changed, 0 insertions, 0 deletions