RDMnet
0.3.0
Implementation of ANSI E1.33 (RDMnet)
|
View other versions:
|
A class representing a synchronous action to take in response to a received RDM command.
#include <rdmnet/cpp/common.h>
Public Member Functions | |
constexpr const RdmnetSyncRdmResponse & | get () const |
Get a const reference to the underlying C type. | |
Static Public Member Functions | |
static RdmResponseAction | SendAck (size_t response_data_len=0) |
Send an RDM ACK, optionally including some response data. More... | |
static RdmResponseAction | SendNack (rdm_nack_reason_t nack_reason) |
Send an RDM NACK with a reason code. More... | |
static RdmResponseAction | SendNack (uint16_t raw_nack_reason) |
Send an RDM NACK with a reason code. More... | |
static RdmResponseAction | DeferResponse () |
Defer the RDM response to be sent later from another context. More... | |
|
inlinestatic |
Defer the RDM response to be sent later from another context.
Make sure to Save() any RDM command data for later processing.
|
inlinestatic |
Send an RDM ACK, optionally including some response data.
response_data_len | Length of the RDM response parameter data provided. |
|
inlinestatic |
Send an RDM NACK with a reason code.
nack_reason | The RDM NACK reason code to send with the NACK response. |
|
inlinestatic |
Send an RDM NACK with a reason code.
raw_nack_reason | The NACK reason (either standard or manufacturer-specific) to send with the NACK response. |