Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
openlcb::BLEDefs Class Reference

Miscellaneous BLE definitions. More...

#include <BLEDefs.hxx>

Static Public Member Functions

static std::basic_string< uint8_t > random_address_from_node_id (NodeID id)
 Create a valid BLE random address from an OpenLCB Node ID.
 

Detailed Description

Miscellaneous BLE definitions.

Definition at line 59 of file BLEDefs.hxx.

Member Function Documentation

◆ random_address_from_node_id()

static std::basic_string< uint8_t > openlcb::BLEDefs::random_address_from_node_id ( NodeID  id)
inlinestatic

Create a valid BLE random address from an OpenLCB Node ID.

Parameters
idNode ID to use
Returns
random address

Definition at line 65 of file BLEDefs.hxx.


The documentation for this class was generated from the following file: