summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@zamia.org>2019-09-01 23:47:58 +0200
committerGuenter Bartsch <guenter@zamia.org>2019-09-01 23:47:58 +0200
commit2538b9b0c5781c9b02e67e40bee64b05a98cdcd1 (patch)
treeeddbaa15df07607dd60e086d5bba3ac10d270384
parent3963c2a8f1c3fa79b396c2bdb6119caf23ed11b7 (diff)
specify re-sync protocol
-rw-r--r--ae-protocol.md5
1 files 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
=============