aboutsummaryrefslogtreecommitdiffstats
path: root/host/docs
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-03-24 19:06:32 -0700
committerMartin Braun <martin.braun@ettus.com>2017-03-24 19:06:32 -0700
commitf3cabe9ffd7a27ee8c0a6d57b4e1dd6835760a18 (patch)
tree073efbb38e81ad1f8563c4844dad3f7449eab38b /host/docs
parent4d3572494e979bb94a929a0485813c0ba3fcc453 (diff)
parent04b205d15bea5ef56d4f96446db6ec20124df9e7 (diff)
downloaduhd-f3cabe9ffd7a27ee8c0a6d57b4e1dd6835760a18.tar.gz
uhd-f3cabe9ffd7a27ee8c0a6d57b4e1dd6835760a18.tar.bz2
uhd-f3cabe9ffd7a27ee8c0a6d57b4e1dd6835760a18.zip
Merge branch 'maint'
Diffstat (limited to 'host/docs')
-rw-r--r--host/docs/vrt_chdr.dox24
1 files changed, 12 insertions, 12 deletions
diff --git a/host/docs/vrt_chdr.dox b/host/docs/vrt_chdr.dox
index a2d36c93e..8675349f9 100644
--- a/host/docs/vrt_chdr.dox
+++ b/host/docs/vrt_chdr.dox
@@ -51,20 +51,20 @@ Bits | Meaning
60 | End-of-burst or error flag
59:48 | 12-bit sequence number
47:32 | Total packet length in Bytes
-31:0 | Stream ID (SID)
-
+31:0 | Stream ID (SID). For the format of SID, see uhd::sid_t.
The packet type is determined mainly by the first two bits, although
-the EOB or error flag are also taken into consideration:
-
-Bit 63 | Bit 62 | Bit 60 | Packet Type
--------|--------|--------|--------------
-0 | 0 | 0 | Data
-0 | 0 | 1 | Data (End-of-burst)
-0 | 1 | 0 | Flow Control
-1 | 0 | 0 | Command Packet
-1 | 1 | 0 | Command Response
-1 | 1 | 1 | Command Response (Error)
+the EOB or error flag are also taken into consideration (the third bit does not
+affect the packet type):
+
+Bit 63 | Bit 62 | Bit 61 | Bit 60 | Packet Type
+-------|--------|--------|--------|--------------
+0 | 0 | x | 0 | Data
+0 | 0 | x | 1 | Data (End-of-burst)
+0 | 1 | x | 0 | Flow Control
+1 | 0 | x | 0 | Command Packet
+1 | 1 | x | 0 | Command Response
+1 | 1 | x | 1 | Command Response (Error)
\section vrt_tools Tools