Mbed OS Reference
|
#include <AdvertisingDataTypes.h>
Public Types | |
enum | type { FLAGS = 0x01 , INCOMPLETE_LIST_16BIT_SERVICE_IDS = 0x02 , COMPLETE_LIST_16BIT_SERVICE_IDS = 0x03 , INCOMPLETE_LIST_32BIT_SERVICE_IDS = 0x04 , COMPLETE_LIST_32BIT_SERVICE_IDS = 0x05 , INCOMPLETE_LIST_128BIT_SERVICE_IDS = 0x06 , COMPLETE_LIST_128BIT_SERVICE_IDS = 0x07 , SHORTENED_LOCAL_NAME = 0x08 , COMPLETE_LOCAL_NAME = 0x09 , TX_POWER_LEVEL = 0x0A , DEVICE_ID = 0x10 , SLAVE_CONNECTION_INTERVAL_RANGE = 0x12 , LIST_16BIT_SOLICITATION_IDS = 0x14 , LIST_128BIT_SOLICITATION_IDS = 0x15 , SERVICE_DATA = 0x16 , SERVICE_DATA_16BIT_ID = 0x16 , SERVICE_DATA_128BIT_ID = 0x21 , APPEARANCE = 0x19 , ADVERTISING_INTERVAL = 0x1A , MANUFACTURER_SPECIFIC_DATA = 0xFF } |
struct scoped enum wrapped by the class More... | |
typedef uint8_t | representation_t |
Type of the representation. More... | |
Public Member Functions | |
adv_data_type_t (type value) | |
Construct a new instance of adv_data_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... | |
List of standard Advertising Data types.
These AD types are used to describe the capabilities of the peripheral and are inserted inside the advertising or scan response payloads.
Bluetooth
Core Specification 4.0 (Vol. 3), Part C, Section 11, 18. https://www.bluetooth.org/en-us/specification/assigned-numbers/generic-access-profile
. Definition at line 44 of file AdvertisingDataTypes.h.
|
inherited |
Type of the representation.
Definition at line 115 of file common/SafeEnum.h.
enum type |
struct scoped enum wrapped by the class
Definition at line 46 of file AdvertisingDataTypes.h.
adv_data_type_t | ( | type | value | ) |
Construct a new instance of adv_data_type_t.
Definition at line 151 of file AdvertisingDataTypes.h.
|
inherited |
Explicit access to the inner value of the SafeEnum instance.
Definition at line 204 of file common/SafeEnum.h.
|
inherited |
Return a pointer to the inner storage.
Definition at line 211 of file common/SafeEnum.h.