summaryrefslogtreecommitdiff
path: root/MessageSpecification.md
diff options
context:
space:
mode:
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