RDMnet
0.3.0
Implementation of ANSI E1.33 (RDMnet)
|
View other versions:
|
Functions for implementing LLRP Target functionality.
#include <stdint.h>
#include "etcpal/common.h"
#include "etcpal/uuid.h"
#include "etcpal/error.h"
#include "etcpal/inet.h"
#include "rdm/uid.h"
#include "rdm/message.h"
#include "rdmnet/common.h"
#include "rdmnet/llrp.h"
#include "rdmnet/message.h"
Go to the source code of this file.
Data Structures | |
struct | LlrpTargetCallbacks |
A set of notification callbacks received about an LLRP target. More... | |
struct | LlrpTargetConfig |
A set of information that defines the startup parameters of an LLRP Target. More... | |
Macros | |
#define | LLRP_TARGET_INVALID -1 |
An invalid LLRP target handle value. | |
#define | LLRP_TARGET_CONFIG_DEFAULT_INIT(manu_id) |
A default-value initializer for an LlrpTargetConfig struct. More... | |
Typedefs | |
typedef int | llrp_target_t |
A handle for an instance of LLRP Target functionality. | |
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 |
A set of notification callbacks received about an LLRP target. | |
typedef struct LlrpTargetConfig | LlrpTargetConfig |
A set of information that defines the startup parameters of an LLRP Target. | |
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... | |