Mistake on this page?
Report an issue in GitHub or email us
Public Types | Public Member Functions
peer_address_type_t Struct Reference

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

#include <BLETypes.h>

Inheritance diagram for peer_address_type_t:
SafeEnum< peer_address_type_t, uint8_t >

Public Types

typedef uint8_t representation_t
 Type of the representation. More...
 

Public Member Functions

 peer_address_type_t (type value)
 Construct a new instance of peer_address_type_t. More...
 
 peer_address_type_t ()
 Default initialization of peer_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 peer device address type.

Definition at line 580 of file BLETypes.h.

Member Typedef Documentation

typedef uint8_t representation_t
inherited

Type of the representation.

Definition at line 113 of file SafeEnum.h.

Member Enumeration Documentation

enum type

struct scoped enum wrapped by the class

Enumerator
PUBLIC 

Public device address.

RANDOM 

Random address.

Use Gap::getRandomAddressType to retrieve the type of the random address.

PUBLIC_IDENTITY 

A Public address used as a device identity address.

RANDOM_STATIC_IDENTITY 

A Random static address used as a device identity address.

ANONYMOUS 

No address provided (anonymous advertisement).

Definition at line 582 of file BLETypes.h.

Constructor & Destructor Documentation

Construct a new instance of peer_address_type_t.

Definition at line 615 of file BLETypes.h.

Default initialization of peer_address_type_t.

Definition at line 621 of file BLETypes.h.

Member Function Documentation

const uint8_t * storage ( ) const
inherited

Return a pointer to the inner storage.

Definition at line 209 of file SafeEnum.h.

uint8_t value ( ) const
inherited

Explicit access to the inner value of the SafeEnum instance.

Definition at line 202 of file SafeEnum.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.