7 #ifndef INCLUDED_UHD_TYPES_METADATA_HPP 8 #define INCLUDED_UHD_TYPES_METADATA_HPP 33 has_time_spec =
false;
35 more_fragments =
false;
37 start_of_burst =
false;
39 error_code = ERROR_CODE_NONE;
40 out_of_sequence =
false;
86 ERROR_CODE_NONE = 0x0,
88 ERROR_CODE_TIMEOUT = 0x1,
90 ERROR_CODE_LATE_COMMAND = 0x2,
92 ERROR_CODE_BROKEN_CHAIN = 0x4,
101 ERROR_CODE_OVERFLOW = 0x8,
103 ERROR_CODE_ALIGNMENT = 0xc,
105 ERROR_CODE_BAD_PACKET = 0xf
117 std::string to_pp_string(
bool compact=
true)
const;
123 std::string strerror(
void)
const;
173 EVENT_CODE_BURST_ACK = 0x1,
175 EVENT_CODE_UNDERFLOW = 0x2,
177 EVENT_CODE_SEQ_ERROR = 0x4,
179 EVENT_CODE_TIME_ERROR = 0x8,
181 EVENT_CODE_UNDERFLOW_IN_PACKET = 0x10,
183 EVENT_CODE_SEQ_ERROR_IN_BURST = 0x20,
185 EVENT_CODE_USER_PAYLOAD = 0x40
191 uint32_t user_payload[4];
Definition: time_spec.hpp:28
Definition: build_info.hpp:14
#define UHD_API
Definition: config.h:62