25 #ifndef SACN_COMMON_H_
26 #define SACN_COMMON_H_
30 #include "etcpal/error.h"
31 #include "etcpal/inet.h"
32 #include "etcpal/log.h"
33 #include "etcpal/uuid.h"
50 #define SACN_SOURCE_NAME_MAX_LEN 64
55 #define DMX_ADDRESS_COUNT 512
60 #define SACN_REMOTE_SOURCE_INVALID ((sacn_remote_source_t)-1)
63 #define SACN_STARTCODE_DMX 0x00u
65 #define SACN_STARTCODE_PRIORITY 0xddu
sacn_ip_support_t
Definition: common.h:71
uint16_t sacn_remote_source_t
Definition: common.h:58
struct SacnNetintConfig SacnNetintConfig
etcpal_error_t sacn_init(const EtcPalLogParams *log_params, const SacnNetintConfig *sys_netint_config)
Initialize the sACN library.
Definition: common.c:68
sacn_remote_source_t sacn_get_remote_source_handle(const EtcPalUuid *source_cid)
Converts a remote source CID to the corresponding handle, or SACN_REMOTE_SOURCE_INVALID if not found.
Definition: common.c:289
void sacn_deinit(void)
Deinitialize the sACN library.
Definition: common.c:234
etcpal_error_t sacn_get_remote_source_cid(sacn_remote_source_t source_handle, EtcPalUuid *source_cid)
Converts a remote source handle to the corresponding source CID.
Definition: common.c:314
struct SacnMcastInterface SacnMcastInterface
@ kSacnIpV4Only
Definition: common.h:73
@ kSacnIpV4AndIpV6
Definition: common.h:77
@ kSacnIpV6Only
Definition: common.h:75
etcpal_error_t status
Definition: common.h:94
EtcPalMcastNetintId iface
Definition: common.h:89
size_t num_netints
Definition: common.h:107
SacnMcastInterface * netints
Definition: common.h:105