sACN  2.0.2
Implementation of ANSI E1.31 (Streaming ACN)
View other versions:
source_detector.h File Reference

sACN Source Detector API definitions More...

Go to the source code of this file.

Data Structures

struct  SacnSourceDetectorCallbacks
 
struct  SacnSourceDetectorConfig
 

Macros

#define SACN_SOURCE_DETECTOR_INFINITE   0
 Constant for "infinite" when listening for sources or universes on a source. More...
 
#define SACN_SOURCE_DETECTOR_CONFIG_DEFAULT_INIT
 

Typedefs

typedef void(* SacnSourceDetectorSourceUpdatedCallback) (sacn_remote_source_t handle, const EtcPalUuid *cid, const char *name, const uint16_t *sourced_universes, size_t num_sourced_universes, void *context)
 Notify that a source is new or has changed. More...
 
typedef void(* SacnSourceDetectorSourceExpiredCallback) (sacn_remote_source_t handle, const EtcPalUuid *cid, const char *name, void *context)
 Notify that a source is no longer transmitting Universe Discovery messages. More...
 
typedef void(* SacnSourceDetectorLimitExceededCallback) (void *context)
 Notify that the module has run out of memory to track universes or sources. More...
 
typedef struct SacnSourceDetectorCallbacks SacnSourceDetectorCallbacks
 
typedef struct SacnSourceDetectorConfig SacnSourceDetectorConfig
 

Functions

void sacn_source_detector_config_init (SacnSourceDetectorConfig *config)
 Initialize an sACN Source Detector Config struct to default values. More...
 
etcpal_error_t sacn_source_detector_create (const SacnSourceDetectorConfig *config, const SacnNetintConfig *netint_config)
 Create the sACN Source Detector. More...
 
void sacn_source_detector_destroy ()
 Destroy the sACN Source Detector.
 
etcpal_error_t sacn_source_detector_reset_networking (const SacnNetintConfig *sys_netint_config)
 Updates the source detector system network interfaces. Also resets the underlying network sockets for the sACN Source Detector if it was created. More...
 
size_t sacn_source_detector_get_network_interfaces (EtcPalMcastNetintId *netints, size_t netints_size)
 Obtain the source detector's network interfaces. More...
 

Detailed Description

sACN Source Detector API definitions

Functions and definitions for the sACN Source Detector API are contained in this header.