summaryrefslogtreecommitdiff
path: root/docs/doxygen/other/metadata.dox
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-07-25 21:58:09 -0400
committerTom Rondeau <tom@trondeau.com>2014-07-25 21:58:09 -0400
commit115254847e9c6db03a417749f4e476ed3db95e70 (patch)
treededf9a298e55384c1fdc6e0c1aa4ca6a44a3126e /docs/doxygen/other/metadata.dox
parentdd7006e59d96e9961f243b2b17f468e6e1854bcc (diff)
docs: minor updates to the docs, including a new page for Python blocks.
Diffstat (limited to 'docs/doxygen/other/metadata.dox')
-rw-r--r--docs/doxygen/other/metadata.dox15
1 files changed, 14 insertions, 1 deletions
diff --git a/docs/doxygen/other/metadata.dox b/docs/doxygen/other/metadata.dox
index 03ebe591e4..e29adf306e 100644
--- a/docs/doxygen/other/metadata.dox
+++ b/docs/doxygen/other/metadata.dox
@@ -20,7 +20,20 @@ about the item size, data type, if it's complex, the sample rate of
the segment, the time stamp of the first sample of the segment, and
information regarding the header size and segment size.
-Headers have two main tags associated with them:
+The first static portion of the header file contains the following
+information.
+
+- version: (char) version number (usually set to METADATA_VERSION)
+- rx_rate: (double) Stream's sample rate
+- rx_time: (pmt::pmt_t pair - (uint64_t, double)) Time stamp (format from UHD)
+- size: (int) item size in bytes - reflects vector length if any.
+- type: (int) data type (enum below)
+- cplx: (bool) true if data is complex
+- strt: (uint64_t) start of data relative to current header
+- bytes: (uint64_t) size of following data segment in bytes
+
+An optional extra section of the header stores information in any
+received tags. The two main tags associated with tags are:
- rx_rate: the sample rate of the stream.
- rx_time: the time stamp of the first item in the segment.