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

Set of advertising flags. More...

#include <AdvertisingDataTypes.h>

Public Types

enum  {
  LE_LIMITED_DISCOVERABLE = 0x01 , LE_GENERAL_DISCOVERABLE = 0x02 , BREDR_NOT_SUPPORTED = 0x04 , SIMULTANEOUS_LE_BREDR_C = 0x08 ,
  SIMULTANEOUS_LE_BREDR_H = 0x10
}
 

Public Member Functions

 adv_data_flags_t (uint8_t value=0)
 Create from raw value. More...
 

Detailed Description

Set of advertising flags.

Note
LE_LIMITED_DISCOVERABLE and LE_GENERAL_DISCOVERABLE are mutually exclusive
  • Bluetooth Core Specification 4.0 (Vol. 3), Part C, Section 18.1.

Definition at line 165 of file AdvertisingDataTypes.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
LE_LIMITED_DISCOVERABLE 

Discoverable for a limited period of time.

LE_GENERAL_DISCOVERABLE 

Discoverable at any moment.

BREDR_NOT_SUPPORTED 

LE only and does not support Bluetooth Enhanced DataRate.

SIMULTANEOUS_LE_BREDR_C 

Not relevant - dual mode only.

SIMULTANEOUS_LE_BREDR_H 

Not relevant - dual mode only.

Definition at line 166 of file AdvertisingDataTypes.h.

Constructor & Destructor Documentation

◆ adv_data_flags_t()

adv_data_flags_t ( uint8_t  value = 0)

Create from raw value.

Definition at line 177 of file AdvertisingDataTypes.h.