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

Enumeration of values for the adv_data_type_t::APPEARANCE. More...

#include <AdvertisingDataTypes.h>

Inheritance diagram for adv_data_appearance_t:
SafeEnum< adv_data_appearance_t, uint16_t >

Public Types

enum  type {
  UNKNOWN = 0 , GENERIC_PHONE = 64 , GENERIC_COMPUTER = 128 , GENERIC_WATCH = 192 ,
  WATCH_SPORTS_WATCH = 193 , GENERIC_CLOCK = 256 , GENERIC_DISPLAY = 320 , GENERIC_REMOTE_CONTROL = 384 ,
  GENERIC_EYE_GLASSES = 448 , GENERIC_TAG = 512 , GENERIC_KEYRING = 576 , GENERIC_MEDIA_PLAYER = 640 ,
  GENERIC_BARCODE_SCANNER = 704 , GENERIC_THERMOMETER = 768 , THERMOMETER_EAR = 769 , GENERIC_HEART_RATE_SENSOR = 832 ,
  HEART_RATE_SENSOR_HEART_RATE_BELT = 833 , GENERIC_BLOOD_PRESSURE = 896 , BLOOD_PRESSURE_ARM = 897 , BLOOD_PRESSURE_WRIST = 898 ,
  HUMAN_INTERFACE_DEVICE_HID = 960 , KEYBOARD = 961 , MOUSE = 962 , JOYSTICK = 963 ,
  GAMEPAD = 964 , DIGITIZER_TABLET = 965 , CARD_READER = 966 , DIGITAL_PEN = 967 ,
  BARCODE_SCANNER = 968 , GENERIC_GLUCOSE_METER = 1024 , GENERIC_RUNNING_WALKING_SENSOR = 1088 , RUNNING_WALKING_SENSOR_IN_SHOE = 1089 ,
  RUNNING_WALKING_SENSOR_ON_SHOE = 1090 , RUNNING_WALKING_SENSOR_ON_HIP = 1091 , GENERIC_CYCLING = 1152 , CYCLING_CYCLING_COMPUTER = 1153 ,
  CYCLING_SPEED_SENSOR = 1154 , CYCLING_CADENCE_SENSOR = 1155 , CYCLING_POWER_SENSOR = 1156 , CYCLING_SPEED_AND_CADENCE_SENSOR = 1157 ,
  PULSE_OXIMETER_GENERIC = 3136 , PULSE_OXIMETER_FINGERTIP = 3137 , PULSE_OXIMETER_WRIST_WORN = 3138 , GENERIC_WEIGHT_SCALE = 3200 ,
  OUTDOOR_GENERIC = 5184 , OUTDOOR_LOCATION_DISPLAY_DEVICE = 5185 , OUTDOOR_LOCATION_AND_NAVIGATION_DISPLAY_DEVICE = 5186 , OUTDOOR_LOCATION_POD = 5187 ,
  OUTDOOR_LOCATION_AND_NAVIGATION_POD = 5188
}
 struct scoped enum wrapped by the class More...
 
typedef uint16_t representation_t
 Type of the representation. More...
 

Public Member Functions

 adv_data_appearance_t (type value)
 Construct a new instance of adv_data_appearance_t. More...
 
uint16_t value () const
 Explicit access to the inner value of the SafeEnum instance. More...
 
const uint16_t * storage () const
 Return a pointer to the inner storage. More...
 

Detailed Description

Enumeration of values for the adv_data_type_t::APPEARANCE.

These values describe the physical shape or appearance of the device.

Source

Definition at line 277 of file AdvertisingDataTypes.h.

Member Typedef Documentation

◆ representation_t

typedef uint16_t representation_t
inherited

Type of the representation.

Definition at line 115 of file common/SafeEnum.h.

Member Enumeration Documentation

◆ type

enum type

struct scoped enum wrapped by the class

Enumerator
UNKNOWN 

Unknown or unspecified appearance type.

GENERIC_PHONE 

Generic Phone.

GENERIC_COMPUTER 

Generic Computer.

