architecture/format/README.md

22 lines
995 B
Markdown
Raw Normal View History

2018-11-26 14:09:35 +01:00
# D4 encapsulation protocol (DRAFT)
## Headers
| Name | bit size | Description |
|---------------|-----------|:----------------------------------------------------------------------:|
| version | uint 8 | Version of the header |
2018-11-26 14:09:35 +01:00
| type | uint 8 | Data encapsulated type |
| uuid | uint 128 | Sensor uuid |
| timestamp | uint 64 | Encapsulation time |
| hmac | uint 256 | Header authenticated header (HMAC-SHA-256-128) |
| size | uint 32 | Payload size |
## Type
|Type| Description |
|----|:------------|
| 0 | Reserved |
| 1 | pcap |
| 2 | meta header (JSON)|