bugfixes, details added
authorGuenter Bartsch <guenter@zamia.org>
Sun, 8 Sep 2019 20:42:49 +0000 (22:42 +0200)
committerGuenter Bartsch <guenter@zamia.org>
Sun, 8 Sep 2019 20:42:49 +0000 (22:42 +0200)
ae-protocol.md

index 93c0931f1471ad34b68305f9007a78e56bc1f951..86f73bcd94ea80c8703f0534ab43e397d4a59f80 100644 (file)
@@ -86,6 +86,8 @@ Expected response: 0x00 MSG_NEXT_PART
 
 Payload: none
 
+Expected response: 0x6d MSG_FILE_CLOSE
+
 0x05 MSG_BLOCK - Next data block
 --------------------------------
 
@@ -93,7 +95,7 @@ Payload:
 
 | Bytes          | Content                      |
 | -------------- | ---------------------------- |
-| 4              | length n                     |
+| 4              | offset                       |
 | n              | data                         |
 
 Expected response: 0x00 MSG_NEXT_PART
@@ -160,7 +162,14 @@ Payload:
 | 4              | header size                  |
 | 4              | file size                    |
 | 4              | FIXME ??                     |
-| 4              | Attributes FIXME: encoding ? |
+| 4              | attributes                   |
+|                |   S: 0x40                    |
+|                |   P: 0x20                    |
+|                |   A: 0x10                    |
+|                |   R: 0x08                    |
+|                |   W: 0x04                    |
+|                |   E: 0x02                    |
+|                |   D: 0x01                    |
 | 4              | date (hours since 1/1/78)    |
 | 4              | time (mins since midnight)   |
 | 4              | ctime                        |