From ee17a71e0890d015f2aa7d7222407d85d53c0720 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 17 Feb 2016 16:57:13 +0100 Subject: Message specification: Switch order of TYPE and LENGTH in HEADER signal --- MessageSpecification.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'MessageSpecification.md') 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 -- cgit v1.2.3