19#ifndef BLE_GAP_ADVERTISINGDATATYPES_H
20#define BLE_GAP_ADVERTISINGDATATYPES_H
22#include "ble/common/SafeEnum.h"
201 _value &= ~BREDR_NOT_SUPPORTED;
210 _value &= ~SIMULTANEOUS_LE_BREDR_C;
219 _value &= ~SIMULTANEOUS_LE_BREDR_H;
226 bool getGeneralDiscoverable()
const
231 bool getlimitedDiscoverable()
const
236 bool getBrEdrNotSupported()
const
241 bool getSimultaneousLeBredrC()
const
246 bool getSimultaneousLeBredrH()
const
256 uint8_t value()
const
Entry namespace for all BLE API definitions.
Helper class used to define safe enumerations.
uint8_t value() const
Explicit access to the inner value of the SafeEnum instance.
Enumeration of values for the adv_data_type_t::APPEARANCE.
type
struct scoped enum wrapped by the class
@ BARCODE_SCANNER
Bar Code Scanner.
@ GENERIC_WEIGHT_SCALE
Generic Weight Scale.
@ GENERIC_KEYRING
Generic Keyring.
@ HUMAN_INTERFACE_DEVICE_HID
Human Interface Device (HID).
@ PULSE_OXIMETER_GENERIC
Generic Pulse Oximeter.
@ OUTDOOR_LOCATION_AND_NAVIGATION_DISPLAY_DEVICE
Outdoor Location and Navigation Display Device.
@ GENERIC_EYE_GLASSES
Generic Eye Glasses.
@ OUTDOOR_LOCATION_AND_NAVIGATION_POD
Outdoor Location and Navigation Pod.
@ GENERIC_COMPUTER
Generic Computer.
@ CYCLING_CYCLING_COMPUTER
Cycling Computer.
@ GENERIC_CLOCK
Generic Clock.
@ CARD_READER
Card Reader.
@ PULSE_OXIMETER_WRIST_WORN
Wrist Worn Pulse Oximeter.
@ OUTDOOR_GENERIC
Generic Outdoor.
@ RUNNING_WALKING_SENSOR_ON_HIP
On Hip Running/Walking Sensor.
@ CYCLING_SPEED_SENSOR
Cycling Speed Sensor.
@ HEART_RATE_SENSOR_HEART_RATE_BELT
Belt Heart Rate Sensor.
@ RUNNING_WALKING_SENSOR_IN_SHOE
In Shoe Running/Walking Sensor.
@ GENERIC_REMOTE_CONTROL
Generic Remote Control.
@ UNKNOWN
Unknown or unspecified appearance type.
@ DIGITAL_PEN
Digital Pen.
@ GENERIC_TAG
Generic Tag.
@ OUTDOOR_LOCATION_DISPLAY_DEVICE
Outdoor Location Display Device.
@ DIGITIZER_TABLET
Digitizer Tablet.
@ PULSE_OXIMETER_FINGERTIP
Fingertip Pulse Oximeter.
@ GENERIC_CYCLING
Generic Cycling.
@ RUNNING_WALKING_SENSOR_ON_SHOE
On Shoe Running/Walking Sensor.
@ GENERIC_BARCODE_SCANNER
Generic Bar Code Scanner.
@ GENERIC_BLOOD_PRESSURE
Generic Blood Pressure.
@ CYCLING_SPEED_AND_CADENCE_SENSOR
Cycling Speed and Cadence Sensor.
@ WATCH_SPORTS_WATCH
Sports Watch.
@ GENERIC_RUNNING_WALKING_SENSOR
Generic Running/Walking Sensor.
@ GENERIC_DISPLAY
Generic Display.
@ CYCLING_POWER_SENSOR
Cycling Power Sensor.
@ GENERIC_THERMOMETER
Generic Thermometer.
@ THERMOMETER_EAR
Ear Thermometer.
@ BLOOD_PRESSURE_WRIST
Wrist Blood Pressure.
@ GENERIC_WATCH
Generic Watch.
@ BLOOD_PRESSURE_ARM
Arm Blood Pressure.
@ GENERIC_GLUCOSE_METER
Generic Glucose Meter.
@ GENERIC_PHONE
Generic Phone.
@ GENERIC_HEART_RATE_SENSOR
Generic Heart Rate Sensor.
@ CYCLING_CADENCE_SENSOR
Cycling Cadence Sensor.
@ GENERIC_MEDIA_PLAYER
Generic Media Player.
@ OUTDOOR_LOCATION_POD
Outdoor Location Pod.
adv_data_appearance_t(type value)
Construct a new instance of adv_data_appearance_t.
Set of advertising flags.
adv_data_flags_t(uint8_t value=0)
Create from raw value.
@ LE_LIMITED_DISCOVERABLE
Discoverable for a limited period of time.
@ SIMULTANEOUS_LE_BREDR_C
Not relevant - dual mode only.
@ LE_GENERAL_DISCOVERABLE
Discoverable at any moment.
@ BREDR_NOT_SUPPORTED
LE only and does not support Bluetooth Enhanced DataRate.
@ SIMULTANEOUS_LE_BREDR_H
Not relevant - dual mode only.
adv_data_type_t(type value)
Construct a new instance of adv_data_type_t.
type
struct scoped enum wrapped by the class
@ COMPLETE_LIST_128BIT_SERVICE_IDS
Complete list of 128-bit Service IDs.
@ MANUFACTURER_SPECIFIC_DATA
Manufacturer Specific Data.
@ FLAGS
Flags, refer to AdvertisingData::Flags_t.
@ COMPLETE_LOCAL_NAME
Complete Local Name.
@ SLAVE_CONNECTION_INTERVAL_RANGE
Slave Connection Interval Range.
@ COMPLETE_LIST_16BIT_SERVICE_IDS
Complete list of 16-bit Service IDs.
@ SERVICE_DATA
Service Data.
@ SHORTENED_LOCAL_NAME
Shortened Local Name.
@ APPEARANCE
Appearance, refer to AdvertisingData::Appearance_t.
@ INCOMPLETE_LIST_16BIT_SERVICE_IDS
Incomplete list of 16-bit Service IDs.
@ INCOMPLETE_LIST_128BIT_SERVICE_IDS
Incomplete list of 128-bit Service IDs.
@ COMPLETE_LIST_32BIT_SERVICE_IDS
Complete list of 32-bit Service IDs (not relevant for Bluetooth 4.0).
@ SERVICE_DATA_16BIT_ID
Service Data.
@ TX_POWER_LEVEL
TX Power Level (in dBm).
@ LIST_16BIT_SOLICITATION_IDS
List of 128-bit service UUIDs the device is looking for.
@ ADVERTISING_INTERVAL
Advertising Interval.
@ LIST_128BIT_SOLICITATION_IDS
List of 128-bit service UUIDs the device is looking for.
@ SERVICE_DATA_128BIT_ID
Service Data.
@ INCOMPLETE_LIST_32BIT_SERVICE_IDS
Incomplete list of 32-bit Service IDs (not relevant for Bluetooth 4.0).