From 2538b9b0c5781c9b02e67e40bee64b05a98cdcd1 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Sun, 1 Sep 2019 23:47:58 +0200 Subject: specify re-sync protocol --- ae-protocol.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ae-protocol.md b/ae-protocol.md index 152e06c..800e06a 100644 --- a/ae-protocol.md +++ b/ae-protocol.md @@ -24,9 +24,10 @@ Payload (if any) | n | Payload | | 4 | CRC32 | -Each message is acknowledged by the receiving side by a 4-Byte "PkOk" response if the checksum matches. +Each message is acknowledged by the receiving side by a 4-Byte "PkOk" response if the checksum matches, "PkRs" otherwise. -FIXME: Reply if checksum doesn''t match? Re-sync/recovery? +Recovery from checksum errors: on "PkRs" non-ack, the sending side re-sends the whole message until "PkOk" is received. +FIXME: is this correct? Message types ============= -- cgit v1.2.3