GENERIC_WATCH 

Generic Watch.

WATCH_SPORTS_WATCH 

Sports Watch.

GENERIC_CLOCK 

Generic Clock.

GENERIC_DISPLAY 

Generic Display.

GENERIC_REMOTE_CONTROL 

Generic Remote Control.

GENERIC_EYE_GLASSES 

Generic Eye Glasses.

GENERIC_TAG 

Generic Tag.

GENERIC_KEYRING 

Generic Keyring.

GENERIC_MEDIA_PLAYER 

Generic Media Player.

GENERIC_BARCODE_SCANNER 

Generic Bar Code Scanner.

GENERIC_THERMOMETER 

Generic Thermometer.

THERMOMETER_EAR 

Ear Thermometer.

GENERIC_HEART_RATE_SENSOR 

Generic Heart Rate Sensor.

HEART_RATE_SENSOR_HEART_RATE_BELT 

Belt Heart Rate Sensor.

GENERIC_BLOOD_PRESSURE 

Generic Blood Pressure.

BLOOD_PRESSURE_ARM 

Arm Blood Pressure.

BLOOD_PRESSURE_WRIST 

Wrist Blood Pressure.

HUMAN_INTERFACE_DEVICE_HID 

Human Interface Device (HID).

KEYBOARD 

Keyboard.

MOUSE 

Mouse.

JOYSTICK 

Joystick.

GAMEPAD 

Gamepad.

DIGITIZER_TABLET 

Digitizer Tablet.

CARD_READER 

Card Reader.

DIGITAL_PEN 

Digital Pen.

BARCODE_SCANNER 

Bar Code Scanner.

GENERIC_GLUCOSE_METER 

Generic Glucose Meter.

GENERIC_RUNNING_WALKING_SENSOR 

Generic Running/Walking Sensor.

RUNNING_WALKING_SENSOR_IN_SHOE 

In Shoe Running/Walking Sensor.

RUNNING_WALKING_SENSOR_ON_SHOE 

On Shoe Running/Walking Sensor.

RUNNING_WALKING_SENSOR_ON_HIP 

On Hip Running/Walking Sensor.

GENERIC_CYCLING 

Generic Cycling.

CYCLING_CYCLING_COMPUTER 

Cycling Computer.

CYCLING_SPEED_SENSOR 

Cycling Speed Sensor.

CYCLING_CADENCE_SENSOR 

Cycling Cadence Sensor.

CYCLING_POWER_SENSOR 

Cycling Power Sensor.

CYCLING_SPEED_AND_CADENCE_SENSOR 

Cycling Speed and Cadence Sensor.

PULSE_OXIMETER_GENERIC 

Generic Pulse Oximeter.

PULSE_OXIMETER_FINGERTIP 

Fingertip Pulse Oximeter.

PULSE_OXIMETER_WRIST_WORN 

Wrist Worn Pulse Oximeter.

GENERIC_WEIGHT_SCALE 

Generic Weight Scale.

OUTDOOR_GENERIC 

Generic Outdoor.

OUTDOOR_LOCATION_DISPLAY_DEVICE 

Outdoor Location Display Device.

OUTDOOR_LOCATION_AND_NAVIGATION_DISPLAY_DEVICE 

Outdoor Location and Navigation Display Device.

OUTDOOR_LOCATION_POD 

Outdoor Location Pod.

OUTDOOR_LOCATION_AND_NAVIGATION_POD 

Outdoor Location and Navigation Pod.

Definition at line 279 of file AdvertisingDataTypes.h.

Constructor & Destructor Documentation

◆ adv_data_appearance_t()

Construct a new instance of adv_data_appearance_t.

Definition at line 529 of file AdvertisingDataTypes.h.

Member Function Documentation

◆ value()

uint16_t value ( ) const
inherited

Explicit access to the inner value of the SafeEnum instance.

Definition at line 204 of file common/SafeEnum.h.

◆ storage()

const uint16_t * storage ( ) const
inherited

Return a pointer to the inner storage.

Definition at line 211 of file common/SafeEnum.h.