Mistake on this page?
Report an issue in GitHub or email us
Public Types
AddressType Struct Reference

Container for the enumeration of BLE address types. More...

#include <BLEProtocol.h>

Public Types

Detailed Description

Container for the enumeration of BLE address types.

Note
Adding a struct to encapsulate the contained enumeration prevents polluting the BLEProtocol namespace with the enumerated values. It also allows type-aliases for the enumeration while retaining the enumerated values. i.e. doing:
typedef AddressType AliasedType;

would allow the use of AliasedType::PUBLIC in code.

Note
see Bluetooth Standard version 4.2 [Vol 6, Part B] section 1.3 .

Definition at line 52 of file BLEProtocol.h.

Member Enumeration Documentation

enum Type

Address-types for Protocol addresses.

Enumerator
PUBLIC 

Public device address.

RANDOM_STATIC 

Random static device address.

Deprecated:
This enumeration value is not relevant anymore. Advertising reporting and the connection procedure should rely on RANDOM instead. Use Gap::getRandomAddressType to retrieve the type of the random address.
RANDOM_PRIVATE_RESOLVABLE 

Private resolvable device address.

Deprecated:
This enumeration value is not relevant anymore. Advertising reporting and the connection procedure should rely on RANDOM instead. Use Gap::getRandomAddressType to retrieve the type of the random address.
RANDOM_PRIVATE_NON_RESOLVABLE 

Private non-resolvable device address.

Deprecated:
This enumeration value is not relevant anymore. Advertising reporting and the connection procedure should rely on RANDOM instead. Use Gap::getRandomAddressType to retrieve the type of the random address.

Definition at line 56 of file BLEProtocol.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.