RDMnet  0.3.0
Implementation of ANSI E1.33 (RDMnet)
View other versions:
opts.h File Reference

Overview

RDMnet configuration options.

Default values for all of RDMnet's compile-time configuration options.

#include "etcpal/thread.h"
#include <assert.h>

Go to the source code of this file.

Macros

#define RDMNET_DYNAMIC_MEM   RDMNET_FULL_OS_AVAILABLE_HINT
 Use dynamic memory allocation. More...
 
#define RDMNET_LOG_MSG_PREFIX   "RDMnet: "
 A string which will be prepended to all log messages from the RDMnet library.
 
#define RDMNET_ASSERT(expr)   assert(expr)
 The debug assert used by the RDMnet library. More...
 
#define RDMNET_MAX_CONTROLLERS   0
 The maximum number of RDMnet Controller instances that an application can create. More...
 
#define RDMNET_MAX_DEVICES   1
 The maximum number of RDMnet Device instances that an application can create. More...
 
#define RDMNET_MAX_EPT_CLIENTS   0
 The maximum number of EPT Client instances that an application can create. More...
 
#define RDMNET_MAX_SCOPES_PER_CONTROLLER   1
 The maximum number of scopes on which each controller instance can communicate. More...
 
#define RDMNET_MAX_ENDPOINTS_PER_DEVICE   1
 The maximum number of nonzero endpoints that can be added to each device instance. More...
 
#define RDMNET_MAX_RESPONDERS_PER_DEVICE_ENDPOINT   1
 The maximum number of responders that can be added to each device endpoint. More...
 
#define RDMNET_MAX_PROTOCOLS_PER_EPT_CLIENT   5
 The maximum number of EPT sub-protocols supported on a local EPT client instance. More...
 
#define RDMNET_MAX_SENT_ACK_OVERFLOW_RESPONSES   2
 The maximum number of RDM responses that can be sent from an RPT Client at once in an ACK_OVERFLOW response. More...
 
#define RDMNET_PARSER_MAX_CLIENT_ENTRIES   5
 The maximum number of ClientEntryData structures that can be returned with a parsed message. More...
 
#define RDMNET_PARSER_MAX_EPT_SUBPROTS   5
 The maximum number of RdmnetEptSubProtocol structures that can be returned with a parsed message. More...
 
#define RDMNET_PARSER_MAX_DYNAMIC_UID_ENTRIES   5
 The maximum number of Dynamic-UID-related structures that can be returned with a parsed message. More...
 
#define RDMNET_PARSER_MAX_ACK_OVERFLOW_RESPONSES   5
 The maximum number of RdmCmdListEntry structures that can be returned with a parsed ACK_OVERFLOW response (e.g. More...
 
#define RDMNET_MAX_MCAST_NETINTS   3
 The maximum number of network interfaces usable for RDMnet's multicast protocols. More...
 
#define RDMNET_BIND_MCAST_SOCKETS_TO_MCAST_ADDRESS   !RDMNET_WINDOWS_HINT
 For multicast protocols, whether to bind the underlying network socket directly to the multicast address. More...
 
#define RDMNET_TICK_THREAD_PRIORITY   ETCPAL_THREAD_DEFAULT_PRIORITY
 The priority of the tick thread. More...
 
#define RDMNET_TICK_THREAD_STACK   (ETCPAL_THREAD_DEFAULT_STACK * 2)
 The stack size of the tick thread. More...
 
#define RDMNET_MAX_MONITORED_SCOPES   ((RDMNET_MAX_SCOPES_PER_CONTROLLER * RDMNET_MAX_CONTROLLERS) + RDMNET_MAX_DEVICES)
 How many RDMnet scopes can be monitored simultaneously. More...
 
#define RDMNET_MAX_DISCOVERED_BROKERS_PER_SCOPE   1
 How many brokers can be discovered at the same time on a given scope. More...
 
#define RDMNET_MAX_ADDRS_PER_DISCOVERED_BROKER   2
 How many listen addresses can be resolved for each discovered broker. More...
 
#define RDMNET_MAX_ADDITIONAL_TXT_ITEMS_PER_DISCOVERED_BROKER   5
 How many additional TXT record items can be resolved for each discovered broker. More...
 
#define RDMNET_MAX_LLRP_TARGETS   RDMNET_MAX_CLIENTS
 The maximum number of LLRP targets that can be created. More...