Mbed OS Reference
Loading...
Searching...
No Matches
random_address_type_t Struct Reference

Type that describes a random device address type. More...

#include <BLETypes.h>

Inheritance diagram for random_address_type_t:
SafeEnum< random_address_type_t, uint8_t >

Public Types

enum  type { STATIC , NON_RESOLVABLE_PRIVATE , RESOLVABLE_PRIVATE }
 struct scoped enum wrapped by the class More...
 
typedef uint8_t representation_t
 Type of the representation. More...
 

Public Member Functions

 random_address_type_t (type value)
 Construct a new instance of random_address_type_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...
 

Detailed Description

Type that describes a random device address type.

Definition at line 505 of file common/BLETypes.h.

Member Typedef Documentation

◆ representation_t

typedef uint8_t representation_t
inherited

Type of the representation.

Definition at line 115 of file common/SafeEnum.h.

Member Enumeration Documentation

◆ type

enum type

struct scoped enum wrapped by the class

Enumerator
STATIC 

Random static device address.

NON_RESOLVABLE_PRIVATE 

Random non resolvable private address.

RESOLVABLE_PRIVATE 

Random resolvable private address.

Definition at line 507 of file common/BLETypes.h.

Constructor & Destructor Documentation

◆ random_address_type_t()

Construct a new instance of random_address_type_t.

Definition at line 516 of file common/BLETypes.h.

Member Function Documentation

◆ value()

uint8_t value ( ) const
inherited

Explicit access to the inner value of the SafeEnum instance.

Definition at line 204 of file common/SafeEnum.h.

◆ storage()

const uint8_t * storage ( ) const
inherited

Return a pointer to the inner storage.

Definition at line 211 of file common/SafeEnum.h.