Struct dp_header_t¶
Frame metadata header carried in every ZMQ message. More...
#include <stream.h>
Public Attributes¶
| Type | Name |
|---|---|
| double | center_freq |
| uint32_t | flags |
| uint32_t | magic |
| uint64_t | num_samples |
| uint32_t | protocol |
| uint64_t | reserved |
| double | sample_rate |
| uint32_t | sample_type |
| uint64_t | sequence |
| uint32_t | stream_id |
| uint64_t | timestamp_ns |
| uint32_t | version |
Detailed Description¶
The first 4 bytes of the wire header are always the magic value 0x53494753 ("SIGS"), which receivers can use for basic validation. Future-proofed for DIFI / VITA 49 with protocol and stream_id fields.
Public Attributes Documentation¶
variable center_freq¶
Centre frequency in Hz.
variable flags¶
Reserved flags — set to 0.
variable magic¶
Magic number: 0x53494753 "SIGS".
variable num_samples¶
Number of complex samples in this message.
variable protocol¶
dp_protocol_t (0 = SIGS, 1 = DIFI).
variable reserved¶
Reserved — set to zero, do not interpret.
variable sample_rate¶
Sample rate in Hz.
variable sample_type¶
Wire sample type (dp_sample_type_t).
variable sequence¶
Monotonically increasing per-sender count.
variable stream_id¶
DIFI stream ID; 0 for SIGS.
variable timestamp_ns¶
UNIX timestamp in nanoseconds (CLOCK_REALTIME).
variable version¶
Protocol version (currently 1).
The documentation for this class was generated from the following file native/inc/stream/stream.h