An RDM response received over RDMnet and delivered to an RDMnet callback function.
Not valid for use other than as a parameter to an RDMnet callback function; use RdmResponse::Save() to create a copyable version.
|
| RdmResponse ()=delete |
| Not default-constructible.
|
|
| RdmResponse (const RdmResponse &other)=delete |
| Not copyable - use Save() to create a copyable version.
|
|
RdmResponse & | operator= (const RdmResponse &other)=delete |
| Not copyable - use Save() to create a copyable version.
|
|
constexpr | RdmResponse (const RdmnetRdmResponse &c_resp) noexcept |
| Construct a RdmResponse copied from an instance of the C RdmnetRdmResponse type.
|
|
constexpr rdm::Uid | rdmnet_source_uid () const noexcept |
| Get the UID of the RDMnet component that sent this response.
|
|
constexpr uint16_t | source_endpoint () const noexcept |
| Get the endpoint from which this response was sent.
|
|
constexpr uint32_t | seq_num () const noexcept |
| Get the RDMnet sequence number of this response, for matching with a corresponding command.
|
|
constexpr rdm::Uid | original_cmd_source_uid () const noexcept |
| Get the RDM source UID of the original RDM command, if available. More...
|
|
constexpr rdm::Uid | original_cmd_dest_uid () const noexcept |
| Get the RDM destination UID of the original RDM command, if available. More...
|
|
constexpr rdm::CommandHeader | original_cmd_header () const noexcept |
| Get the RDM protocol header of the original RDM command, if available. More...
|
|
constexpr const uint8_t * | original_cmd_data () const noexcept |
| Get the RDM parameter data of the original RDM command, if available. More...
|
|
constexpr uint8_t | original_cmd_data_len () const noexcept |
| Get the length of the RDM parameter data accompanying the original RDM command, if available. More...
|
|
constexpr rdm::Uid | rdm_source_uid () const noexcept |
| Get the UID of the RDM responder that sent this response.
|
|
constexpr rdm::Uid | rdm_dest_uid () const noexcept |
| Get the UID of the RDM controller to which this response is addressed.
|
|
constexpr rdm_response_type_t | response_type () const noexcept |
| Get the RDM response type of this response.
|
|
constexpr uint16_t | subdevice () const noexcept |
| Get the RDM subdevice from which this response originated (0 means the root device).
|
|
constexpr rdm_command_class_t | command_class () const noexcept |
| Get the RDM response class of this response.
|
|
constexpr uint16_t | param_id () const noexcept |
| Get the RDM parameter ID (PID) of this response.
|
|
constexpr rdm::ResponseHeader | rdm_header () const noexcept |
| Get the RDM protocol header contained within this response.
|
|
constexpr const uint8_t * | data () const noexcept |
| Get a pointer to the RDM parameter data buffer contained within this response.
|
|
constexpr size_t | data_len () const noexcept |
| Get the length of the RDM parameter data contained within this response.
|
|
constexpr bool | more_coming () const noexcept |
| This message contains partial RDM data. More...
|
|
constexpr bool | OriginalCommandIncluded () const noexcept |
| Whether the original RDM command is included. More...
|
|
constexpr bool | HasData () const noexcept |
| Whether this RDM response includes any RDM parameter data.
|
|
constexpr bool | IsFromDefaultResponder () const noexcept |
| Whether this RDM response is from a default responder. More...
|
|
constexpr bool | IsResponseToMe () const noexcept |
| Whether the response was sent in response to a command previously sent by this controller. More...
|
|
constexpr bool | IsAck () const noexcept |
| Whether this command has an RDM response type of ACK. More...
|
|
constexpr bool | IsNack () const noexcept |
| Whether this command has an RDM response type of NACK_REASON. More...
|
|
constexpr bool | IsGetResponse () const noexcept |
| Whether this response is an RDM GET response.
|
|
constexpr bool | IsSetResponse () const noexcept |
| Whether this response is an RDM SET response.
|
|
etcpal::Expected< rdm::NackReason > | GetNackReason () const noexcept |
| Get the NACK reason code of this RDM response. More...
|
|
std::vector< uint8_t > | GetData () const |
| Copy out the data in a RdmResponse. More...
|
|
std::vector< uint8_t > | GetOriginalCmdData () const |
| Copy out the original RDM command data in a RdmResponse. More...
|
|
constexpr const RdmnetRdmResponse & | get () const noexcept |
| Get a const reference to the underlying C type.
|
|
rdm::Command | OriginalCommandToRdm () const |
| Convert the original RDM command associated with this response to an RDM command type. More...
|
|
rdm::Response | ToRdm () const |
| Convert the RDM data in this response to an RDM response type.
|
|
SavedRdmResponse | Save () const |
| Save the data in this response for later use from a different context. More...
|
|