... | ... | @@ -14,19 +14,19 @@ Ideally data is sent as comma-separated list. This is the case for most (all?) C |
|
|
**Proposal**
|
|
|
Each packet consists of two sections
|
|
|
1. **Header**
|
|
|
1. protocol version number (x bytes)
|
|
|
1. message type (x bytes)
|
|
|
* data
|
|
|
* command
|
|
|
* announcement
|
|
|
1. status byte (1 bytes)
|
|
|
* regular message
|
|
|
* special (i.e. do not record, for calibration or testing)
|
|
|
1. time stamp of sending (x bytes)
|
|
|
1. sender information
|
|
|
1. target information?
|
|
|
1. payload length in bytes (x bytes)
|
|
|
3. **Payload** layout depending on message type
|
|
|
1. protocol version number (x bytes)
|
|
|
1. message type (x bytes)
|
|
|
* data
|
|
|
* command
|
|
|
* announcement
|
|
|
1. status byte (1 bytes)
|
|
|
* regular message
|
|
|
* special (i.e. do not record, for calibration or testing)
|
|
|
1. time stamp of sending (x bytes)
|
|
|
1. sender information
|
|
|
1. target information?
|
|
|
1. payload length in bytes (x bytes)
|
|
|
1. **Payload** - layout depending on message type
|
|
|
|
|
|
|
|
|
|
... | ... | |