RDMnet
HEAD (unstable)
Implementation of ANSI E1.33 (RDMnet)
|
View other versions:
|
Functions for implementing LLRP Target functionality.
Go to the source code of this file.
Data Structures | |
struct | LlrpTargetCallbacks |
struct | LlrpTargetConfig |
A set of information that defines the startup parameters of an LLRP Target. More... | |
Macros | |
#define | LLRP_TARGET_INVALID -1 |
#define | LLRP_TARGET_CONFIG_DEFAULT_INIT(manu_id) |
A default-value initializer for an LlrpTargetConfig struct. More... | |
Typedefs | |
typedef int | llrp_target_t |
typedef void(* | LlrpTargetRdmCommandReceivedCallback) (llrp_target_t handle, const LlrpRdmCommand *cmd, RdmnetSyncRdmResponse *response, void *context) |
An RDM command has been received addressed to an LLRP target. More... | |
typedef struct LlrpTargetCallbacks | LlrpTargetCallbacks |
typedef struct LlrpTargetConfig | LlrpTargetConfig |
A set of information that defines the startup parameters of an LLRP Target. More... | |
Functions | |
void | llrp_target_config_init (LlrpTargetConfig *config, uint16_t manufacturer_id) |
Initialize an LlrpTargetConfig with default values for the optional config options. More... | |
etcpal_error_t | llrp_target_create (const LlrpTargetConfig *config, llrp_target_t *handle) |
Create a new LLRP target instance. More... | |
etcpal_error_t | llrp_target_destroy (llrp_target_t handle) |
Destroy an LLRP target instance. More... | |
etcpal_error_t | llrp_target_send_ack (llrp_target_t handle, const LlrpSavedRdmCommand *received_cmd, const uint8_t *response_data, uint8_t response_data_len) |
Send an RDM ACK response from an LLRP target. More... | |
etcpal_error_t | llrp_target_send_nack (llrp_target_t handle, const LlrpSavedRdmCommand *received_cmd, rdm_nack_reason_t nack_reason) |
Send an RDM NACK response from an LLRP target. More... | |