summaryrefslogtreecommitdiff
path: root/MessageSpecification.md
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-02-17 16:57:13 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-02-17 16:57:13 +0100
commitee17a71e0890d015f2aa7d7222407d85d53c0720 (patch)
treeb06fb11f0d8a9007fc1fb2a7ea0ce618f5888cfd /MessageSpecification.md
parentefbaf777249a0846630bfab63f0e182b1a33ba56 (diff)
Message specification: Switch order of TYPE and LENGTH in HEADER signal
Diffstat (limited to 'MessageSpecification.md')
-rw-r--r--MessageSpecification.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/MessageSpecification.md b/MessageSpecification.md
index 122abc1..32acb24 100644
--- a/MessageSpecification.md
+++ b/MessageSpecification.md
@@ -15,14 +15,14 @@ A *`PATTERN`* signal which indicates that either the start of an animation or te
A generic *`HEADER`* which contains two byte of metadata to describe the data that follows. The two byte contain 12 bit of length information and 4 bit of data type information.
```
-XXXXXXXX XXXXYYYY
-<----------->
- LENGTH <-->
- TYPE
+XXXXYYYY YYYYYYYY
+<-->
+ <----------->
+TYPE LENGTH
```
Thus the data length can be up to 4kByte of data (4096 byte). A type of `0001` denotes a `TEXT` type pattern, a type `0010` denotes an `ANIMATION` type pattern.
-The modem only receives data for this pattern until length is exceeded. E.g. when a *`HEADER`* with the contents `11111111 11110001` is received by the modem it will read 4098 byte for the current pattern (2 byte header, 4096 byte of data).
+The modem only receives data for this pattern until length is exceeded. E.g. when a *`HEADER`* with the contents `00011111 11111111` is received by the modem it will read 4098 byte for the current pattern (2 byte header, 4096 byte of data).
##### TEXT METADATA