diff options
-rw-r--r-- | doc/protocols/ihu-cpu.txt | 6 |
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 |