sACN  2.0.1
Implementation of ANSI E1.31 (Streaming ACN)
View other versions:
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
common.h File Reference

Common definitions for sACN. More...

Go to the source code of this file.

Data Structures

struct  SacnMcastInterface
 
struct  SacnNetintConfig
 

Macros

#define SACN_SOURCE_NAME_MAX_LEN   64
 The maximum length of an sACN source name, including the null-terminator.
 
#define DMX_ADDRESS_COUNT   512
 
#define SACN_REMOTE_SOURCE_INVALID   ((sacn_remote_source_t)-1)
 
#define SACN_STARTCODE_DMX   0x00u
 
#define SACN_STARTCODE_PRIORITY   0xddu
 

Typedefs

typedef uint16_t sacn_remote_source_t
 
typedef struct SacnMcastInterface SacnMcastInterface
 
typedef struct SacnNetintConfig SacnNetintConfig
 

Enumerations

enum  sacn_ip_support_t { kSacnIpV4Only , kSacnIpV6Only , kSacnIpV4AndIpV6 }
 

Functions

etcpal_error_t sacn_init (const EtcPalLogParams *log_params, const SacnNetintConfig *sys_netint_config)
 Initialize the sACN library.
 
void sacn_deinit (void)
 Deinitialize the sACN library.
 
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.
 
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.
 

Detailed Description

Common definitions for sACN.