Rtos API example
AddressType Struct Reference
Container for the enumeration of BLE address types. More...
#include <BLEProtocol.h>
Public Types | |
enum | Type { PUBLIC = 0, RANDOM_STATIC, RANDOM_PRIVATE_RESOLVABLE, RANDOM_PRIVATE_NON_RESOLVABLE } |
Address-types for Protocol addresses. More... |
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:
Definition at line 56 of file BLEProtocol.h.
Generated on Sun Jul 17 2022 08:25:43 by 1.7.2