add: [format] brainstorm discussion
parent
f7c89bfab7
commit
08153cede0
|
@ -0,0 +1,20 @@
|
||||||
|
# D4 encapsulation protocol (DRAFT)
|
||||||
|
|
||||||
|
## Headers
|
||||||
|
|
||||||
|
| Name | bit size | Description |
|
||||||
|
|---------------|-----------|:----------------------------------------------------------------------:|
|
||||||
|
| 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)|
|
||||||
|
|
Loading…
Reference in New Issue