summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2011-05-17 20:12:32 +0000
committerChristian Pointner <equinox@mur.at>2011-05-17 20:12:32 +0000
commit15fb136bc3daabfd747937b473a9474c92e4c39e (patch)
tree8eacbdc93b0533ba0cd08494c7b9017512bccc9b /doc
parentfixed header (diff)
CS should include 0xAA of each frame
git-svn-id: https://svn.spreadspace.org/mur.sat@26 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'doc')
-rw-r--r--doc/protocols/ihu-cpu.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/protocols/ihu-cpu.txt b/doc/protocols/ihu-cpu.txt
index fad1ffa..165c36d 100644
--- a/doc/protocols/ihu-cpu.txt
+++ b/doc/protocols/ihu-cpu.txt
@@ -31,7 +31,7 @@ the length of the following DATA field. The length field might be zero
if the message doesn't need any additional data. The last byte of every
frame contains a checksum. It is calculated by XORing every variable byte
of the message. In a message N bytes long, where Byte 1 is the first and Byte
-N the last Byte, CS is calculated starting with Byte 2 (MSG) and ending
+N the last Byte, CS is calculated starting with Byte 1 (0xAA) and ending
with Byte N-1 (last DATA Byte)
The minimum frame length is 4 Bytes and the maximum is 260 Bytes.
The bytes have to be sent LSB first. Multi byte fields have to be sent
@@ -107,8 +107,8 @@ budget is 2424 units of power and the current time is
1305501574 seconds since epoch. The CPU acknowledges the
message.
-IHU->CPU: 0xAA 'P' 0x06 0x09 0x78 0x4d 0xd0 0x5f 0x86 0x63
-CPU->IHU: 0xAA 'p' 0x00 0x70
+IHU->CPU: 0xAA 'P' 0x06 0x09 0x78 0x4d 0xd0 0x5f 0x86 0xc9
+CPU->IHU: 0xAA 'p' 0x00 0xda
Power Management