The driver header is allowing for fragmentation and reassembly of long measurements
Measurement ID | TimeStamp | Fragment Number | Total Fragments | Data Length | Data |
where
- Measurement ID (not sure if needed)
- is a measurement identifier
- two unsigned bytes
- Fragment Number
- current fragment number,
- two unsigned bytes
- starts at 1
- TimeStamp
- eight byte integer with the timestamp when the measurement was taken (milliseconds since 1970 or boot time if no real time reference available)
- Total fragments
- total number of
- two unsigned bytes
- zero means infinity fragments (e.g., streaming)
- Data Length
- length of data field (in bytes)
- four unsigned bytes
- Data
- Data being measured
- Variable length
Last modified 17 months ago
Last modified on Jul 20, 2014, 11:51:46 AM