18 #ifndef INCLUDED_UHD_TYPES_METADATA_HPP 19 #define INCLUDED_UHD_TYPES_METADATA_HPP 44 has_time_spec =
false;
46 more_fragments =
false;
48 start_of_burst =
false;
50 error_code = ERROR_CODE_NONE;
51 out_of_sequence =
false;
97 ERROR_CODE_NONE = 0x0,
99 ERROR_CODE_TIMEOUT = 0x1,
101 ERROR_CODE_LATE_COMMAND = 0x2,
103 ERROR_CODE_BROKEN_CHAIN = 0x4,
112 ERROR_CODE_OVERFLOW = 0x8,
114 ERROR_CODE_ALIGNMENT = 0xc,
116 ERROR_CODE_BAD_PACKET = 0xf
128 std::string to_pp_string(
bool compact=
true)
const;
134 std::string strerror(
void)
const;
184 EVENT_CODE_BURST_ACK = 0x1,
186 EVENT_CODE_UNDERFLOW = 0x2,
188 EVENT_CODE_SEQ_ERROR = 0x4,
190 EVENT_CODE_TIME_ERROR = 0x8,
192 EVENT_CODE_UNDERFLOW_IN_PACKET = 0x10,
194 EVENT_CODE_SEQ_ERROR_IN_BURST = 0x20,
196 EVENT_CODE_USER_PAYLOAD = 0x40
202 uint32_t user_payload[4];
Definition: time_spec.hpp:39
Definition: build_info.hpp:25
#define UHD_API
Definition: config.h:73