Enumeration of GAP roles. More...
|Type of the representation. More...|
|connection_role_t (type value)|
|Construct a new instance of role_t. More...|
|uint8_t||value () const|
|Explicit access to the inner value of the SafeEnum instance. More...|
|const uint8_t *||storage () const|
|Return a pointer to the inner storage. More...|
Enumeration of GAP roles.
struct scoped enum wrapped by the class
The device can scan and initiate connection to peripherals. It acts as the master when a connection is established.
The device can advertise, and you can connect it by a central. It acts as a slave when connected.