1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2025-04-21 12:27:27 +03:00

fw/: add DIAG protocol (supply voltage measurement, for diagnostics)

This commit is contained in:
Werner Almesberger
2012-07-01 10:43:37 -03:00
parent 1be433e65f
commit 19fb0d31fa
6 changed files with 105 additions and 1 deletions

View File

@@ -37,6 +37,14 @@ Protocol
13 n 0 Samples
14 0 4 Diagnostic request (64 bytes payload)
14 1 4 Salt A
14 2 4 Salt B
14 3 4 Hash A
14 4 4 Hash B
15 n 0 Diagnostic response (with payload)
Unlock, firmware, image, and parameter packets all have a fixed-size
64 bytes payload. Pings and acknowledgements have no payload. Pongs
may have a variable-size payload.