RDMnet
HEAD (unstable)
Implementation of ANSI E1.33 (RDMnet)
|
View other versions:
|
An RDM response received over RDMnet and saved for later processing.
This type is not used by the library API, but can come in handy if an application wants to queue or copy RDM responses before acting on them. The rdm_data member is heap-allocated and owned; be sure to call rdmnet_free_saved_rdm_response() to free this data before disposing of an instance.
Data Fields | |
RdmUid | rdmnet_source_uid |
uint16_t | source_endpoint |
uint32_t | seq_num |
bool | is_response_to_me |
Whether the response was sent in response to a command previously sent by this controller. More... | |
RdmCommandHeader | original_cmd_header |
uint8_t | original_cmd_data [RDM_MAX_PDL] |
uint8_t | original_cmd_data_len |
RdmResponseHeader | rdm_header |
uint8_t * | rdm_data |
size_t | rdm_data_len |
bool is_response_to_me |
Whether the response was sent in response to a command previously sent by this controller.
If this is false, the command was a broadcast sent to all controllers.
uint8_t original_cmd_data[RDM_MAX_PDL] |
Any parameter data associated with the original RDM command; valid if seq_num != 0.
uint8_t original_cmd_data_len |
The length of the parameter data associated with the original RDM command; valid if seq_num != 0.
RdmCommandHeader original_cmd_header |
The header of the original command associated with this response; valid if seq_num != 0.
uint8_t* rdm_data |
Any parameter data associated with the RDM response. This pointer is owned and must be freed before this type goes out of scope using rdmnet_free_saved_rdm_response().
size_t rdm_data_len |
The length of the parameter data associated with the RDM response.
RdmResponseHeader rdm_header |
The header information from the encapsulated RDM response.
RdmUid rdmnet_source_uid |
The UID of the RDMnet component that sent this response.
uint32_t seq_num |
The sequence number of the response, for matching with a corresponding command.
uint16_t source_endpoint |
The endpoint from which the response was sent.