... | ... | @@ -6,4 +6,20 @@ entire metadata packet, and to make it possible to recover from unhandled metada |
|
|
samples), and a reference to the labcomm type the metadata packet is associated with (or null, if
|
|
|
no association).
|
|
|
|
|
|
The body of a metadata packet is a stream of labcomm packets. |
|
|
\ No newline at end of file |
|
|
The body of a metadata packet is a stream of labcomm packets.
|
|
|
|
|
|
The metadata packet layout is:
|
|
|
```
|
|
|
# METADATA
|
|
|
#
|
|
|
# +----+----+----+----+
|
|
|
# | id = 0x03
|
|
|
# +----+----+----+----+
|
|
|
# | length (in bytes) (length of the remainder of the packet, incl typeref field)
|
|
|
# +----+----+----+----+
|
|
|
# | data type ref (the sample type_id this metadata packet is associated with)
|
|
|
# +----+----+----+----+
|
|
|
# | 1 or more labcomm |
|
|
|
# | packets...
|
|
|
# +----+--
|
|
|
``` |
|
|
\ No newline at end of file |