Enumeration of GAP roles. More...
|Type of the representation. More...|
Public Member Functions
|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.
Type of the representation.
Definition at line 113 of file SafeEnum.h.
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.
Return a pointer to the inner storage.
Definition at line 209 of file SafeEnum.h.
Explicit access to the inner value of the SafeEnum instance.
Definition at line 202 of file SafeEnum.h.