RDMnet
HEAD (unstable)
Implementation of ANSI E1.33 (RDMnet)
|
View other versions:
|
A set of configuration settings that a device needs to initialize.
Note that network interfaces that the LLRP target of the device should use are no longer specified here. Instead, the set of interfaces passed to rdmnet::Init() is used.
Public Member Functions | |
Settings ()=default | |
Create an empty, invalid data structure by default. | |
Settings (const etcpal::Uuid &new_cid, const rdm::Uid &new_uid) | |
Create a device Settings instance by passing the required members explicitly. More... | |
Settings (const etcpal::Uuid &new_cid, uint16_t manufacturer_id) | |
Create a device Settings instance by passing the required members explicitly. More... | |
bool | IsValid () const |
Determine whether a device Settings instance contains valid data for RDMnet operation. | |
Data Fields | |
etcpal::Uuid | cid |
The device's Component Identifier (CID). | |
rdm::Uid | uid |
The device's RDM UID. For a dynamic UID, use rdm::Uid::DynamicUidRequest(). | |
std::string | search_domain |
The device's search domain for discovering brokers. | |
uint8_t * | response_buf {nullptr} |
std::vector< VirtualEndpointConfig > | virtual_endpoints |
Array of configurations for virtual endpoints that are present on the device at startup. | |
std::vector< PhysicalEndpointConfig > | physical_endpoints |
Array of configurations for physical endpoints that are present on the device at startup. | |
|
inline |
Create a device Settings instance by passing the required members explicitly.
This version takes the fully-formed RDM UID that the device will use. Optional members can be modified directly in the struct.
|
inline |
Create a device Settings instance by passing the required members explicitly.
This version just takes the device's ESTA manufacturer ID and uses it to generate an RDMnet dynamic UID request. Optional members can be modified directly in the struct.
uint8_t* response_buf {nullptr} |
A data buffer to be used to respond synchronously to RDM commands. See Handling RDM Commands for more information.