diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-02-17 16:57:13 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-02-17 16:57:13 +0100 |
commit | ee17a71e0890d015f2aa7d7222407d85d53c0720 (patch) | |
tree | b06fb11f0d8a9007fc1fb2a7ea0ce618f5888cfd | |
parent | efbaf777249a0846630bfab63f0e182b1a33ba56 (diff) |
Message specification: Switch order of TYPE and LENGTH in HEADER signal
-rw-r--r-- | MessageSpecification.md | 10 |
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 |