Bit Message
The Bit Message is a message that is hidden within the lines of an octet stream and it is represented as a hexadecimal string which has maximum length of 149 octets. The first 9 octets of the message contain the header for the message and the rest comprise the content . The header contains 1 type octet, 7 timestamp octets, and 1 message length octet. The content contains a maximum of 140 octets and could be packed with either 7 bit, 8 bit or 16 bit. 7 bit packed messages have a length of 160 characters, 8 bit packed messages have a length of 140 characters, and 16 bit packed messages will only have a length of 70 characters.
Here are some details on the structure of a bit message:
|
|
BIT MESSAGE FORMAT | |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|
|
|
Octet-nth |
|
|
|
|
|
|
|
|
|
|
|
HEADER |
|
|
|
|
|
|
|
|
TYPE |
|
|
|
|
|
|
|
|
|
|
YEAR | |
|
|
|
|
|
|
|
|
|
|
MONTH | |
|
|
|
|
|
|
|
|
|
|
DAY | |
|
|
|
|
|
|
|
|
|
|
HOUR | |
|
|
|
|
|
|
|
|
|
|
MINUTE | |
|
|
|
|
|
|
|
|
|
|
SECOND | |
|
|
|
|
|
|
|
|
|
|
TIMEZONE | |
|
|
|
|
|
|
|
|
|
|
LENGTH | |
|
|
CONTENT |
|
|
|
|
|
|
|
|
Octet-1 |
|
|
...
|
|
|
|
|
|
|
|
...
|
|
|
|
|
|
|
|
|
|
|
|
Octet-140 | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7-BIT PACKED MESSAGE | |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|
|
|
Octet-nth |
|
|
|
|
|
|
|
|
|
|
|
1 | 0 | b6 | b5 | b4 | b3 | b2 | b1 | b0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8-BIT PACKED MESSAGE | |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|
|
|
Octet-nth |
|
|
|
|
|
|
|
|
|
|
|
1 | b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16-BIT PACKED MESSAGE | |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|
|
|
Octet-nth |
|
|
|
|
|
|
|
|
|
|
|
1 | b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 |
|
|
... | ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|