RDMnet  0.3.0
Implementation of ANSI E1.33 (RDMnet)
View other versions:
RdmnetSyncRdmResponse Struct Reference

Overview

This structure should not be manipulated directly - use the macros to access it:

Contains information about an RDMnet RDM response to be sent synchronously from an RDMnet callback.

#include <rdmnet/common.h>

Data Fields

rdmnet_rdm_response_action_t response_action
 Represents the response action to take.
 
union {
   size_t   response_data_len
 The length of the response data which has been copied into the buffer given at initialization time. More...
 
   rdm_nack_reason_t   nack_reason
 The NACK reason code. More...
 
response_data
 Data associated with certain response actions (use the macros to access).
 

Field Documentation

◆ nack_reason

rdm_nack_reason_t RdmnetSyncRdmResponse::nack_reason

The NACK reason code.

Valid if response_action is kRdmnetRdmResponseActionSendNack.

◆ response_data_len

size_t RdmnetSyncRdmResponse::response_data_len

The length of the response data which has been copied into the buffer given at initialization time.

Set to 0 for no data. Valid if response_action is kRdmnetRdmResponseActionSendAck.


The documentation for this struct was generated from the following file: