summaryrefslogtreecommitdiff
path: root/ae-protocol.md
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@zamia.org>2019-08-27 21:23:42 +0200
committerGuenter Bartsch <guenter@zamia.org>2019-08-27 21:23:42 +0200
commit3963c2a8f1c3fa79b396c2bdb6119caf23ed11b7 (patch)
tree695d143a59cc03b89b722ac9ba495146bc6b48e6 /ae-protocol.md
parentf9660680079b0706ff686eee5a1409dc02d08b43 (diff)
protocol header, response
Diffstat (limited to 'ae-protocol.md')
-rw-r--r--ae-protocol.md21
1 files changed, 18 insertions, 3 deletions
diff --git a/ae-protocol.md b/ae-protocol.md
index 176ef9d..152e06c 100644
--- a/ae-protocol.md
+++ b/ae-protocol.md
@@ -11,7 +11,22 @@ Message header
| Bytes | Content |
| -------------- | ---------------------------- |
-| TODO | |
+| 2 | Msg (see below) |
+| 2 | Payload length |
+| 4 | Sequence |
+| 4 | CRC32 |
+
+Payload (if any)
+----------------
+
+| Bytes | Content |
+| -------------- | ---------------------------- |
+| n | Payload |
+| 4 | CRC32 |
+
+Each message is acknowledged by the receiving side by a 4-Byte "PkOk" response if the checksum matches.
+
+FIXME: Reply if checksum doesn''t match? Re-sync/recovery?
Message types
=============
@@ -58,8 +73,8 @@ Message details
### TODO ###
-0x66 MSG_FILE_RECV - Write a file (PC -> Amiga)
------------------------------------------------
+0x66 MSG_FILE_RECV - Write a file (Client -> Amiga)
+---------------------------------------------------
Payload: