Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Defines and Assigned Numbers

Bluetooth Generic Access Profile defines and Assigned Numbers. More...

Macros

#define BT_GAP_ADV_MAX_ADV_DATA_LEN   31
 Maximum advertising data length.
 
#define BT_GAP_ADV_MAX_EXT_ADV_DATA_LEN   1650
 Maximum extended advertising data length.
 
#define BT_GAP_TX_POWER_INVALID   0x7f
 
#define BT_GAP_RSSI_INVALID   0x7f
 
#define BT_GAP_SID_INVALID   0xff
 
#define BT_GAP_NO_TIMEOUT   0x0000
 
#define BT_GAP_ADV_HIGH_DUTY_CYCLE_MAX_TIMEOUT   128
 
#define BT_GAP_DATA_LEN_DEFAULT   0x001b /* 27 bytes */
 Default data length.
 
#define BT_GAP_DATA_LEN_MAX   0x00fb /* 251 bytes */
 Maximum data length.
 
#define BT_GAP_DATA_TIME_DEFAULT   0x0148 /* 328 us */
 Default data time.
 
#define BT_GAP_DATA_TIME_MAX   0x4290 /* 17040 us */
 Maximum data time.
 
#define BT_GAP_SID_MAX   0x0F
 Maximum advertising set number.
 
#define BT_GAP_PER_ADV_MAX_SKIP   0x01F3
 Maximum number of consecutive periodic advertisement events that can be skipped after a successful receive.
 
#define BT_GAP_PER_ADV_MIN_TIMEOUT   0x000A /* 100 ms */
 Minimum Periodic Advertising Timeout (N * 10 ms)
 
#define BT_GAP_PER_ADV_MAX_TIMEOUT   0x4000 /* 163.84 s */
 Maximum Periodic Advertising Timeout (N * 10 ms)
 
#define BT_GAP_PER_ADV_MIN_INTERVAL   0x0006 /* 7.5 ms */
 Minimum Periodic Advertising Interval (N * 1.25 ms)
 
#define BT_GAP_PER_ADV_MAX_INTERVAL   0xFFFF /* 81.91875 s */
 Maximum Periodic Advertising Interval (N * 1.25 ms)
 
#define BT_GAP_ADV_INTERVAL_TO_US(_interval)
 Convert periodic advertising interval (N * 0.625 ms) to microseconds.
 
#define BT_GAP_ADV_INTERVAL_TO_MS(_interval)
 Convert periodic advertising interval (N * 0.625 ms) to milliseconds.
 
#define BT_GAP_ISO_INTERVAL_TO_US(_interval)
 Convert isochronous interval (N * 1.25 ms) to microseconds.
 
#define BT_GAP_ISO_INTERVAL_TO_MS(_interval)
 Convert isochronous interval (N * 1.25 ms) to milliseconds.
 
#define BT_GAP_PER_ADV_INTERVAL_TO_US(_interval)
 Convert periodic advertising interval (N * 1.25 ms) to microseconds *.
 
#define BT_GAP_PER_ADV_INTERVAL_TO_MS(_interval)
 Convert periodic advertising interval (N * 1.25 ms) to milliseconds.
 
#define BT_GAP_US_TO_ADV_INTERVAL(_interval)
 Convert microseconds to advertising interval units (0.625 ms)
 
#define BT_GAP_MS_TO_ADV_INTERVAL(_interval)
 Convert milliseconds to advertising interval units (0.625 ms)
 
#define BT_GAP_US_TO_PER_ADV_INTERVAL(_interval)
 Convert microseconds to periodic advertising interval units (1.25 ms)
 
#define BT_GAP_MS_TO_PER_ADV_INTERVAL(_interval)
 Convert milliseconds to periodic advertising interval units (1.25 ms)
 
#define BT_GAP_MS_TO_PER_ADV_SYNC_TIMEOUT(_timeout)
 Convert milliseconds to periodic advertising sync timeout units (10 ms)
 
#define BT_GAP_US_TO_PER_ADV_SYNC_TIMEOUT(_timeout)
 Convert microseconds to periodic advertising sync timeout units (10 ms)
 
#define BT_GAP_US_TO_SCAN_INTERVAL(_interval)
 Convert microseconds to scan interval units (0.625 ms)
 
#define BT_GAP_MS_TO_SCAN_INTERVAL(_interval)
 Convert milliseconds to scan interval units (0.625 ms)
 
#define BT_GAP_US_TO_SCAN_WINDOW(_window)
 Convert microseconds to scan window units (0.625 ms)
 
#define BT_GAP_MS_TO_SCAN_WINDOW(_window)
 Convert milliseconds to scan window units (0.625 ms)
 
#define BT_GAP_US_TO_CONN_INTERVAL(_interval)
 Convert microseconds to connection interval units (1.25 ms)
 
#define BT_GAP_MS_TO_CONN_INTERVAL(_interval)
 Convert milliseconds to connection interval units (1.25 ms)
 
#define BT_GAP_MS_TO_CONN_TIMEOUT(_timeout)
 Convert milliseconds to connection supervision timeout units (10 ms)
 
#define BT_GAP_US_TO_CONN_TIMEOUT(_timeout)
 Convert microseconds to connection supervision timeout units (10 ms)
 
#define BT_GAP_US_TO_CONN_EVENT_LEN(_event_len)
 Convert milliseconds to connection event length units (0.625)
 
#define BT_GAP_MS_TO_CONN_EVENT_LEN(_event_len)
 Convert milliseconds to connection event length units (0.625)
 
#define BT_LE_SUPP_FEAT_40_ENCODE(w64)
 Encode 40 least significant bits of 64-bit LE Supported Features into array values in little-endian format.
 
#define BT_LE_SUPP_FEAT_32_ENCODE(w64)
 Encode 4 least significant bytes of 64-bit LE Supported Features into 4 bytes long array of values in little-endian format.
 
#define BT_LE_SUPP_FEAT_24_ENCODE(w64)
 Encode 3 least significant bytes of 64-bit LE Supported Features into 3 bytes long array of values in little-endian format.
 
#define BT_LE_SUPP_FEAT_16_ENCODE(w64)
 Encode 2 least significant bytes of 64-bit LE Supported Features into 2 bytes long array of values in little-endian format.
 
#define BT_LE_SUPP_FEAT_8_ENCODE(w64)
 Encode the least significant byte of 64-bit LE Supported Features into single byte long array.
 
#define BT_LE_SUPP_FEAT_VALIDATE(w64)
 Validate whether LE Supported Features value does not use bits that are reserved for future use.
 

Enumerations

enum  { BT_GAP_LE_PHY_NONE = 0 , BT_GAP_LE_PHY_1M = BIT(0) , BT_GAP_LE_PHY_2M = BIT(1) , BT_GAP_LE_PHY_CODED = BIT(2) }
 LE PHY types. More...
 
enum  {
  BT_GAP_ADV_TYPE_ADV_IND = 0x00 , BT_GAP_ADV_TYPE_ADV_DIRECT_IND = 0x01 , BT_GAP_ADV_TYPE_ADV_SCAN_IND = 0x02 , BT_GAP_ADV_TYPE_ADV_NONCONN_IND = 0x03 ,
  BT_GAP_ADV_TYPE_SCAN_RSP = 0x04 , BT_GAP_ADV_TYPE_EXT_ADV = 0x05
}
 Advertising PDU types. More...
 
enum  {
  BT_GAP_ADV_PROP_CONNECTABLE = BIT(0) , BT_GAP_ADV_PROP_SCANNABLE = BIT(1) , BT_GAP_ADV_PROP_DIRECTED = BIT(2) , BT_GAP_ADV_PROP_SCAN_RESPONSE = BIT(3) ,
  BT_GAP_ADV_PROP_EXT_ADV = BIT(4)
}
 Advertising PDU properties. More...
 
enum  { BT_GAP_CTE_AOA = 0x00 , BT_GAP_CTE_AOD_1US = 0x01 , BT_GAP_CTE_AOD_2US = 0x02 , BT_GAP_CTE_NONE = 0xFF }
 Constant Tone Extension (CTE) types. More...
 
enum  {
  BT_GAP_SCA_UNKNOWN = 0 , BT_GAP_SCA_251_500 = 0 , BT_GAP_SCA_151_250 = 1 , BT_GAP_SCA_101_150 = 2 ,
  BT_GAP_SCA_76_100 = 3 , BT_GAP_SCA_51_75 = 4 , BT_GAP_SCA_31_50 = 5 , BT_GAP_SCA_21_30 = 6 ,
  BT_GAP_SCA_0_20 = 7
}
 Peripheral sleep clock accuracy (SCA) in ppm (parts per million) More...
 

Company Identifiers (see Bluetooth Assigned Numbers)

#define BT_COMP_ID_LF   0x05f1
 The Linux Foundation.
 

EIR/AD data type definitions

#define BT_DATA_FLAGS   0x01
 AD flags.
 
#define BT_DATA_UUID16_SOME   0x02
 16-bit UUID, more available
 
#define BT_DATA_UUID16_ALL   0x03
 16-bit UUID, all listed
 
#define BT_DATA_UUID32_SOME   0x04
 32-bit UUID, more available
 
#define BT_DATA_UUID32_ALL   0x05
 32-bit UUID, all listed
 
#define BT_DATA_UUID128_SOME   0x06
 128-bit UUID, more available
 
#define BT_DATA_UUID128_ALL   0x07
 128-bit UUID, all listed
 
#define BT_DATA_NAME_SHORTENED   0x08
 Shortened name.
 
#define BT_DATA_NAME_COMPLETE   0x09
 Complete name.
 
#define BT_DATA_TX_POWER   0x0a
 Tx Power.
 
#define BT_DATA_DEVICE_CLASS   0x0d
 Class of Device.
 
#define BT_DATA_SIMPLE_PAIRING_HASH_C192   0x0e
 Simple Pairing Hash C-192.
 
#define BT_DATA_SIMPLE_PAIRING_RAND_C192   0x0f
 Simple Pairing Randomizer R-192.
 
#define BT_DATA_DEVICE_ID   0x10
 Device ID (Profile)
 
#define BT_DATA_SM_TK_VALUE   0x10
 Security Manager TK Value.
 
#define BT_DATA_SM_OOB_FLAGS   0x11
 Security Manager OOB Flags.
 
#define BT_DATA_PERIPHERAL_INT_RANGE   0x12
 Peripheral Connection Interval Range.
 
#define BT_DATA_SOLICIT16   0x14
 Solicit UUIDs, 16-bit.
 
#define BT_DATA_SOLICIT128   0x15
 Solicit UUIDs, 128-bit.
 
#define BT_DATA_SVC_DATA16   0x16
 Service data, 16-bit UUID.
 
#define BT_DATA_PUB_TARGET_ADDR   0x17
 Public Target Address.
 
#define BT_DATA_RAND_TARGET_ADDR   0x18
 Random Target Address.
 
#define BT_DATA_GAP_APPEARANCE   0x19
 GAP appearance.
 
#define BT_DATA_ADV_INT   0x1a
 Advertising Interval.
 
#define BT_DATA_LE_BT_DEVICE_ADDRESS   0x1b
 LE Bluetooth Device Address.
 
#define BT_DATA_LE_ROLE   0x1c
 LE Role.
 
#define BT_DATA_SIMPLE_PAIRING_HASH   0x1d
 Simple Pairing Hash C256.
 
#define BT_DATA_SIMPLE_PAIRING_RAND   0x1e
 Simple Pairing Randomizer R256.
 
#define BT_DATA_SOLICIT32   0x1f
 Solicit UUIDs, 32-bit.
 
#define BT_DATA_SVC_DATA32   0x20
 Service data, 32-bit UUID.
 
#define BT_DATA_SVC_DATA128   0x21
 Service data, 128-bit UUID.
 
#define BT_DATA_LE_SC_CONFIRM_VALUE   0x22
 LE SC Confirmation Value.
 
#define BT_DATA_LE_SC_RANDOM_VALUE   0x23
 LE SC Random Value.
 
#define BT_DATA_URI   0x24
 URI.
 
#define BT_DATA_INDOOR_POS   0x25
 Indoor Positioning.
 
#define BT_DATA_TRANS_DISCOVER_DATA   0x26
 Transport Discovery Data.
 
#define BT_DATA_LE_SUPPORTED_FEATURES   0x27
 LE Supported Features.
 
#define BT_DATA_CHANNEL_MAP_UPDATE_IND   0x28
 Channel Map Update Indication.
 
#define BT_DATA_MESH_PROV   0x29
 Mesh Provisioning PDU.
 
#define BT_DATA_MESH_MESSAGE   0x2a
 Mesh Networking PDU.
 
#define BT_DATA_MESH_BEACON   0x2b
 Mesh Beacon.
 
#define BT_DATA_BIG_INFO   0x2c
 BIGInfo.
 
#define BT_DATA_BROADCAST_CODE   0x2d
 Broadcast Code.
 
#define BT_DATA_CSIS_RSI   0x2e
 CSIS Random Set ID type.
 
#define BT_DATA_ADV_INT_LONG   0x2f
 Advertising Interval long.
 
#define BT_DATA_BROADCAST_NAME   0x30
 Broadcast Name.
 
#define BT_DATA_ENCRYPTED_AD_DATA   0x31
 Encrypted Advertising Data.
 
#define BT_DATA_PAWR_TIMING_INFO   0x32
 Periodic Advertising Response Timing Info.
 
#define BT_DATA_ESL   0x34
 Electronic Shelf Label Profile.
 
#define BT_DATA_3D_INFO   0x3D
 3D Information Data
 
#define BT_DATA_MANUFACTURER_DATA   0xff
 Manufacturer Specific Data.
 
#define BT_LE_AD_LIMITED   0x01
 Limited Discoverable.
 
#define BT_LE_AD_GENERAL   0x02
 General Discoverable.
 
#define BT_LE_AD_NO_BREDR   0x04
 BR/EDR not supported.
 

Appearance Values

Last Modified on 2023-01-05

#define BT_APPEARANCE_UNKNOWN   0x0000
 Generic Unknown.
 
#define BT_APPEARANCE_GENERIC_PHONE   0x0040
 Generic Phone.
 
#define BT_APPEARANCE_GENERIC_COMPUTER   0x0080
 Generic Computer.
 
#define BT_APPEARANCE_COMPUTER_DESKTOP_WORKSTATION   0x0081
 Desktop Workstation.
 
#define BT_APPEARANCE_COMPUTER_SERVER_CLASS   0x0082
 Server-class Computer.
 
#define BT_APPEARANCE_COMPUTER_LAPTOP   0x0083
 Laptop.
 
#define BT_APPEARANCE_COMPUTER_HANDHELD_PCPDA   0x0084
 Handheld PC/PDA (clamshell)
 
#define BT_APPEARANCE_COMPUTER_PALMSIZE_PCPDA   0x0085
 Palm­size PC/PDA.
 
#define BT_APPEARANCE_COMPUTER_WEARABLE_COMPUTER   0x0086
 Wearable computer (watch size)
 
#define BT_APPEARANCE_COMPUTER_TABLET   0x0087
 Tablet.
 
#define BT_APPEARANCE_COMPUTER_DOCKING_STATION   0x0088
 Docking Station.
 
#define BT_APPEARANCE_COMPUTER_ALL_IN_ONE   0x0089
 All in One.
 
#define BT_APPEARANCE_COMPUTER_BLADE_SERVER   0x008A
 Blade Server.
 
#define BT_APPEARANCE_COMPUTER_CONVERTIBLE   0x008B
 Convertible.
 
#define BT_APPEARANCE_COMPUTER_DETACHABLE   0x008C
 Detachable.
 
#define BT_APPEARANCE_COMPUTER_IOT_GATEWAY   0x008D
 IoT Gateway.
 
#define BT_APPEARANCE_COMPUTER_MINI_PC   0x008E
 Mini PC.
 
#define BT_APPEARANCE_COMPUTER_STICK_PC   0x008F
 Stick PC.
 
#define BT_APPEARANCE_GENERIC_WATCH   0x00C0
 Generic Watch.
 
#define BT_APPEARANCE_SPORTS_WATCH   0x00C1
 Sports Watch.
 
#define BT_APPEARANCE_SMARTWATCH   0x00C2
 Smartwatch.
 
#define BT_APPEARANCE_GENERIC_CLOCK   0x0100
 Generic Clock.
 
#define BT_APPEARANCE_GENERIC_DISPLAY   0x0140
 Generic Display.
 
#define BT_APPEARANCE_GENERIC_REMOTE   0x0180
 Generic Remote Control.
 
#define BT_APPEARANCE_GENERIC_EYEGLASSES   0x01C0
 Generic Eye-glasses.
 
#define BT_APPEARANCE_GENERIC_TAG   0x0200
 Generic Tag.
 
#define BT_APPEARANCE_GENERIC_KEYRING   0x0240
 Generic Keyring.
 
#define BT_APPEARANCE_GENERIC_MEDIA_PLAYER   0x0280
 Generic Media Player.
 
#define BT_APPEARANCE_GENERIC_BARCODE_SCANNER   0x02C0
 Generic Barcode Scanner.
 
#define BT_APPEARANCE_GENERIC_THERMOMETER   0x0300
 Generic Thermometer.
 
#define BT_APPEARANCE_THERMOMETER_EAR   0x0301
 Ear Thermometer.
 
#define BT_APPEARANCE_GENERIC_HEART_RATE   0x0340
 Generic Heart Rate Sensor.
 
#define BT_APPEARANCE_HEART_RATE_BELT   0x0341
 Heart Rate Belt.
 
#define BT_APPEARANCE_GENERIC_BLOOD_PRESSURE   0x0380
 Generic Blood Pressure.
 
#define BT_APPEARANCE_BLOOD_PRESSURE_ARM   0x0381
 Arm Blood Pressure.
 
#define BT_APPEARANCE_BLOOD_PRESSURE_WRIST   0x0382
 Wrist Blood Pressure.
 
#define BT_APPEARANCE_GENERIC_HID   0x03C0
 Generic Human Interface Device.
 
#define BT_APPEARANCE_HID_KEYBOARD   0x03C1
 Keyboard.
 
#define BT_APPEARANCE_HID_MOUSE   0x03C2
 Mouse.
 
#define BT_APPEARANCE_HID_JOYSTICK   0x03C3
 Joystick.
 
#define BT_APPEARANCE_HID_GAMEPAD   0x03C4
 Gamepad.
 
#define BT_APPEARANCE_HID_DIGITIZER_TABLET   0x03C5
 Digitizer Tablet.
 
#define BT_APPEARANCE_HID_CARD_READER   0x03C6
 Card Reader.
 
#define BT_APPEARANCE_HID_DIGITAL_PEN   0x03C7
 Digital Pen.
 
#define BT_APPEARANCE_HID_BARCODE_SCANNER   0x03C8
 Barcode Scanner.
 
#define BT_APPEARANCE_HID_TOUCHPAD   0x03C9
 Touchpad.
 
#define BT_APPEARANCE_HID_PRESENTATION_REMOTE   0x03CA
 Presentation Remote.
 
#define BT_APPEARANCE_GENERIC_GLUCOSE   0x0400
 Generic Glucose Meter.
 
#define BT_APPEARANCE_GENERIC_WALKING   0x0440
 Generic Running Walking Sensor.
 
#define BT_APPEARANCE_WALKING_IN_SHOE   0x0441
 In-Shoe Running Walking Sensor.
 
#define BT_APPEARANCE_WALKING_ON_SHOE   0x0442
 On-Shoe Running Walking Sensor.
 
#define BT_APPEARANCE_WALKING_ON_HIP   0x0443
 On-Hip Running Walking Sensor.
 
#define BT_APPEARANCE_GENERIC_CYCLING   0x0480
 Generic Cycling.
 
#define BT_APPEARANCE_CYCLING_COMPUTER   0x0481
 Cycling Computer.
 
#define BT_APPEARANCE_CYCLING_SPEED   0x0482
 Speed Sensor.
 
#define BT_APPEARANCE_CYCLING_CADENCE   0x0483
 Cadence Sensor.
 
#define BT_APPEARANCE_CYCLING_POWER   0x0484
 Power Sensor.
 
#define BT_APPEARANCE_CYCLING_SPEED_CADENCE   0x0485
 Speed and Cadence Sensor.
 
#define BT_APPEARANCE_GENERIC_CONTROL_DEVICE   0x04C0
 Generic Control Device.
 
#define BT_APPEARANCE_CONTROL_SWITCH   0x04C1
 Switch.
 
#define BT_APPEARANCE_CONTROL_MULTI_SWITCH   0x04C2
 Multi-switch.
 
#define BT_APPEARANCE_CONTROL_BUTTON   0x04C3
 Button.
 
#define BT_APPEARANCE_CONTROL_SLIDER   0x04C4
 Slider.
 
#define BT_APPEARANCE_CONTROL_ROTARY_SWITCH   0x04C5
 Rotary Switch.
 
#define BT_APPEARANCE_CONTROL_TOUCH_PANEL   0x04C6
 Touch Panel.
 
#define BT_APPEARANCE_CONTROL_SINGLE_SWITCH   0x04C7
 Single Switch.
 
#define BT_APPEARANCE_CONTROL_DOUBLE_SWITCH   0x04C8
 Double Switch.
 
#define BT_APPEARANCE_CONTROL_TRIPLE_SWITCH   0x04C9
 Triple Switch.
 
#define BT_APPEARANCE_CONTROL_BATTERY_SWITCH   0x04CA
 Battery Switch.
 
#define BT_APPEARANCE_CONTROL_ENERGY_HARVESTING_SWITCH   0x04CB
 Energy Harvesting Switch.
 
#define BT_APPEARANCE_CONTROL_PUSH_BUTTON   0x04CC
 Push Button.
 
#define BT_APPEARANCE_GENERIC_NETWORK_DEVICE   0x0500
 Generic Network Device.
 
#define BT_APPEARANCE_NETWORK_ACCESS_POINT   0x0501
 Access Point.
 
#define BT_APPEARANCE_NETWORK_MESH_DEVICE   0x0502
 Mesh Device.
 
#define BT_APPEARANCE_NETWORK_MESH_PROXY   0x0503
 Mesh Network Proxy.
 
#define BT_APPEARANCE_GENERIC_SENSOR   0x0540
 Generic Sensor.
 
#define BT_APPEARANCE_SENSOR_MOTION   0x0541
 Motion Sensor.
 
#define BT_APPEARANCE_SENSOR_AIR_QUALITY   0x0542
 Air quality Sensor.
 
#define BT_APPEARANCE_SENSOR_TEMPERATURE   0x0543
 Temperature Sensor.
 
#define BT_APPEARANCE_SENSOR_HUMIDITY   0x0544
 Humidity Sensor.
 
#define BT_APPEARANCE_SENSOR_LEAK   0x0545
 Leak Sensor.
 
#define BT_APPEARANCE_SENSOR_SMOKE   0x0546
 Smoke Sensor.
 
#define BT_APPEARANCE_SENSOR_OCCUPANCY   0x0547
 Occupancy Sensor.
 
#define BT_APPEARANCE_SENSOR_CONTACT   0x0548
 Contact Sensor.
 
#define BT_APPEARANCE_SENSOR_CARBON_MONOXIDE   0x0549
 Carbon Monoxide Sensor.
 
#define BT_APPEARANCE_SENSOR_CARBON_DIOXIDE   0x054A
 Carbon Dioxide Sensor.
 
#define BT_APPEARANCE_SENSOR_AMBIENT_LIGHT   0x054B
 Ambient Light Sensor.
 
#define BT_APPEARANCE_SENSOR_ENERGY   0x054C
 Energy Sensor.
 
#define BT_APPEARANCE_SENSOR_COLOR_LIGHT   0x054D
 Color Light Sensor.
 
#define BT_APPEARANCE_SENSOR_RAIN   0x054E
 Rain Sensor.
 
#define BT_APPEARANCE_SENSOR_FIRE   0x054F
 Fire Sensor.
 
#define BT_APPEARANCE_SENSOR_WIND   0x0550
 Wind Sensor.
 
#define BT_APPEARANCE_SENSOR_PROXIMITY   0x0551
 Proximity Sensor.
 
#define BT_APPEARANCE_SENSOR_MULTI   0x0552
 Multi-Sensor.
 
#define BT_APPEARANCE_SENSOR_FLUSH_MOUNTED   0x0553
 Flush Mounted Sensor.
 
#define BT_APPEARANCE_SENSOR_CEILING_MOUNTED   0x0554
 Ceiling Mounted Sensor.
 
#define BT_APPEARANCE_SENSOR_WALL_MOUNTED   0x0555
 Wall Mounted Sensor.
 
#define BT_APPEARANCE_MULTISENSOR   0x0556
 Multisensor.
 
#define BT_APPEARANCE_SENSOR_ENERGY_METER   0x0557
 Energy Meter.
 
#define BT_APPEARANCE_SENSOR_FLAME_DETECTOR   0x0558
 Flame Detector.
 
#define BT_APPEARANCE_SENSOR_VEHICLE_TIRE_PRESSURE   0x0559
 Vehicle Tire Pressure Sensor.
 
#define BT_APPEARANCE_GENERIC_LIGHT_FIXTURES   0x0580
 Generic Light Fixtures.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_WALL   0x0581
 Wall Light.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_CEILING   0x0582
 Ceiling Light.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_FLOOR   0x0583
 Floor Light.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_CABINET   0x0584
 Cabinet Light.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_DESK   0x0585
 Desk Light.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_TROFFER   0x0586
 Troffer Light.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_PENDANT   0x0587
 Pendant Light.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_IN_GROUND   0x0588
 In-ground Light.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_FLOOD   0x0589
 Flood Light.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_UNDERWATER   0x058A
 Underwater Light.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_BOLLARD_WITH   0x058B
 Bollard with Light.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_PATHWAY   0x058C
 Pathway Light.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_GARDEN   0x058D
 Garden Light.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_POLE_TOP   0x058E
 Pole-top Light.
 
#define BT_APPEARANCE_SPOT_LIGHT   0x058F
 Spotlight.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_LINEAR   0x0590
 Linear Light.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_STREET   0x0591
 Street Light.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_SHELVES   0x0592
 Shelves Light.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_BAY   0x0593
 Bay Light.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_EMERGENCY_EXIT   0x0594
 Emergency Exit Light.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_CONTROLLER   0x0595
 Light Controller.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_DRIVER   0x0596
 Light Driver.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_BULB   0x0597
 Bulb.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_LOW_BAY   0x0598
 Low-bay Light.
 
#define BT_APPEARANCE_LIGHT_FIXTURES_HIGH_BAY   0x0599
 High-bay Light.
 
#define BT_APPEARANCE_GENERIC_FAN   0x05C0
 Generic Fan.
 
#define BT_APPEARANCE_FAN_CEILING   0x05C1
 Ceiling Fan.
 
#define BT_APPEARANCE_FAN_AXIAL   0x05C2
 Axial Fan.
 
#define BT_APPEARANCE_FAN_EXHAUST   0x05C3
 Exhaust Fan.
 
#define BT_APPEARANCE_FAN_PEDESTAL   0x05C4
 Pedestal Fan.
 
#define BT_APPEARANCE_FAN_DESK   0x05C5
 Desk Fan.
 
#define BT_APPEARANCE_FAN_WALL   0x05C6
 Wall Fan.
 
#define BT_APPEARANCE_GENERIC_HVAC   0x0600
 Generic HVAC.
 
#define BT_APPEARANCE_HVAC_THERMOSTAT   0x0601
 Thermostat.
 
#define BT_APPEARANCE_HVAC_HUMIDIFIER   0x0602
 Humidifier.
 
#define BT_APPEARANCE_HVAC_DEHUMIDIFIER   0x0603
 De-humidifier.
 
#define BT_APPEARANCE_HVAC_HEATER   0x0604
 Heater.
 
#define BT_APPEARANCE_HVAC_RADIATOR   0x0605
 Radiator.
 
#define BT_APPEARANCE_HVAC_BOILER   0x0606
 Boiler.
 
#define BT_APPEARANCE_HVAC_HEAT_PUMP   0x0607
 Heat Pump.
 
#define BT_APPEARANCE_HVAC_INFRARED_HEATER   0x0608
 Infrared Heater.
 
#define BT_APPEARANCE_HVAC_RADIANT_PANEL_HEATER   0x0609
 Radiant Panel Heater.
 
#define BT_APPEARANCE_HVAC_FAN_HEATER   0x060A
 Fan Heater.
 
#define BT_APPEARANCE_HVAC_AIR_CURTAIN   0x060B
 Air Curtain.
 
#define BT_APPEARANCE_GENERIC_AIR_CONDITIONING   0x0640
 Generic Air Conditioning.
 
#define BT_APPEARANCE_GENERIC_HUMIDIFIER   0x0680
 Generic Humidifier.
 
#define BT_APPEARANCE_GENERIC_HEATING   0x06C0
 Generic Heating.
 
#define BT_APPEARANCE_HEATING_RADIATOR   0x06C1
 Radiator.
 
#define BT_APPEARANCE_HEATING_BOILER   0x06C2
 Boiler.
 
#define BT_APPEARANCE_HEATING_HEAT_PUMP   0x06C3
 Heat Pump.
 
#define BT_APPEARANCE_HEATING_INFRARED_HEATER   0x06C4
 Infrared Heater.
 
#define BT_APPEARANCE_HEATING_RADIANT_PANEL_HEATER   0x06C5
 Radiant Panel Heater.
 
#define BT_APPEARANCE_HEATING_FAN_HEATER   0x06C6
 Fan Heater.
 
#define BT_APPEARANCE_HEATING_AIR_CURTAIN   0x06C7
 Air Curtain.
 
#define BT_APPEARANCE_GENERIC_ACCESS_CONTROL   0x0700
 Generic Access Control.
 
#define BT_APPEARANCE_CONTROL_ACCESS_DOOR   0x0701
 Access Door.
 
#define BT_APPEARANCE_CONTROL_GARAGE_DOOR   0x0702
 Garage Door.
 
#define BT_APPEARANCE_CONTROL_EMERGENCY_EXIT_DOOR   0x0703
 Emergency Exit Door.
 
#define BT_APPEARANCE_CONTROL_ACCESS_LOCK   0x0704
 Access Lock.
 
#define BT_APPEARANCE_CONTROL_ELEVATOR   0x0705
 Elevator.
 
#define BT_APPEARANCE_CONTROL_WINDOW   0x0706
 Window.
 
#define BT_APPEARANCE_CONTROL_ENTRANCE_GATE   0x0707
 Entrance Gate.
 
#define BT_APPEARANCE_CONTROL_DOOR_LOCK   0x0708
 Door Lock.
 
#define BT_APPEARANCE_CONTROL_LOCKER   0x0709
 Locker.
 
#define BT_APPEARANCE_GENERIC_MOTORIZED_DEVICE   0x0740
 Generic Motorized Device.
 
#define BT_APPEARANCE_MOTORIZED_GATE   0x0741
 Motorized Gate.
 
#define BT_APPEARANCE_MOTORIZED_AWNING   0x0742
 Awning.
 
#define BT_APPEARANCE_MOTORIZED_BLINDS_OR_SHADES   0x0743
 Blinds or Shades.
 
#define BT_APPEARANCE_MOTORIZED_CURTAINS   0x0744
 Curtains.
 
#define BT_APPEARANCE_MOTORIZED_SCREEN   0x0745
 Screen.
 
#define BT_APPEARANCE_GENERIC_POWER_DEVICE   0x0780
 Generic Power Device.
 
#define BT_APPEARANCE_POWER_OUTLET   0x0781
 Power Outlet.
 
#define BT_APPEARANCE_POWER_STRIP   0x0782
 Power Strip.
 
#define BT_APPEARANCE_POWER_PLUG   0x0783
 Plug.
 
#define BT_APPEARANCE_POWER_SUPPLY   0x0784
 Power Supply.
 
#define BT_APPEARANCE_POWER_LED_DRIVER   0x0785
 LED Driver.
 
#define BT_APPEARANCE_POWER_FLUORESCENT_LAMP_GEAR   0x0786
 Fluorescent Lamp Gear.
 
#define BT_APPEARANCE_POWER_HID_LAMP_GEAR   0x0787
 HID Lamp Gear.
 
#define BT_APPEARANCE_POWER_CHARGE_CASE   0x0788
 Charge Case.
 
#define BT_APPEARANCE_POWER_POWER_BANK   0x0789
 Power Bank.
 
#define BT_APPEARANCE_GENERIC_LIGHT_SOURCE   0x07C0
 Generic Light Source.
 
#define BT_APPEARANCE_LIGHT_SOURCE_INCANDESCENT_BULB   0x07C1
 Incandescent Light Bulb.
 
#define BT_APPEARANCE_LIGHT_SOURCE_LED_LAMP   0x07C2
 LED Lamp.
 
#define BT_APPEARANCE_LIGHT_SOURCE_HID_LAMP   0x07C3
 HID Lamp.
 
#define BT_APPEARANCE_LIGHT_SOURCE_FLUORESCENT_LAMP   0x07C4
 Fluorescent Lamp.
 
#define BT_APPEARANCE_LIGHT_SOURCE_LED_ARRAY   0x07C5
 LED Array.
 
#define BT_APPEARANCE_LIGHT_SOURCE_MULTICOLOR_LED_ARRAY   0x07C6
 Multi-Color LED Array.
 
#define BT_APPEARANCE_LIGHT_SOURCE_LOW_VOLTAGE_HALOGEN   0x07C7
 Low voltage halogen.
 
#define BT_APPEARANCE_LIGHT_SOURCE_OLED   0x07C8
 Organic light emitting diode.
 
#define BT_APPEARANCE_GENERIC_WINDOW_COVERING   0x0800
 Generic Window Covering.
 
#define BT_APPEARANCE_WINDOW_SHADES   0x0801
 Window Shades.
 
#define BT_APPEARANCE_WINDOW_BLINDS   0x0802
 Window Blinds.
 
#define BT_APPEARANCE_WINDOW_AWNING   0x0803
 Window Awning.
 
#define BT_APPEARANCE_WINDOW_CURTAIN   0x0804
 Window Curtain.
 
#define BT_APPEARANCE_WINDOW_EXTERIOR_SHUTTER   0x0805
 Exterior Shutter.
 
#define BT_APPEARANCE_WINDOW_EXTERIOR_SCREEN   0x0806
 Exterior Screen.
 
#define BT_APPEARANCE_GENERIC_AUDIO_SINK   0x0840
 Generic Audio Sink.
 
#define BT_APPEARANCE_AUDIO_SINK_STANDALONE_SPEAKER   0x0841
 Standalone Speaker.
 
#define BT_APPEARANCE_AUDIO_SINK_SOUNDBAR   0x0842
 Soundbar.
 
#define BT_APPEARANCE_AUDIO_SINK_BOOKSHELF_SPEAKER   0x0843
 Bookshelf Speaker.
 
#define BT_APPEARANCE_AUDIO_SINK_STANDMOUNTED_SPEAKER   0x0844
 Standmounted Speaker.
 
#define BT_APPEARANCE_AUDIO_SINK_SPEAKERPHONE   0x0845
 Speakerphone.
 
#define BT_APPEARANCE_GENERIC_AUDIO_SOURCE   0x0880
 Generic Audio Source.
 
#define BT_APPEARANCE_AUDIO_SOURCE_MICROPHONE   0x0881
 Microphone.
 
#define BT_APPEARANCE_AUDIO_SOURCE_ALARM   0x0882
 Alarm.
 
#define BT_APPEARANCE_AUDIO_SOURCE_BELL   0x0883
 Bell.
 
#define BT_APPEARANCE_AUDIO_SOURCE_HORN   0x0884
 Horn.
 
#define BT_APPEARANCE_AUDIO_SOURCE_BROADCASTING_DEVICE   0x0885
 Broadcasting Device.
 
#define BT_APPEARANCE_AUDIO_SOURCE_SERVICE_DESK   0x0886
 Service Desk.
 
#define BT_APPEARANCE_AUDIO_SOURCE_KIOSK   0x0887
 Kiosk.
 
#define BT_APPEARANCE_AUDIO_SOURCE_BROADCASTING_ROOM   0x0888
 Broadcasting Room.
 
#define BT_APPEARANCE_AUDIO_SOURCE_AUDITORIUM   0x0889
 Auditorium.
 
#define BT_APPEARANCE_GENERIC_MOTORIZED_VEHICLE   0x08C0
 Generic Motorized Vehicle.
 
#define BT_APPEARANCE_VEHICLE_CAR   0x08C1
 Car.
 
#define BT_APPEARANCE_VEHICLE_LARGE_GOODS   0x08C2
 Large Goods Vehicle.
 
#define BT_APPEARANCE_VEHICLE_TWO_WHEELED   0x08C3
 2-Wheeled Vehicle
 
#define BT_APPEARANCE_VEHICLE_MOTORBIKE   0x08C4
 Motorbike.
 
#define BT_APPEARANCE_VEHICLE_SCOOTER   0x08C5
 Scooter.
 
#define BT_APPEARANCE_VEHICLE_MOPED   0x08C6
 Moped.
 
#define BT_APPEARANCE_VEHICLE_THREE_WHEELED   0x08C7
 3-Wheeled Vehicle
 
#define BT_APPEARANCE_VEHICLE_LIGHT   0x08C8
 Light Vehicle.
 
#define BT_APPEARANCE_VEHICLE_QUAD_BIKE   0x08C9
 Quad Bike.
 
#define BT_APPEARANCE_VEHICLE_MINIBUS   0x08CA
 Minibus.
 
#define BT_APPEARANCE_VEHICLE_BUS   0x08CB
 Bus.
 
#define BT_APPEARANCE_VEHICLE_TROLLEY   0x08CC
 Trolley.
 
#define BT_APPEARANCE_VEHICLE_AGRICULTURAL   0x08CD
 Agricultural Vehicle.
 
#define BT_APPEARANCE_VEHICLE_CAMPER_OR_CARAVAN   0x08CE
 Camper/Caravan.
 
#define BT_APPEARANCE_VEHICLE_RECREATIONAL   0x08CF
 Recreational Vehicle/Motor Home.
 
#define BT_APPEARANCE_GENERIC_DOMESTIC_APPLIANCE   0x0900
 Generic Domestic Appliance.
 
#define BT_APPEARANCE_APPLIANCE_REFRIGERATOR   0x0901
 Refrigerator.
 
#define BT_APPEARANCE_APPLIANCE_FREEZER   0x0902
 Freezer.
 
#define BT_APPEARANCE_APPLIANCE_OVEN   0x0903
 Oven.
 
#define BT_APPEARANCE_APPLIANCE_MICROWAVE   0x0904
 Microwave.
 
#define BT_APPEARANCE_APPLIANCE_TOASTER   0x0905
 Toaster.
 
#define BT_APPEARANCE_APPLIANCE_WASHING_MACHINE   0x0906
 Washing Machine.
 
#define BT_APPEARANCE_APPLIANCE_DRYER   0x0907
 Dryer.
 
#define BT_APPEARANCE_APPLIANCE_COFFEE_MAKER   0x0908
 Coffee maker.
 
#define BT_APPEARANCE_APPLIANCE_CLOTHES_IRON   0x0909
 Clothes iron.
 
#define BT_APPEARANCE_APPLIANCE_CURLING_IRON   0x090A
 Curling iron.
 
#define BT_APPEARANCE_APPLIANCE_HAIR_DRYER   0x090B
 Hair dryer.
 
#define BT_APPEARANCE_APPLIANCE_VACUUM_CLEANER   0x090C
 Vacuum cleaner.
 
#define BT_APPEARANCE_APPLIANCE_ROBOTIC_VACUUM_CLEANER   0x090D
 Robotic vacuum cleaner.
 
#define BT_APPEARANCE_APPLIANCE_RICE_COOKER   0x090E
 Rice cooker.
 
#define BT_APPEARANCE_APPLIANCE_CLOTHES_STEAMER   0x090F
 Clothes steamer.
 
#define BT_APPEARANCE_GENERIC_WEARABLE_AUDIO_DEVICE   0x0940
 Generic Wearable Audio Device.
 
#define BT_APPEARANCE_WEARABLE_AUDIO_DEVICE_EARBUD   0x0941
 Earbud.
 
#define BT_APPEARANCE_WEARABLE_AUDIO_DEVICE_HEADSET   0x0942
 Headset.
 
#define BT_APPEARANCE_WEARABLE_AUDIO_DEVICE_HEADPHONES   0x0943
 Headphones.
 
#define BT_APPEARANCE_WEARABLE_AUDIO_DEVICE_NECK_BAND   0x0944
 Neck Band.
 
#define BT_APPEARANCE_GENERIC_AIRCRAFT   0x0980
 Generic Aircraft.
 
#define BT_APPEARANCE_AIRCRAFT_LIGHT   0x0981
 Light Aircraft.
 
#define BT_APPEARANCE_AIRCRAFT_MICROLIGHT   0x0982
 Microlight.
 
#define BT_APPEARANCE_AIRCRAFT_PARAGLIDER   0x0983
 Paraglider.
 
#define BT_APPEARANCE_AIRCRAFT_LARGE_PASSENGER   0x0984
 Large Passenger Aircraft.
 
#define BT_APPEARANCE_GENERIC_AV_EQUIPMENT   0x09C0
 Generic AV Equipment.
 
#define BT_APPEARANCE_AV_EQUIPMENT_AMPLIFIER   0x09C1
 Amplifier.
 
#define BT_APPEARANCE_AV_EQUIPMENT_RECEIVER   0x09C2
 Receiver.
 
#define BT_APPEARANCE_AV_EQUIPMENT_RADIO   0x09C3
 Radio.
 
#define BT_APPEARANCE_AV_EQUIPMENT_TUNER   0x09C4
 Tuner.
 
#define BT_APPEARANCE_AV_EQUIPMENT_TURNTABLE   0x09C5
 Turntable.
 
#define BT_APPEARANCE_AV_EQUIPMENT_CD_PLAYER   0x09C6
 CD Player.
 
#define BT_APPEARANCE_AV_EQUIPMENT_DVD_PLAYER   0x09C7
 DVD Player.
 
#define BT_APPEARANCE_AV_EQUIPMENT_BLURAY_PLAYER   0x09C8
 Bluray Player.
 
#define BT_APPEARANCE_AV_EQUIPMENT_OPTICAL_DISC_PLAYER   0x09C9
 Optical Disc Player.
 
#define BT_APPEARANCE_AV_EQUIPMENT_SET_TOP_BOX   0x09CA
 Set-Top Box.
 
#define BT_APPEARANCE_GENERIC_DISPLAY_EQUIPMENT   0x0A00
 Generic Display Equipment.
 
#define BT_APPEARANCE_DISPLAY_EQUIPMENT_TELEVISION   0x0A01
 Television.
 
#define BT_APPEARANCE_DISPLAY_EQUIPMENT_MONITOR   0x0A02
 Monitor.
 
#define BT_APPEARANCE_DISPLAY_EQUIPMENT_PROJECTOR   0x0A03
 Projector.
 
#define BT_APPEARANCE_GENERIC_HEARING_AID   0x0A40
 Generic Hearing aid.
 
#define BT_APPEARANCE_HEARING_AID_IN_EAR   0x0A41
 In-ear hearing aid.
 
#define BT_APPEARANCE_HEARING_AID_BEHIND_EAR   0x0A42
 Behind-ear hearing aid.
 
#define BT_APPEARANCE_HEARING_AID_COCHLEAR_IMPLANT   0x0A43
 Cochlear Implant.
 
#define BT_APPEARANCE_GENERIC_GAMING   0x0A80
 Generic Gaming.
 
#define BT_APPEARANCE_HOME_VIDEO_GAME_CONSOLE   0x0A81
 Home Video Game Console.
 
#define BT_APPEARANCE_PORTABLE_HANDHELD_CONSOLE   0x0A82
 Portable handheld console.
 
#define BT_APPEARANCE_GENERIC_SIGNAGE   0x0AC0
 Generic Signage.
 
#define BT_APPEARANCE_SIGNAGE_DIGITAL   0x0AC1
 Digital Signage.
 
#define BT_APPEARANCE_SIGNAGE_ELECTRONIC_LABEL   0x0AC2
 Electronic Label.
 
#define BT_APPEARANCE_GENERIC_PULSE_OXIMETER   0x0C40
 Generic Pulse Oximeter.
 
#define BT_APPEARANCE_PULSE_OXIMETER_FINGERTIP   0x0C41
 Fingertip Pulse Oximeter.
 
#define BT_APPEARANCE_PULSE_OXIMETER_WRIST   0x0C42
 Wrist Worn Pulse Oximeter.
 
#define BT_APPEARANCE_GENERIC_WEIGHT_SCALE   0x0C80
 Generic Weight Scale.
 
#define BT_APPEARANCE_GENERIC_PERSONAL_MOBILITY_DEVICE   0x0CC0
 Generic Personal Mobility Device.
 
#define BT_APPEARANCE_MOBILITY_POWERED_WHEELCHAIR   0x0CC1
 Powered Wheelchair.
 
#define BT_APPEARANCE_MOBILITY_SCOOTER   0x0CC2
 Mobility Scooter.
 
#define BT_APPEARANCE_CONTINUOUS_GLUCOSE_MONITOR   0x0D00
 Continuous Glucose Monitor.
 
#define BT_APPEARANCE_GENERIC_INSULIN_PUMP   0x0D40
 Generic Insulin Pump.
 
#define BT_APPEARANCE_INSULIN_PUMP_DURABLE   0x0D41
 Insulin Pump, durable pump.
 
#define BT_APPEARANCE_INSULIN_PUMP_PATCH   0x0D44
 Insulin Pump, patch pump.
 
#define BT_APPEARANCE_INSULIN_PEN   0x0D48
 Insulin Pen.
 
#define BT_APPEARANCE_GENERIC_MEDICATION_DELIVERY   0x0D80
 Generic Medication Delivery.
 
#define BT_APPEARANCE_GENERIC_SPIROMETER   0x0DC0
 Generic Spirometer.
 
#define BT_APPEARANCE_SPIROMETER_HANDHELD   0x0DC1
 Handheld Spirometer.
 
#define BT_APPEARANCE_GENERIC_OUTDOOR_SPORTS   0x1440
 Generic Outdoor Sports Activity.
 
#define BT_APPEARANCE_OUTDOOR_SPORTS_LOCATION   0x1441
 Location Display.
 
#define BT_APPEARANCE_OUTDOOR_SPORTS_LOCATION_AND_NAV   0x1442
 Location and Navigation Display.
 
#define BT_APPEARANCE_OUTDOOR_SPORTS_LOCATION_POD   0x1443
 Location Pod.
 
#define BT_APPEARANCE_OUTDOOR_SPORTS_LOCATION_POD_AND_NAV   0x1444
 Location and Navigation Pod.
 

Defined GAP timers

#define BT_GAP_SCAN_FAST_INTERVAL_MIN   0x0030 /* 30 ms */
 
#define BT_GAP_SCAN_FAST_INTERVAL   0x0060 /* 60 ms */
 
#define BT_GAP_SCAN_FAST_WINDOW   0x0030 /* 30 ms */
 
#define BT_GAP_SCAN_SLOW_INTERVAL_1   0x0800 /* 1.28 s */
 
#define BT_GAP_SCAN_SLOW_WINDOW_1   0x0012 /* 11.25 ms */
 
#define BT_GAP_SCAN_SLOW_INTERVAL_2   0x1000 /* 2.56 s */
 
#define BT_GAP_SCAN_SLOW_WINDOW_2   0x0012 /* 11.25 ms */
 
#define BT_GAP_ADV_FAST_INT_MIN_1   0x0030 /* 30 ms */
 
#define BT_GAP_ADV_FAST_INT_MAX_1   0x0060 /* 60 ms */
 
#define BT_GAP_ADV_FAST_INT_MIN_2   0x00a0 /* 100 ms */
 
#define BT_GAP_ADV_FAST_INT_MAX_2   0x00f0 /* 150 ms */
 
#define BT_GAP_ADV_SLOW_INT_MIN   0x0640 /* 1 s */
 
#define BT_GAP_ADV_SLOW_INT_MAX   0x0780 /* 1.2 s */
 
#define BT_GAP_PER_ADV_FAST_INT_MIN_1   0x0018 /* 30 ms */
 
#define BT_GAP_PER_ADV_FAST_INT_MAX_1   0x0030 /* 60 ms */
 
#define BT_GAP_PER_ADV_FAST_INT_MIN_2   0x0050 /* 100 ms */
 
#define BT_GAP_PER_ADV_FAST_INT_MAX_2   0x0078 /* 150 ms */
 
#define BT_GAP_PER_ADV_SLOW_INT_MIN   0x0320 /* 1 s */
 
#define BT_GAP_PER_ADV_SLOW_INT_MAX   0x03C0 /* 1.2 s */
 
#define BT_GAP_INIT_CONN_INT_MIN   0x0018 /* 30 ms */
 
#define BT_GAP_INIT_CONN_INT_MAX   0x0028 /* 50 ms */
 

Detailed Description

Bluetooth Generic Access Profile defines and Assigned Numbers.

Macro Definition Documentation

◆ BT_APPEARANCE_AIRCRAFT_LARGE_PASSENGER

#define BT_APPEARANCE_AIRCRAFT_LARGE_PASSENGER   0x0984

#include <zephyr/bluetooth/gap.h>

Large Passenger Aircraft.

◆ BT_APPEARANCE_AIRCRAFT_LIGHT

#define BT_APPEARANCE_AIRCRAFT_LIGHT   0x0981

#include <zephyr/bluetooth/gap.h>

Light Aircraft.

◆ BT_APPEARANCE_AIRCRAFT_MICROLIGHT

#define BT_APPEARANCE_AIRCRAFT_MICROLIGHT   0x0982

#include <zephyr/bluetooth/gap.h>

Microlight.

◆ BT_APPEARANCE_AIRCRAFT_PARAGLIDER

#define BT_APPEARANCE_AIRCRAFT_PARAGLIDER   0x0983

#include <zephyr/bluetooth/gap.h>

Paraglider.

◆ BT_APPEARANCE_APPLIANCE_CLOTHES_IRON

#define BT_APPEARANCE_APPLIANCE_CLOTHES_IRON   0x0909

#include <zephyr/bluetooth/gap.h>

Clothes iron.

◆ BT_APPEARANCE_APPLIANCE_CLOTHES_STEAMER

#define BT_APPEARANCE_APPLIANCE_CLOTHES_STEAMER   0x090F

#include <zephyr/bluetooth/gap.h>

Clothes steamer.

◆ BT_APPEARANCE_APPLIANCE_COFFEE_MAKER

#define BT_APPEARANCE_APPLIANCE_COFFEE_MAKER   0x0908

#include <zephyr/bluetooth/gap.h>

Coffee maker.

◆ BT_APPEARANCE_APPLIANCE_CURLING_IRON

#define BT_APPEARANCE_APPLIANCE_CURLING_IRON   0x090A

#include <zephyr/bluetooth/gap.h>

Curling iron.

◆ BT_APPEARANCE_APPLIANCE_DRYER

#define BT_APPEARANCE_APPLIANCE_DRYER   0x0907

#include <zephyr/bluetooth/gap.h>

Dryer.

◆ BT_APPEARANCE_APPLIANCE_FREEZER

#define BT_APPEARANCE_APPLIANCE_FREEZER   0x0902

#include <zephyr/bluetooth/gap.h>

Freezer.

◆ BT_APPEARANCE_APPLIANCE_HAIR_DRYER

#define BT_APPEARANCE_APPLIANCE_HAIR_DRYER   0x090B

#include <zephyr/bluetooth/gap.h>

Hair dryer.

◆ BT_APPEARANCE_APPLIANCE_MICROWAVE

#define BT_APPEARANCE_APPLIANCE_MICROWAVE   0x0904

#include <zephyr/bluetooth/gap.h>

Microwave.

◆ BT_APPEARANCE_APPLIANCE_OVEN

#define BT_APPEARANCE_APPLIANCE_OVEN   0x0903

#include <zephyr/bluetooth/gap.h>

Oven.

◆ BT_APPEARANCE_APPLIANCE_REFRIGERATOR

#define BT_APPEARANCE_APPLIANCE_REFRIGERATOR   0x0901

#include <zephyr/bluetooth/gap.h>

Refrigerator.

◆ BT_APPEARANCE_APPLIANCE_RICE_COOKER

#define BT_APPEARANCE_APPLIANCE_RICE_COOKER   0x090E

#include <zephyr/bluetooth/gap.h>

Rice cooker.

◆ BT_APPEARANCE_APPLIANCE_ROBOTIC_VACUUM_CLEANER

#define BT_APPEARANCE_APPLIANCE_ROBOTIC_VACUUM_CLEANER   0x090D

#include <zephyr/bluetooth/gap.h>

Robotic vacuum cleaner.

◆ BT_APPEARANCE_APPLIANCE_TOASTER

#define BT_APPEARANCE_APPLIANCE_TOASTER   0x0905

#include <zephyr/bluetooth/gap.h>

Toaster.

◆ BT_APPEARANCE_APPLIANCE_VACUUM_CLEANER

#define BT_APPEARANCE_APPLIANCE_VACUUM_CLEANER   0x090C

#include <zephyr/bluetooth/gap.h>

Vacuum cleaner.

◆ BT_APPEARANCE_APPLIANCE_WASHING_MACHINE

#define BT_APPEARANCE_APPLIANCE_WASHING_MACHINE   0x0906

#include <zephyr/bluetooth/gap.h>

Washing Machine.

◆ BT_APPEARANCE_AUDIO_SINK_BOOKSHELF_SPEAKER

#define BT_APPEARANCE_AUDIO_SINK_BOOKSHELF_SPEAKER   0x0843

#include <zephyr/bluetooth/gap.h>

Bookshelf Speaker.

◆ BT_APPEARANCE_AUDIO_SINK_SOUNDBAR

#define BT_APPEARANCE_AUDIO_SINK_SOUNDBAR   0x0842

#include <zephyr/bluetooth/gap.h>

Soundbar.

◆ BT_APPEARANCE_AUDIO_SINK_SPEAKERPHONE

#define BT_APPEARANCE_AUDIO_SINK_SPEAKERPHONE   0x0845

#include <zephyr/bluetooth/gap.h>

Speakerphone.

◆ BT_APPEARANCE_AUDIO_SINK_STANDALONE_SPEAKER

#define BT_APPEARANCE_AUDIO_SINK_STANDALONE_SPEAKER   0x0841

#include <zephyr/bluetooth/gap.h>

Standalone Speaker.

◆ BT_APPEARANCE_AUDIO_SINK_STANDMOUNTED_SPEAKER

#define BT_APPEARANCE_AUDIO_SINK_STANDMOUNTED_SPEAKER   0x0844

#include <zephyr/bluetooth/gap.h>

Standmounted Speaker.

◆ BT_APPEARANCE_AUDIO_SOURCE_ALARM

#define BT_APPEARANCE_AUDIO_SOURCE_ALARM   0x0882

#include <zephyr/bluetooth/gap.h>

Alarm.

◆ BT_APPEARANCE_AUDIO_SOURCE_AUDITORIUM

#define BT_APPEARANCE_AUDIO_SOURCE_AUDITORIUM   0x0889

#include <zephyr/bluetooth/gap.h>

Auditorium.

◆ BT_APPEARANCE_AUDIO_SOURCE_BELL

#define BT_APPEARANCE_AUDIO_SOURCE_BELL   0x0883

#include <zephyr/bluetooth/gap.h>

Bell.

◆ BT_APPEARANCE_AUDIO_SOURCE_BROADCASTING_DEVICE

#define BT_APPEARANCE_AUDIO_SOURCE_BROADCASTING_DEVICE   0x0885

#include <zephyr/bluetooth/gap.h>

Broadcasting Device.

◆ BT_APPEARANCE_AUDIO_SOURCE_BROADCASTING_ROOM

#define BT_APPEARANCE_AUDIO_SOURCE_BROADCASTING_ROOM   0x0888

#include <zephyr/bluetooth/gap.h>

Broadcasting Room.

◆ BT_APPEARANCE_AUDIO_SOURCE_HORN

#define BT_APPEARANCE_AUDIO_SOURCE_HORN   0x0884

#include <zephyr/bluetooth/gap.h>

Horn.

◆ BT_APPEARANCE_AUDIO_SOURCE_KIOSK

#define BT_APPEARANCE_AUDIO_SOURCE_KIOSK   0x0887

#include <zephyr/bluetooth/gap.h>

Kiosk.

◆ BT_APPEARANCE_AUDIO_SOURCE_MICROPHONE

#define BT_APPEARANCE_AUDIO_SOURCE_MICROPHONE   0x0881

#include <zephyr/bluetooth/gap.h>

Microphone.

◆ BT_APPEARANCE_AUDIO_SOURCE_SERVICE_DESK

#define BT_APPEARANCE_AUDIO_SOURCE_SERVICE_DESK   0x0886

#include <zephyr/bluetooth/gap.h>

Service Desk.

◆ BT_APPEARANCE_AV_EQUIPMENT_AMPLIFIER

#define BT_APPEARANCE_AV_EQUIPMENT_AMPLIFIER   0x09C1

#include <zephyr/bluetooth/gap.h>

Amplifier.

◆ BT_APPEARANCE_AV_EQUIPMENT_BLURAY_PLAYER

#define BT_APPEARANCE_AV_EQUIPMENT_BLURAY_PLAYER   0x09C8

#include <zephyr/bluetooth/gap.h>

Bluray Player.

◆ BT_APPEARANCE_AV_EQUIPMENT_CD_PLAYER

#define BT_APPEARANCE_AV_EQUIPMENT_CD_PLAYER   0x09C6

#include <zephyr/bluetooth/gap.h>

CD Player.

◆ BT_APPEARANCE_AV_EQUIPMENT_DVD_PLAYER

#define BT_APPEARANCE_AV_EQUIPMENT_DVD_PLAYER   0x09C7

#include <zephyr/bluetooth/gap.h>

DVD Player.

◆ BT_APPEARANCE_AV_EQUIPMENT_OPTICAL_DISC_PLAYER

#define BT_APPEARANCE_AV_EQUIPMENT_OPTICAL_DISC_PLAYER   0x09C9

#include <zephyr/bluetooth/gap.h>

Optical Disc Player.

◆ BT_APPEARANCE_AV_EQUIPMENT_RADIO

#define BT_APPEARANCE_AV_EQUIPMENT_RADIO   0x09C3

#include <zephyr/bluetooth/gap.h>

Radio.

◆ BT_APPEARANCE_AV_EQUIPMENT_RECEIVER

#define BT_APPEARANCE_AV_EQUIPMENT_RECEIVER   0x09C2

#include <zephyr/bluetooth/gap.h>

Receiver.

◆ BT_APPEARANCE_AV_EQUIPMENT_SET_TOP_BOX

#define BT_APPEARANCE_AV_EQUIPMENT_SET_TOP_BOX   0x09CA

#include <zephyr/bluetooth/gap.h>

Set-Top Box.

◆ BT_APPEARANCE_AV_EQUIPMENT_TUNER

#define BT_APPEARANCE_AV_EQUIPMENT_TUNER   0x09C4

#include <zephyr/bluetooth/gap.h>

Tuner.

◆ BT_APPEARANCE_AV_EQUIPMENT_TURNTABLE

#define BT_APPEARANCE_AV_EQUIPMENT_TURNTABLE   0x09C5

#include <zephyr/bluetooth/gap.h>

Turntable.

◆ BT_APPEARANCE_BLOOD_PRESSURE_ARM

#define BT_APPEARANCE_BLOOD_PRESSURE_ARM   0x0381

#include <zephyr/bluetooth/gap.h>

Arm Blood Pressure.

◆ BT_APPEARANCE_BLOOD_PRESSURE_WRIST

#define BT_APPEARANCE_BLOOD_PRESSURE_WRIST   0x0382

#include <zephyr/bluetooth/gap.h>

Wrist Blood Pressure.

◆ BT_APPEARANCE_COMPUTER_ALL_IN_ONE

#define BT_APPEARANCE_COMPUTER_ALL_IN_ONE   0x0089

#include <zephyr/bluetooth/gap.h>

All in One.

◆ BT_APPEARANCE_COMPUTER_BLADE_SERVER

#define BT_APPEARANCE_COMPUTER_BLADE_SERVER   0x008A

#include <zephyr/bluetooth/gap.h>

Blade Server.

◆ BT_APPEARANCE_COMPUTER_CONVERTIBLE

#define BT_APPEARANCE_COMPUTER_CONVERTIBLE   0x008B

#include <zephyr/bluetooth/gap.h>

Convertible.

◆ BT_APPEARANCE_COMPUTER_DESKTOP_WORKSTATION

#define BT_APPEARANCE_COMPUTER_DESKTOP_WORKSTATION   0x0081

#include <zephyr/bluetooth/gap.h>

Desktop Workstation.

◆ BT_APPEARANCE_COMPUTER_DETACHABLE

#define BT_APPEARANCE_COMPUTER_DETACHABLE   0x008C

#include <zephyr/bluetooth/gap.h>

Detachable.

◆ BT_APPEARANCE_COMPUTER_DOCKING_STATION

#define BT_APPEARANCE_COMPUTER_DOCKING_STATION   0x0088

#include <zephyr/bluetooth/gap.h>

Docking Station.

◆ BT_APPEARANCE_COMPUTER_HANDHELD_PCPDA

#define BT_APPEARANCE_COMPUTER_HANDHELD_PCPDA   0x0084

#include <zephyr/bluetooth/gap.h>

Handheld PC/PDA (clamshell)

◆ BT_APPEARANCE_COMPUTER_IOT_GATEWAY

#define BT_APPEARANCE_COMPUTER_IOT_GATEWAY   0x008D

#include <zephyr/bluetooth/gap.h>

IoT Gateway.

◆ BT_APPEARANCE_COMPUTER_LAPTOP

#define BT_APPEARANCE_COMPUTER_LAPTOP   0x0083

#include <zephyr/bluetooth/gap.h>

Laptop.

◆ BT_APPEARANCE_COMPUTER_MINI_PC

#define BT_APPEARANCE_COMPUTER_MINI_PC   0x008E

#include <zephyr/bluetooth/gap.h>

Mini PC.

◆ BT_APPEARANCE_COMPUTER_PALMSIZE_PCPDA

#define BT_APPEARANCE_COMPUTER_PALMSIZE_PCPDA   0x0085

#include <zephyr/bluetooth/gap.h>

Palm­size PC/PDA.

◆ BT_APPEARANCE_COMPUTER_SERVER_CLASS

#define BT_APPEARANCE_COMPUTER_SERVER_CLASS   0x0082

#include <zephyr/bluetooth/gap.h>

Server-class Computer.

◆ BT_APPEARANCE_COMPUTER_STICK_PC

#define BT_APPEARANCE_COMPUTER_STICK_PC   0x008F

#include <zephyr/bluetooth/gap.h>

Stick PC.

◆ BT_APPEARANCE_COMPUTER_TABLET

#define BT_APPEARANCE_COMPUTER_TABLET   0x0087

#include <zephyr/bluetooth/gap.h>

Tablet.

◆ BT_APPEARANCE_COMPUTER_WEARABLE_COMPUTER

#define BT_APPEARANCE_COMPUTER_WEARABLE_COMPUTER   0x0086

#include <zephyr/bluetooth/gap.h>

Wearable computer (watch size)

◆ BT_APPEARANCE_CONTINUOUS_GLUCOSE_MONITOR

#define BT_APPEARANCE_CONTINUOUS_GLUCOSE_MONITOR   0x0D00

#include <zephyr/bluetooth/gap.h>

Continuous Glucose Monitor.

◆ BT_APPEARANCE_CONTROL_ACCESS_DOOR

#define BT_APPEARANCE_CONTROL_ACCESS_DOOR   0x0701

#include <zephyr/bluetooth/gap.h>

Access Door.

◆ BT_APPEARANCE_CONTROL_ACCESS_LOCK

#define BT_APPEARANCE_CONTROL_ACCESS_LOCK   0x0704

#include <zephyr/bluetooth/gap.h>

Access Lock.

◆ BT_APPEARANCE_CONTROL_BATTERY_SWITCH

#define BT_APPEARANCE_CONTROL_BATTERY_SWITCH   0x04CA

#include <zephyr/bluetooth/gap.h>

Battery Switch.

◆ BT_APPEARANCE_CONTROL_BUTTON

#define BT_APPEARANCE_CONTROL_BUTTON   0x04C3

#include <zephyr/bluetooth/gap.h>

Button.

◆ BT_APPEARANCE_CONTROL_DOOR_LOCK

#define BT_APPEARANCE_CONTROL_DOOR_LOCK   0x0708

#include <zephyr/bluetooth/gap.h>

Door Lock.

◆ BT_APPEARANCE_CONTROL_DOUBLE_SWITCH

#define BT_APPEARANCE_CONTROL_DOUBLE_SWITCH   0x04C8

#include <zephyr/bluetooth/gap.h>

Double Switch.

◆ BT_APPEARANCE_CONTROL_ELEVATOR

#define BT_APPEARANCE_CONTROL_ELEVATOR   0x0705

#include <zephyr/bluetooth/gap.h>

Elevator.

◆ BT_APPEARANCE_CONTROL_EMERGENCY_EXIT_DOOR

#define BT_APPEARANCE_CONTROL_EMERGENCY_EXIT_DOOR   0x0703

#include <zephyr/bluetooth/gap.h>

Emergency Exit Door.

◆ BT_APPEARANCE_CONTROL_ENERGY_HARVESTING_SWITCH

#define BT_APPEARANCE_CONTROL_ENERGY_HARVESTING_SWITCH   0x04CB

#include <zephyr/bluetooth/gap.h>

Energy Harvesting Switch.

◆ BT_APPEARANCE_CONTROL_ENTRANCE_GATE

#define BT_APPEARANCE_CONTROL_ENTRANCE_GATE   0x0707

#include <zephyr/bluetooth/gap.h>

Entrance Gate.

◆ BT_APPEARANCE_CONTROL_GARAGE_DOOR

#define BT_APPEARANCE_CONTROL_GARAGE_DOOR   0x0702

#include <zephyr/bluetooth/gap.h>

Garage Door.

◆ BT_APPEARANCE_CONTROL_LOCKER

#define BT_APPEARANCE_CONTROL_LOCKER   0x0709

#include <zephyr/bluetooth/gap.h>

Locker.

◆ BT_APPEARANCE_CONTROL_MULTI_SWITCH

#define BT_APPEARANCE_CONTROL_MULTI_SWITCH   0x04C2

#include <zephyr/bluetooth/gap.h>

Multi-switch.

◆ BT_APPEARANCE_CONTROL_PUSH_BUTTON

#define BT_APPEARANCE_CONTROL_PUSH_BUTTON   0x04CC

#include <zephyr/bluetooth/gap.h>

Push Button.

◆ BT_APPEARANCE_CONTROL_ROTARY_SWITCH

#define BT_APPEARANCE_CONTROL_ROTARY_SWITCH   0x04C5

#include <zephyr/bluetooth/gap.h>

Rotary Switch.

◆ BT_APPEARANCE_CONTROL_SINGLE_SWITCH

#define BT_APPEARANCE_CONTROL_SINGLE_SWITCH   0x04C7

#include <zephyr/bluetooth/gap.h>

Single Switch.

◆ BT_APPEARANCE_CONTROL_SLIDER

#define BT_APPEARANCE_CONTROL_SLIDER   0x04C4

#include <zephyr/bluetooth/gap.h>

Slider.

◆ BT_APPEARANCE_CONTROL_SWITCH

#define BT_APPEARANCE_CONTROL_SWITCH   0x04C1

#include <zephyr/bluetooth/gap.h>

Switch.

◆ BT_APPEARANCE_CONTROL_TOUCH_PANEL

#define BT_APPEARANCE_CONTROL_TOUCH_PANEL   0x04C6

#include <zephyr/bluetooth/gap.h>

Touch Panel.

◆ BT_APPEARANCE_CONTROL_TRIPLE_SWITCH

#define BT_APPEARANCE_CONTROL_TRIPLE_SWITCH   0x04C9

#include <zephyr/bluetooth/gap.h>

Triple Switch.

◆ BT_APPEARANCE_CONTROL_WINDOW

#define BT_APPEARANCE_CONTROL_WINDOW   0x0706

#include <zephyr/bluetooth/gap.h>

Window.

◆ BT_APPEARANCE_CYCLING_CADENCE

#define BT_APPEARANCE_CYCLING_CADENCE   0x0483

#include <zephyr/bluetooth/gap.h>

Cadence Sensor.

◆ BT_APPEARANCE_CYCLING_COMPUTER

#define BT_APPEARANCE_CYCLING_COMPUTER   0x0481

#include <zephyr/bluetooth/gap.h>

Cycling Computer.

◆ BT_APPEARANCE_CYCLING_POWER

#define BT_APPEARANCE_CYCLING_POWER   0x0484

#include <zephyr/bluetooth/gap.h>

Power Sensor.

◆ BT_APPEARANCE_CYCLING_SPEED

#define BT_APPEARANCE_CYCLING_SPEED   0x0482

#include <zephyr/bluetooth/gap.h>

Speed Sensor.

◆ BT_APPEARANCE_CYCLING_SPEED_CADENCE

#define BT_APPEARANCE_CYCLING_SPEED_CADENCE   0x0485

#include <zephyr/bluetooth/gap.h>

Speed and Cadence Sensor.

◆ BT_APPEARANCE_DISPLAY_EQUIPMENT_MONITOR

#define BT_APPEARANCE_DISPLAY_EQUIPMENT_MONITOR   0x0A02

#include <zephyr/bluetooth/gap.h>

Monitor.

◆ BT_APPEARANCE_DISPLAY_EQUIPMENT_PROJECTOR

#define BT_APPEARANCE_DISPLAY_EQUIPMENT_PROJECTOR   0x0A03

#include <zephyr/bluetooth/gap.h>

Projector.

◆ BT_APPEARANCE_DISPLAY_EQUIPMENT_TELEVISION

#define BT_APPEARANCE_DISPLAY_EQUIPMENT_TELEVISION   0x0A01

#include <zephyr/bluetooth/gap.h>

Television.

◆ BT_APPEARANCE_FAN_AXIAL

#define BT_APPEARANCE_FAN_AXIAL   0x05C2

#include <zephyr/bluetooth/gap.h>

Axial Fan.

◆ BT_APPEARANCE_FAN_CEILING

#define BT_APPEARANCE_FAN_CEILING   0x05C1

#include <zephyr/bluetooth/gap.h>

Ceiling Fan.

◆ BT_APPEARANCE_FAN_DESK

#define BT_APPEARANCE_FAN_DESK   0x05C5

#include <zephyr/bluetooth/gap.h>

Desk Fan.

◆ BT_APPEARANCE_FAN_EXHAUST

#define BT_APPEARANCE_FAN_EXHAUST   0x05C3

#include <zephyr/bluetooth/gap.h>

Exhaust Fan.

◆ BT_APPEARANCE_FAN_PEDESTAL

#define BT_APPEARANCE_FAN_PEDESTAL   0x05C4

#include <zephyr/bluetooth/gap.h>

Pedestal Fan.

◆ BT_APPEARANCE_FAN_WALL

#define BT_APPEARANCE_FAN_WALL   0x05C6

#include <zephyr/bluetooth/gap.h>

Wall Fan.

◆ BT_APPEARANCE_GENERIC_ACCESS_CONTROL

#define BT_APPEARANCE_GENERIC_ACCESS_CONTROL   0x0700

#include <zephyr/bluetooth/gap.h>

Generic Access Control.

◆ BT_APPEARANCE_GENERIC_AIR_CONDITIONING

#define BT_APPEARANCE_GENERIC_AIR_CONDITIONING   0x0640

#include <zephyr/bluetooth/gap.h>

Generic Air Conditioning.

◆ BT_APPEARANCE_GENERIC_AIRCRAFT

#define BT_APPEARANCE_GENERIC_AIRCRAFT   0x0980

#include <zephyr/bluetooth/gap.h>

Generic Aircraft.

◆ BT_APPEARANCE_GENERIC_AUDIO_SINK

#define BT_APPEARANCE_GENERIC_AUDIO_SINK   0x0840

#include <zephyr/bluetooth/gap.h>

Generic Audio Sink.

◆ BT_APPEARANCE_GENERIC_AUDIO_SOURCE

#define BT_APPEARANCE_GENERIC_AUDIO_SOURCE   0x0880

#include <zephyr/bluetooth/gap.h>

Generic Audio Source.

◆ BT_APPEARANCE_GENERIC_AV_EQUIPMENT

#define BT_APPEARANCE_GENERIC_AV_EQUIPMENT   0x09C0

#include <zephyr/bluetooth/gap.h>

Generic AV Equipment.

◆ BT_APPEARANCE_GENERIC_BARCODE_SCANNER

#define BT_APPEARANCE_GENERIC_BARCODE_SCANNER   0x02C0

#include <zephyr/bluetooth/gap.h>

Generic Barcode Scanner.

◆ BT_APPEARANCE_GENERIC_BLOOD_PRESSURE

#define BT_APPEARANCE_GENERIC_BLOOD_PRESSURE   0x0380

#include <zephyr/bluetooth/gap.h>

Generic Blood Pressure.

◆ BT_APPEARANCE_GENERIC_CLOCK

#define BT_APPEARANCE_GENERIC_CLOCK   0x0100

#include <zephyr/bluetooth/gap.h>

Generic Clock.

◆ BT_APPEARANCE_GENERIC_COMPUTER

#define BT_APPEARANCE_GENERIC_COMPUTER   0x0080

#include <zephyr/bluetooth/gap.h>

Generic Computer.

◆ BT_APPEARANCE_GENERIC_CONTROL_DEVICE

#define BT_APPEARANCE_GENERIC_CONTROL_DEVICE   0x04C0

#include <zephyr/bluetooth/gap.h>

Generic Control Device.

◆ BT_APPEARANCE_GENERIC_CYCLING

#define BT_APPEARANCE_GENERIC_CYCLING   0x0480

#include <zephyr/bluetooth/gap.h>

Generic Cycling.

◆ BT_APPEARANCE_GENERIC_DISPLAY

#define BT_APPEARANCE_GENERIC_DISPLAY   0x0140

#include <zephyr/bluetooth/gap.h>

Generic Display.

◆ BT_APPEARANCE_GENERIC_DISPLAY_EQUIPMENT

#define BT_APPEARANCE_GENERIC_DISPLAY_EQUIPMENT   0x0A00

#include <zephyr/bluetooth/gap.h>

Generic Display Equipment.

◆ BT_APPEARANCE_GENERIC_DOMESTIC_APPLIANCE

#define BT_APPEARANCE_GENERIC_DOMESTIC_APPLIANCE   0x0900

#include <zephyr/bluetooth/gap.h>

Generic Domestic Appliance.

◆ BT_APPEARANCE_GENERIC_EYEGLASSES

#define BT_APPEARANCE_GENERIC_EYEGLASSES   0x01C0

#include <zephyr/bluetooth/gap.h>

Generic Eye-glasses.

◆ BT_APPEARANCE_GENERIC_FAN

#define BT_APPEARANCE_GENERIC_FAN   0x05C0

#include <zephyr/bluetooth/gap.h>

Generic Fan.

◆ BT_APPEARANCE_GENERIC_GAMING

#define BT_APPEARANCE_GENERIC_GAMING   0x0A80

#include <zephyr/bluetooth/gap.h>

Generic Gaming.

◆ BT_APPEARANCE_GENERIC_GLUCOSE

#define BT_APPEARANCE_GENERIC_GLUCOSE   0x0400

#include <zephyr/bluetooth/gap.h>

Generic Glucose Meter.

◆ BT_APPEARANCE_GENERIC_HEARING_AID

#define BT_APPEARANCE_GENERIC_HEARING_AID   0x0A40

#include <zephyr/bluetooth/gap.h>

Generic Hearing aid.

◆ BT_APPEARANCE_GENERIC_HEART_RATE

#define BT_APPEARANCE_GENERIC_HEART_RATE   0x0340

#include <zephyr/bluetooth/gap.h>

Generic Heart Rate Sensor.

◆ BT_APPEARANCE_GENERIC_HEATING

#define BT_APPEARANCE_GENERIC_HEATING   0x06C0

#include <zephyr/bluetooth/gap.h>

Generic Heating.

◆ BT_APPEARANCE_GENERIC_HID

#define BT_APPEARANCE_GENERIC_HID   0x03C0

#include <zephyr/bluetooth/gap.h>

Generic Human Interface Device.

◆ BT_APPEARANCE_GENERIC_HUMIDIFIER

#define BT_APPEARANCE_GENERIC_HUMIDIFIER   0x0680

#include <zephyr/bluetooth/gap.h>

Generic Humidifier.

◆ BT_APPEARANCE_GENERIC_HVAC

#define BT_APPEARANCE_GENERIC_HVAC   0x0600

#include <zephyr/bluetooth/gap.h>

Generic HVAC.

◆ BT_APPEARANCE_GENERIC_INSULIN_PUMP

#define BT_APPEARANCE_GENERIC_INSULIN_PUMP   0x0D40

#include <zephyr/bluetooth/gap.h>

Generic Insulin Pump.

◆ BT_APPEARANCE_GENERIC_KEYRING

#define BT_APPEARANCE_GENERIC_KEYRING   0x0240

#include <zephyr/bluetooth/gap.h>

Generic Keyring.

◆ BT_APPEARANCE_GENERIC_LIGHT_FIXTURES

#define BT_APPEARANCE_GENERIC_LIGHT_FIXTURES   0x0580

#include <zephyr/bluetooth/gap.h>

Generic Light Fixtures.

◆ BT_APPEARANCE_GENERIC_LIGHT_SOURCE

#define BT_APPEARANCE_GENERIC_LIGHT_SOURCE   0x07C0

#include <zephyr/bluetooth/gap.h>

Generic Light Source.

◆ BT_APPEARANCE_GENERIC_MEDIA_PLAYER

#define BT_APPEARANCE_GENERIC_MEDIA_PLAYER   0x0280

#include <zephyr/bluetooth/gap.h>

Generic Media Player.

◆ BT_APPEARANCE_GENERIC_MEDICATION_DELIVERY

#define BT_APPEARANCE_GENERIC_MEDICATION_DELIVERY   0x0D80

#include <zephyr/bluetooth/gap.h>

Generic Medication Delivery.

◆ BT_APPEARANCE_GENERIC_MOTORIZED_DEVICE

#define BT_APPEARANCE_GENERIC_MOTORIZED_DEVICE   0x0740

#include <zephyr/bluetooth/gap.h>

Generic Motorized Device.

◆ BT_APPEARANCE_GENERIC_MOTORIZED_VEHICLE

#define BT_APPEARANCE_GENERIC_MOTORIZED_VEHICLE   0x08C0

#include <zephyr/bluetooth/gap.h>

Generic Motorized Vehicle.

◆ BT_APPEARANCE_GENERIC_NETWORK_DEVICE

#define BT_APPEARANCE_GENERIC_NETWORK_DEVICE   0x0500

#include <zephyr/bluetooth/gap.h>

Generic Network Device.

◆ BT_APPEARANCE_GENERIC_OUTDOOR_SPORTS

#define BT_APPEARANCE_GENERIC_OUTDOOR_SPORTS   0x1440

#include <zephyr/bluetooth/gap.h>

Generic Outdoor Sports Activity.

◆ BT_APPEARANCE_GENERIC_PERSONAL_MOBILITY_DEVICE

#define BT_APPEARANCE_GENERIC_PERSONAL_MOBILITY_DEVICE   0x0CC0

#include <zephyr/bluetooth/gap.h>

Generic Personal Mobility Device.

◆ BT_APPEARANCE_GENERIC_PHONE

#define BT_APPEARANCE_GENERIC_PHONE   0x0040

#include <zephyr/bluetooth/gap.h>

Generic Phone.

◆ BT_APPEARANCE_GENERIC_POWER_DEVICE

#define BT_APPEARANCE_GENERIC_POWER_DEVICE   0x0780

#include <zephyr/bluetooth/gap.h>

Generic Power Device.

◆ BT_APPEARANCE_GENERIC_PULSE_OXIMETER

#define BT_APPEARANCE_GENERIC_PULSE_OXIMETER   0x0C40

#include <zephyr/bluetooth/gap.h>

Generic Pulse Oximeter.

◆ BT_APPEARANCE_GENERIC_REMOTE

#define BT_APPEARANCE_GENERIC_REMOTE   0x0180

#include <zephyr/bluetooth/gap.h>

Generic Remote Control.

◆ BT_APPEARANCE_GENERIC_SENSOR

#define BT_APPEARANCE_GENERIC_SENSOR   0x0540

#include <zephyr/bluetooth/gap.h>

Generic Sensor.

◆ BT_APPEARANCE_GENERIC_SIGNAGE

#define BT_APPEARANCE_GENERIC_SIGNAGE   0x0AC0

#include <zephyr/bluetooth/gap.h>

Generic Signage.

◆ BT_APPEARANCE_GENERIC_SPIROMETER

#define BT_APPEARANCE_GENERIC_SPIROMETER   0x0DC0

#include <zephyr/bluetooth/gap.h>

Generic Spirometer.

◆ BT_APPEARANCE_GENERIC_TAG

#define BT_APPEARANCE_GENERIC_TAG   0x0200

#include <zephyr/bluetooth/gap.h>

Generic Tag.

◆ BT_APPEARANCE_GENERIC_THERMOMETER

#define BT_APPEARANCE_GENERIC_THERMOMETER   0x0300

#include <zephyr/bluetooth/gap.h>

Generic Thermometer.

◆ BT_APPEARANCE_GENERIC_WALKING

#define BT_APPEARANCE_GENERIC_WALKING   0x0440

#include <zephyr/bluetooth/gap.h>

Generic Running Walking Sensor.

◆ BT_APPEARANCE_GENERIC_WATCH

#define BT_APPEARANCE_GENERIC_WATCH   0x00C0

#include <zephyr/bluetooth/gap.h>

Generic Watch.

◆ BT_APPEARANCE_GENERIC_WEARABLE_AUDIO_DEVICE

#define BT_APPEARANCE_GENERIC_WEARABLE_AUDIO_DEVICE   0x0940

#include <zephyr/bluetooth/gap.h>

Generic Wearable Audio Device.

◆ BT_APPEARANCE_GENERIC_WEIGHT_SCALE

#define BT_APPEARANCE_GENERIC_WEIGHT_SCALE   0x0C80

#include <zephyr/bluetooth/gap.h>

Generic Weight Scale.

◆ BT_APPEARANCE_GENERIC_WINDOW_COVERING

#define BT_APPEARANCE_GENERIC_WINDOW_COVERING   0x0800

#include <zephyr/bluetooth/gap.h>

Generic Window Covering.

◆ BT_APPEARANCE_HEARING_AID_BEHIND_EAR

#define BT_APPEARANCE_HEARING_AID_BEHIND_EAR   0x0A42

#include <zephyr/bluetooth/gap.h>

Behind-ear hearing aid.

◆ BT_APPEARANCE_HEARING_AID_COCHLEAR_IMPLANT

#define BT_APPEARANCE_HEARING_AID_COCHLEAR_IMPLANT   0x0A43

#include <zephyr/bluetooth/gap.h>

Cochlear Implant.

◆ BT_APPEARANCE_HEARING_AID_IN_EAR

#define BT_APPEARANCE_HEARING_AID_IN_EAR   0x0A41

#include <zephyr/bluetooth/gap.h>

In-ear hearing aid.

◆ BT_APPEARANCE_HEART_RATE_BELT

#define BT_APPEARANCE_HEART_RATE_BELT   0x0341

#include <zephyr/bluetooth/gap.h>

Heart Rate Belt.

◆ BT_APPEARANCE_HEATING_AIR_CURTAIN

#define BT_APPEARANCE_HEATING_AIR_CURTAIN   0x06C7

#include <zephyr/bluetooth/gap.h>

Air Curtain.

◆ BT_APPEARANCE_HEATING_BOILER

#define BT_APPEARANCE_HEATING_BOILER   0x06C2

#include <zephyr/bluetooth/gap.h>

Boiler.

◆ BT_APPEARANCE_HEATING_FAN_HEATER

#define BT_APPEARANCE_HEATING_FAN_HEATER   0x06C6

#include <zephyr/bluetooth/gap.h>

Fan Heater.

◆ BT_APPEARANCE_HEATING_HEAT_PUMP

#define BT_APPEARANCE_HEATING_HEAT_PUMP   0x06C3

#include <zephyr/bluetooth/gap.h>

Heat Pump.

◆ BT_APPEARANCE_HEATING_INFRARED_HEATER

#define BT_APPEARANCE_HEATING_INFRARED_HEATER   0x06C4

#include <zephyr/bluetooth/gap.h>

Infrared Heater.

◆ BT_APPEARANCE_HEATING_RADIANT_PANEL_HEATER

#define BT_APPEARANCE_HEATING_RADIANT_PANEL_HEATER   0x06C5

#include <zephyr/bluetooth/gap.h>

Radiant Panel Heater.

◆ BT_APPEARANCE_HEATING_RADIATOR

#define BT_APPEARANCE_HEATING_RADIATOR   0x06C1

#include <zephyr/bluetooth/gap.h>

Radiator.

◆ BT_APPEARANCE_HID_BARCODE_SCANNER

#define BT_APPEARANCE_HID_BARCODE_SCANNER   0x03C8

#include <zephyr/bluetooth/gap.h>

Barcode Scanner.

◆ BT_APPEARANCE_HID_CARD_READER

#define BT_APPEARANCE_HID_CARD_READER   0x03C6

#include <zephyr/bluetooth/gap.h>

Card Reader.

◆ BT_APPEARANCE_HID_DIGITAL_PEN

#define BT_APPEARANCE_HID_DIGITAL_PEN   0x03C7

#include <zephyr/bluetooth/gap.h>

Digital Pen.

◆ BT_APPEARANCE_HID_DIGITIZER_TABLET

#define BT_APPEARANCE_HID_DIGITIZER_TABLET   0x03C5

#include <zephyr/bluetooth/gap.h>

Digitizer Tablet.

◆ BT_APPEARANCE_HID_GAMEPAD

#define BT_APPEARANCE_HID_GAMEPAD   0x03C4

#include <zephyr/bluetooth/gap.h>

Gamepad.

◆ BT_APPEARANCE_HID_JOYSTICK

#define BT_APPEARANCE_HID_JOYSTICK   0x03C3

#include <zephyr/bluetooth/gap.h>

Joystick.

◆ BT_APPEARANCE_HID_KEYBOARD

#define BT_APPEARANCE_HID_KEYBOARD   0x03C1

#include <zephyr/bluetooth/gap.h>

Keyboard.

◆ BT_APPEARANCE_HID_MOUSE

#define BT_APPEARANCE_HID_MOUSE   0x03C2

#include <zephyr/bluetooth/gap.h>

Mouse.

◆ BT_APPEARANCE_HID_PRESENTATION_REMOTE

#define BT_APPEARANCE_HID_PRESENTATION_REMOTE   0x03CA

#include <zephyr/bluetooth/gap.h>

Presentation Remote.

◆ BT_APPEARANCE_HID_TOUCHPAD

#define BT_APPEARANCE_HID_TOUCHPAD   0x03C9

#include <zephyr/bluetooth/gap.h>

Touchpad.

◆ BT_APPEARANCE_HOME_VIDEO_GAME_CONSOLE

#define BT_APPEARANCE_HOME_VIDEO_GAME_CONSOLE   0x0A81

#include <zephyr/bluetooth/gap.h>

Home Video Game Console.

◆ BT_APPEARANCE_HVAC_AIR_CURTAIN

#define BT_APPEARANCE_HVAC_AIR_CURTAIN   0x060B

#include <zephyr/bluetooth/gap.h>

Air Curtain.

◆ BT_APPEARANCE_HVAC_BOILER

#define BT_APPEARANCE_HVAC_BOILER   0x0606

#include <zephyr/bluetooth/gap.h>

Boiler.

◆ BT_APPEARANCE_HVAC_DEHUMIDIFIER

#define BT_APPEARANCE_HVAC_DEHUMIDIFIER   0x0603

#include <zephyr/bluetooth/gap.h>

De-humidifier.

◆ BT_APPEARANCE_HVAC_FAN_HEATER

#define BT_APPEARANCE_HVAC_FAN_HEATER   0x060A

#include <zephyr/bluetooth/gap.h>

Fan Heater.

◆ BT_APPEARANCE_HVAC_HEAT_PUMP

#define BT_APPEARANCE_HVAC_HEAT_PUMP   0x0607

#include <zephyr/bluetooth/gap.h>

Heat Pump.

◆ BT_APPEARANCE_HVAC_HEATER

#define BT_APPEARANCE_HVAC_HEATER   0x0604

#include <zephyr/bluetooth/gap.h>

Heater.

◆ BT_APPEARANCE_HVAC_HUMIDIFIER

#define BT_APPEARANCE_HVAC_HUMIDIFIER   0x0602

#include <zephyr/bluetooth/gap.h>

Humidifier.

◆ BT_APPEARANCE_HVAC_INFRARED_HEATER

#define BT_APPEARANCE_HVAC_INFRARED_HEATER   0x0608

#include <zephyr/bluetooth/gap.h>

Infrared Heater.

◆ BT_APPEARANCE_HVAC_RADIANT_PANEL_HEATER

#define BT_APPEARANCE_HVAC_RADIANT_PANEL_HEATER   0x0609

#include <zephyr/bluetooth/gap.h>

Radiant Panel Heater.

◆ BT_APPEARANCE_HVAC_RADIATOR

#define BT_APPEARANCE_HVAC_RADIATOR   0x0605

#include <zephyr/bluetooth/gap.h>

Radiator.

◆ BT_APPEARANCE_HVAC_THERMOSTAT

#define BT_APPEARANCE_HVAC_THERMOSTAT   0x0601

#include <zephyr/bluetooth/gap.h>

Thermostat.

◆ BT_APPEARANCE_INSULIN_PEN

#define BT_APPEARANCE_INSULIN_PEN   0x0D48

#include <zephyr/bluetooth/gap.h>

Insulin Pen.

◆ BT_APPEARANCE_INSULIN_PUMP_DURABLE

#define BT_APPEARANCE_INSULIN_PUMP_DURABLE   0x0D41

#include <zephyr/bluetooth/gap.h>

Insulin Pump, durable pump.

◆ BT_APPEARANCE_INSULIN_PUMP_PATCH

#define BT_APPEARANCE_INSULIN_PUMP_PATCH   0x0D44

#include <zephyr/bluetooth/gap.h>

Insulin Pump, patch pump.

◆ BT_APPEARANCE_LIGHT_FIXTURES_BAY

#define BT_APPEARANCE_LIGHT_FIXTURES_BAY   0x0593

#include <zephyr/bluetooth/gap.h>

Bay Light.

◆ BT_APPEARANCE_LIGHT_FIXTURES_BOLLARD_WITH

#define BT_APPEARANCE_LIGHT_FIXTURES_BOLLARD_WITH   0x058B

#include <zephyr/bluetooth/gap.h>

Bollard with Light.

◆ BT_APPEARANCE_LIGHT_FIXTURES_BULB

#define BT_APPEARANCE_LIGHT_FIXTURES_BULB   0x0597

#include <zephyr/bluetooth/gap.h>

Bulb.

◆ BT_APPEARANCE_LIGHT_FIXTURES_CABINET

#define BT_APPEARANCE_LIGHT_FIXTURES_CABINET   0x0584

#include <zephyr/bluetooth/gap.h>

Cabinet Light.

◆ BT_APPEARANCE_LIGHT_FIXTURES_CEILING

#define BT_APPEARANCE_LIGHT_FIXTURES_CEILING   0x0582

#include <zephyr/bluetooth/gap.h>

Ceiling Light.

◆ BT_APPEARANCE_LIGHT_FIXTURES_CONTROLLER

#define BT_APPEARANCE_LIGHT_FIXTURES_CONTROLLER   0x0595

#include <zephyr/bluetooth/gap.h>

Light Controller.

◆ BT_APPEARANCE_LIGHT_FIXTURES_DESK

#define BT_APPEARANCE_LIGHT_FIXTURES_DESK   0x0585

#include <zephyr/bluetooth/gap.h>

Desk Light.

◆ BT_APPEARANCE_LIGHT_FIXTURES_DRIVER

#define BT_APPEARANCE_LIGHT_FIXTURES_DRIVER   0x0596

#include <zephyr/bluetooth/gap.h>

Light Driver.

◆ BT_APPEARANCE_LIGHT_FIXTURES_EMERGENCY_EXIT

#define BT_APPEARANCE_LIGHT_FIXTURES_EMERGENCY_EXIT   0x0594

#include <zephyr/bluetooth/gap.h>

Emergency Exit Light.

◆ BT_APPEARANCE_LIGHT_FIXTURES_FLOOD

#define BT_APPEARANCE_LIGHT_FIXTURES_FLOOD   0x0589

#include <zephyr/bluetooth/gap.h>

Flood Light.

◆ BT_APPEARANCE_LIGHT_FIXTURES_FLOOR

#define BT_APPEARANCE_LIGHT_FIXTURES_FLOOR   0x0583

#include <zephyr/bluetooth/gap.h>

Floor Light.

◆ BT_APPEARANCE_LIGHT_FIXTURES_GARDEN

#define BT_APPEARANCE_LIGHT_FIXTURES_GARDEN   0x058D

#include <zephyr/bluetooth/gap.h>

Garden Light.

◆ BT_APPEARANCE_LIGHT_FIXTURES_HIGH_BAY

#define BT_APPEARANCE_LIGHT_FIXTURES_HIGH_BAY   0x0599

#include <zephyr/bluetooth/gap.h>

High-bay Light.

◆ BT_APPEARANCE_LIGHT_FIXTURES_IN_GROUND

#define BT_APPEARANCE_LIGHT_FIXTURES_IN_GROUND   0x0588

#include <zephyr/bluetooth/gap.h>

In-ground Light.

◆ BT_APPEARANCE_LIGHT_FIXTURES_LINEAR

#define BT_APPEARANCE_LIGHT_FIXTURES_LINEAR   0x0590

#include <zephyr/bluetooth/gap.h>

Linear Light.

◆ BT_APPEARANCE_LIGHT_FIXTURES_LOW_BAY

#define BT_APPEARANCE_LIGHT_FIXTURES_LOW_BAY   0x0598

#include <zephyr/bluetooth/gap.h>

Low-bay Light.

◆ BT_APPEARANCE_LIGHT_FIXTURES_PATHWAY

#define BT_APPEARANCE_LIGHT_FIXTURES_PATHWAY   0x058C

#include <zephyr/bluetooth/gap.h>

Pathway Light.

◆ BT_APPEARANCE_LIGHT_FIXTURES_PENDANT

#define BT_APPEARANCE_LIGHT_FIXTURES_PENDANT   0x0587

#include <zephyr/bluetooth/gap.h>

Pendant Light.

◆ BT_APPEARANCE_LIGHT_FIXTURES_POLE_TOP

#define BT_APPEARANCE_LIGHT_FIXTURES_POLE_TOP   0x058E

#include <zephyr/bluetooth/gap.h>

Pole-top Light.

◆ BT_APPEARANCE_LIGHT_FIXTURES_SHELVES

#define BT_APPEARANCE_LIGHT_FIXTURES_SHELVES   0x0592

#include <zephyr/bluetooth/gap.h>

Shelves Light.

◆ BT_APPEARANCE_LIGHT_FIXTURES_STREET

#define BT_APPEARANCE_LIGHT_FIXTURES_STREET   0x0591

#include <zephyr/bluetooth/gap.h>

Street Light.

◆ BT_APPEARANCE_LIGHT_FIXTURES_TROFFER

#define BT_APPEARANCE_LIGHT_FIXTURES_TROFFER   0x0586

#include <zephyr/bluetooth/gap.h>

Troffer Light.

◆ BT_APPEARANCE_LIGHT_FIXTURES_UNDERWATER

#define BT_APPEARANCE_LIGHT_FIXTURES_UNDERWATER   0x058A

#include <zephyr/bluetooth/gap.h>

Underwater Light.

◆ BT_APPEARANCE_LIGHT_FIXTURES_WALL

#define BT_APPEARANCE_LIGHT_FIXTURES_WALL   0x0581

#include <zephyr/bluetooth/gap.h>

Wall Light.

◆ BT_APPEARANCE_LIGHT_SOURCE_FLUORESCENT_LAMP

#define BT_APPEARANCE_LIGHT_SOURCE_FLUORESCENT_LAMP   0x07C4

#include <zephyr/bluetooth/gap.h>

Fluorescent Lamp.

◆ BT_APPEARANCE_LIGHT_SOURCE_HID_LAMP

#define BT_APPEARANCE_LIGHT_SOURCE_HID_LAMP   0x07C3

#include <zephyr/bluetooth/gap.h>

HID Lamp.

◆ BT_APPEARANCE_LIGHT_SOURCE_INCANDESCENT_BULB

#define BT_APPEARANCE_LIGHT_SOURCE_INCANDESCENT_BULB   0x07C1

#include <zephyr/bluetooth/gap.h>

Incandescent Light Bulb.

◆ BT_APPEARANCE_LIGHT_SOURCE_LED_ARRAY

#define BT_APPEARANCE_LIGHT_SOURCE_LED_ARRAY   0x07C5

#include <zephyr/bluetooth/gap.h>

LED Array.

◆ BT_APPEARANCE_LIGHT_SOURCE_LED_LAMP

#define BT_APPEARANCE_LIGHT_SOURCE_LED_LAMP   0x07C2

#include <zephyr/bluetooth/gap.h>

LED Lamp.

◆ BT_APPEARANCE_LIGHT_SOURCE_LOW_VOLTAGE_HALOGEN

#define BT_APPEARANCE_LIGHT_SOURCE_LOW_VOLTAGE_HALOGEN   0x07C7

#include <zephyr/bluetooth/gap.h>

Low voltage halogen.

◆ BT_APPEARANCE_LIGHT_SOURCE_MULTICOLOR_LED_ARRAY

#define BT_APPEARANCE_LIGHT_SOURCE_MULTICOLOR_LED_ARRAY   0x07C6

#include <zephyr/bluetooth/gap.h>

Multi-Color LED Array.

◆ BT_APPEARANCE_LIGHT_SOURCE_OLED

#define BT_APPEARANCE_LIGHT_SOURCE_OLED   0x07C8

#include <zephyr/bluetooth/gap.h>

Organic light emitting diode.

◆ BT_APPEARANCE_MOBILITY_POWERED_WHEELCHAIR

#define BT_APPEARANCE_MOBILITY_POWERED_WHEELCHAIR   0x0CC1

#include <zephyr/bluetooth/gap.h>

Powered Wheelchair.

◆ BT_APPEARANCE_MOBILITY_SCOOTER

#define BT_APPEARANCE_MOBILITY_SCOOTER   0x0CC2

#include <zephyr/bluetooth/gap.h>

Mobility Scooter.

◆ BT_APPEARANCE_MOTORIZED_AWNING

#define BT_APPEARANCE_MOTORIZED_AWNING   0x0742

#include <zephyr/bluetooth/gap.h>

Awning.

◆ BT_APPEARANCE_MOTORIZED_BLINDS_OR_SHADES

#define BT_APPEARANCE_MOTORIZED_BLINDS_OR_SHADES   0x0743

#include <zephyr/bluetooth/gap.h>

Blinds or Shades.

◆ BT_APPEARANCE_MOTORIZED_CURTAINS

#define BT_APPEARANCE_MOTORIZED_CURTAINS   0x0744

#include <zephyr/bluetooth/gap.h>

Curtains.

◆ BT_APPEARANCE_MOTORIZED_GATE

#define BT_APPEARANCE_MOTORIZED_GATE   0x0741

#include <zephyr/bluetooth/gap.h>

Motorized Gate.

◆ BT_APPEARANCE_MOTORIZED_SCREEN

#define BT_APPEARANCE_MOTORIZED_SCREEN   0x0745

#include <zephyr/bluetooth/gap.h>

Screen.

◆ BT_APPEARANCE_MULTISENSOR

#define BT_APPEARANCE_MULTISENSOR   0x0556

#include <zephyr/bluetooth/gap.h>

Multisensor.

◆ BT_APPEARANCE_NETWORK_ACCESS_POINT

#define BT_APPEARANCE_NETWORK_ACCESS_POINT   0x0501

#include <zephyr/bluetooth/gap.h>

Access Point.

◆ BT_APPEARANCE_NETWORK_MESH_DEVICE

#define BT_APPEARANCE_NETWORK_MESH_DEVICE   0x0502

#include <zephyr/bluetooth/gap.h>

Mesh Device.

◆ BT_APPEARANCE_NETWORK_MESH_PROXY

#define BT_APPEARANCE_NETWORK_MESH_PROXY   0x0503

#include <zephyr/bluetooth/gap.h>

Mesh Network Proxy.

◆ BT_APPEARANCE_OUTDOOR_SPORTS_LOCATION

#define BT_APPEARANCE_OUTDOOR_SPORTS_LOCATION   0x1441

#include <zephyr/bluetooth/gap.h>

Location Display.

◆ BT_APPEARANCE_OUTDOOR_SPORTS_LOCATION_AND_NAV

#define BT_APPEARANCE_OUTDOOR_SPORTS_LOCATION_AND_NAV   0x1442

#include <zephyr/bluetooth/gap.h>

Location and Navigation Display.

◆ BT_APPEARANCE_OUTDOOR_SPORTS_LOCATION_POD

#define BT_APPEARANCE_OUTDOOR_SPORTS_LOCATION_POD   0x1443

#include <zephyr/bluetooth/gap.h>

Location Pod.

◆ BT_APPEARANCE_OUTDOOR_SPORTS_LOCATION_POD_AND_NAV

#define BT_APPEARANCE_OUTDOOR_SPORTS_LOCATION_POD_AND_NAV   0x1444

#include <zephyr/bluetooth/gap.h>

Location and Navigation Pod.

◆ BT_APPEARANCE_PORTABLE_HANDHELD_CONSOLE

#define BT_APPEARANCE_PORTABLE_HANDHELD_CONSOLE   0x0A82

#include <zephyr/bluetooth/gap.h>

Portable handheld console.

◆ BT_APPEARANCE_POWER_CHARGE_CASE

#define BT_APPEARANCE_POWER_CHARGE_CASE   0x0788

#include <zephyr/bluetooth/gap.h>

Charge Case.

◆ BT_APPEARANCE_POWER_FLUORESCENT_LAMP_GEAR

#define BT_APPEARANCE_POWER_FLUORESCENT_LAMP_GEAR   0x0786

#include <zephyr/bluetooth/gap.h>

Fluorescent Lamp Gear.

◆ BT_APPEARANCE_POWER_HID_LAMP_GEAR

#define BT_APPEARANCE_POWER_HID_LAMP_GEAR   0x0787

#include <zephyr/bluetooth/gap.h>

HID Lamp Gear.

◆ BT_APPEARANCE_POWER_LED_DRIVER

#define BT_APPEARANCE_POWER_LED_DRIVER   0x0785

#include <zephyr/bluetooth/gap.h>

LED Driver.

◆ BT_APPEARANCE_POWER_OUTLET

#define BT_APPEARANCE_POWER_OUTLET   0x0781

#include <zephyr/bluetooth/gap.h>

Power Outlet.

◆ BT_APPEARANCE_POWER_PLUG

#define BT_APPEARANCE_POWER_PLUG   0x0783

#include <zephyr/bluetooth/gap.h>

Plug.

◆ BT_APPEARANCE_POWER_POWER_BANK

#define BT_APPEARANCE_POWER_POWER_BANK   0x0789

#include <zephyr/bluetooth/gap.h>

Power Bank.

◆ BT_APPEARANCE_POWER_STRIP

#define BT_APPEARANCE_POWER_STRIP   0x0782

#include <zephyr/bluetooth/gap.h>

Power Strip.

◆ BT_APPEARANCE_POWER_SUPPLY

#define BT_APPEARANCE_POWER_SUPPLY   0x0784

#include <zephyr/bluetooth/gap.h>

Power Supply.

◆ BT_APPEARANCE_PULSE_OXIMETER_FINGERTIP

#define BT_APPEARANCE_PULSE_OXIMETER_FINGERTIP   0x0C41

#include <zephyr/bluetooth/gap.h>

Fingertip Pulse Oximeter.

◆ BT_APPEARANCE_PULSE_OXIMETER_WRIST

#define BT_APPEARANCE_PULSE_OXIMETER_WRIST   0x0C42

#include <zephyr/bluetooth/gap.h>

Wrist Worn Pulse Oximeter.

◆ BT_APPEARANCE_SENSOR_AIR_QUALITY

#define BT_APPEARANCE_SENSOR_AIR_QUALITY   0x0542

#include <zephyr/bluetooth/gap.h>

Air quality Sensor.

◆ BT_APPEARANCE_SENSOR_AMBIENT_LIGHT

#define BT_APPEARANCE_SENSOR_AMBIENT_LIGHT   0x054B

#include <zephyr/bluetooth/gap.h>

Ambient Light Sensor.

◆ BT_APPEARANCE_SENSOR_CARBON_DIOXIDE

#define BT_APPEARANCE_SENSOR_CARBON_DIOXIDE   0x054A

#include <zephyr/bluetooth/gap.h>

Carbon Dioxide Sensor.

◆ BT_APPEARANCE_SENSOR_CARBON_MONOXIDE

#define BT_APPEARANCE_SENSOR_CARBON_MONOXIDE   0x0549

#include <zephyr/bluetooth/gap.h>

Carbon Monoxide Sensor.

◆ BT_APPEARANCE_SENSOR_CEILING_MOUNTED

#define BT_APPEARANCE_SENSOR_CEILING_MOUNTED   0x0554

#include <zephyr/bluetooth/gap.h>

Ceiling Mounted Sensor.

◆ BT_APPEARANCE_SENSOR_COLOR_LIGHT

#define BT_APPEARANCE_SENSOR_COLOR_LIGHT   0x054D

#include <zephyr/bluetooth/gap.h>

Color Light Sensor.

◆ BT_APPEARANCE_SENSOR_CONTACT

#define BT_APPEARANCE_SENSOR_CONTACT   0x0548

#include <zephyr/bluetooth/gap.h>

Contact Sensor.

◆ BT_APPEARANCE_SENSOR_ENERGY

#define BT_APPEARANCE_SENSOR_ENERGY   0x054C

#include <zephyr/bluetooth/gap.h>

Energy Sensor.

◆ BT_APPEARANCE_SENSOR_ENERGY_METER

#define BT_APPEARANCE_SENSOR_ENERGY_METER   0x0557

#include <zephyr/bluetooth/gap.h>

Energy Meter.

◆ BT_APPEARANCE_SENSOR_FIRE

#define BT_APPEARANCE_SENSOR_FIRE   0x054F

#include <zephyr/bluetooth/gap.h>

Fire Sensor.

◆ BT_APPEARANCE_SENSOR_FLAME_DETECTOR

#define BT_APPEARANCE_SENSOR_FLAME_DETECTOR   0x0558

#include <zephyr/bluetooth/gap.h>

Flame Detector.

◆ BT_APPEARANCE_SENSOR_FLUSH_MOUNTED

#define BT_APPEARANCE_SENSOR_FLUSH_MOUNTED   0x0553

#include <zephyr/bluetooth/gap.h>

Flush Mounted Sensor.

◆ BT_APPEARANCE_SENSOR_HUMIDITY

#define BT_APPEARANCE_SENSOR_HUMIDITY   0x0544

#include <zephyr/bluetooth/gap.h>

Humidity Sensor.

◆ BT_APPEARANCE_SENSOR_LEAK

#define BT_APPEARANCE_SENSOR_LEAK   0x0545

#include <zephyr/bluetooth/gap.h>

Leak Sensor.

◆ BT_APPEARANCE_SENSOR_MOTION

#define BT_APPEARANCE_SENSOR_MOTION   0x0541

#include <zephyr/bluetooth/gap.h>

Motion Sensor.

◆ BT_APPEARANCE_SENSOR_MULTI

#define BT_APPEARANCE_SENSOR_MULTI   0x0552

#include <zephyr/bluetooth/gap.h>

Multi-Sensor.

◆ BT_APPEARANCE_SENSOR_OCCUPANCY

#define BT_APPEARANCE_SENSOR_OCCUPANCY   0x0547

#include <zephyr/bluetooth/gap.h>

Occupancy Sensor.

◆ BT_APPEARANCE_SENSOR_PROXIMITY

#define BT_APPEARANCE_SENSOR_PROXIMITY   0x0551

#include <zephyr/bluetooth/gap.h>

Proximity Sensor.

◆ BT_APPEARANCE_SENSOR_RAIN

#define BT_APPEARANCE_SENSOR_RAIN   0x054E

#include <zephyr/bluetooth/gap.h>

Rain Sensor.

◆ BT_APPEARANCE_SENSOR_SMOKE

#define BT_APPEARANCE_SENSOR_SMOKE   0x0546

#include <zephyr/bluetooth/gap.h>

Smoke Sensor.

◆ BT_APPEARANCE_SENSOR_TEMPERATURE

#define BT_APPEARANCE_SENSOR_TEMPERATURE   0x0543

#include <zephyr/bluetooth/gap.h>

Temperature Sensor.

◆ BT_APPEARANCE_SENSOR_VEHICLE_TIRE_PRESSURE

#define BT_APPEARANCE_SENSOR_VEHICLE_TIRE_PRESSURE   0x0559

#include <zephyr/bluetooth/gap.h>

Vehicle Tire Pressure Sensor.

◆ BT_APPEARANCE_SENSOR_WALL_MOUNTED

#define BT_APPEARANCE_SENSOR_WALL_MOUNTED   0x0555

#include <zephyr/bluetooth/gap.h>

Wall Mounted Sensor.

◆ BT_APPEARANCE_SENSOR_WIND

#define BT_APPEARANCE_SENSOR_WIND   0x0550

#include <zephyr/bluetooth/gap.h>

Wind Sensor.

◆ BT_APPEARANCE_SIGNAGE_DIGITAL

#define BT_APPEARANCE_SIGNAGE_DIGITAL   0x0AC1

#include <zephyr/bluetooth/gap.h>

Digital Signage.

◆ BT_APPEARANCE_SIGNAGE_ELECTRONIC_LABEL

#define BT_APPEARANCE_SIGNAGE_ELECTRONIC_LABEL   0x0AC2

#include <zephyr/bluetooth/gap.h>

Electronic Label.

◆ BT_APPEARANCE_SMARTWATCH

#define BT_APPEARANCE_SMARTWATCH   0x00C2

#include <zephyr/bluetooth/gap.h>

Smartwatch.

◆ BT_APPEARANCE_SPIROMETER_HANDHELD

#define BT_APPEARANCE_SPIROMETER_HANDHELD   0x0DC1

#include <zephyr/bluetooth/gap.h>

Handheld Spirometer.

◆ BT_APPEARANCE_SPORTS_WATCH

#define BT_APPEARANCE_SPORTS_WATCH   0x00C1

#include <zephyr/bluetooth/gap.h>

Sports Watch.

◆ BT_APPEARANCE_SPOT_LIGHT

#define BT_APPEARANCE_SPOT_LIGHT   0x058F

#include <zephyr/bluetooth/gap.h>

Spotlight.

◆ BT_APPEARANCE_THERMOMETER_EAR

#define BT_APPEARANCE_THERMOMETER_EAR   0x0301

#include <zephyr/bluetooth/gap.h>

Ear Thermometer.

◆ BT_APPEARANCE_UNKNOWN

#define BT_APPEARANCE_UNKNOWN   0x0000

#include <zephyr/bluetooth/gap.h>

Generic Unknown.

◆ BT_APPEARANCE_VEHICLE_AGRICULTURAL

#define BT_APPEARANCE_VEHICLE_AGRICULTURAL   0x08CD

#include <zephyr/bluetooth/gap.h>

Agricultural Vehicle.

◆ BT_APPEARANCE_VEHICLE_BUS

#define BT_APPEARANCE_VEHICLE_BUS   0x08CB

#include <zephyr/bluetooth/gap.h>

Bus.

◆ BT_APPEARANCE_VEHICLE_CAMPER_OR_CARAVAN

#define BT_APPEARANCE_VEHICLE_CAMPER_OR_CARAVAN   0x08CE

#include <zephyr/bluetooth/gap.h>

Camper/Caravan.

◆ BT_APPEARANCE_VEHICLE_CAR

#define BT_APPEARANCE_VEHICLE_CAR   0x08C1

#include <zephyr/bluetooth/gap.h>

Car.

◆ BT_APPEARANCE_VEHICLE_LARGE_GOODS

#define BT_APPEARANCE_VEHICLE_LARGE_GOODS   0x08C2

#include <zephyr/bluetooth/gap.h>

Large Goods Vehicle.

◆ BT_APPEARANCE_VEHICLE_LIGHT

#define BT_APPEARANCE_VEHICLE_LIGHT   0x08C8

#include <zephyr/bluetooth/gap.h>

Light Vehicle.

◆ BT_APPEARANCE_VEHICLE_MINIBUS

#define BT_APPEARANCE_VEHICLE_MINIBUS   0x08CA

#include <zephyr/bluetooth/gap.h>

Minibus.

◆ BT_APPEARANCE_VEHICLE_MOPED

#define BT_APPEARANCE_VEHICLE_MOPED   0x08C6

#include <zephyr/bluetooth/gap.h>

Moped.

◆ BT_APPEARANCE_VEHICLE_MOTORBIKE

#define BT_APPEARANCE_VEHICLE_MOTORBIKE   0x08C4

#include <zephyr/bluetooth/gap.h>

Motorbike.

◆ BT_APPEARANCE_VEHICLE_QUAD_BIKE

#define BT_APPEARANCE_VEHICLE_QUAD_BIKE   0x08C9

#include <zephyr/bluetooth/gap.h>

Quad Bike.

◆ BT_APPEARANCE_VEHICLE_RECREATIONAL

#define BT_APPEARANCE_VEHICLE_RECREATIONAL   0x08CF

#include <zephyr/bluetooth/gap.h>

Recreational Vehicle/Motor Home.

◆ BT_APPEARANCE_VEHICLE_SCOOTER

#define BT_APPEARANCE_VEHICLE_SCOOTER   0x08C5

#include <zephyr/bluetooth/gap.h>

Scooter.

◆ BT_APPEARANCE_VEHICLE_THREE_WHEELED

#define BT_APPEARANCE_VEHICLE_THREE_WHEELED   0x08C7

#include <zephyr/bluetooth/gap.h>

3-Wheeled Vehicle

◆ BT_APPEARANCE_VEHICLE_TROLLEY

#define BT_APPEARANCE_VEHICLE_TROLLEY   0x08CC

#include <zephyr/bluetooth/gap.h>

Trolley.

◆ BT_APPEARANCE_VEHICLE_TWO_WHEELED

#define BT_APPEARANCE_VEHICLE_TWO_WHEELED   0x08C3

#include <zephyr/bluetooth/gap.h>

2-Wheeled Vehicle

◆ BT_APPEARANCE_WALKING_IN_SHOE

#define BT_APPEARANCE_WALKING_IN_SHOE   0x0441

#include <zephyr/bluetooth/gap.h>

In-Shoe Running Walking Sensor.

◆ BT_APPEARANCE_WALKING_ON_HIP

#define BT_APPEARANCE_WALKING_ON_HIP   0x0443

#include <zephyr/bluetooth/gap.h>

On-Hip Running Walking Sensor.

◆ BT_APPEARANCE_WALKING_ON_SHOE

#define BT_APPEARANCE_WALKING_ON_SHOE   0x0442

#include <zephyr/bluetooth/gap.h>

On-Shoe Running Walking Sensor.

◆ BT_APPEARANCE_WEARABLE_AUDIO_DEVICE_EARBUD

#define BT_APPEARANCE_WEARABLE_AUDIO_DEVICE_EARBUD   0x0941

#include <zephyr/bluetooth/gap.h>

Earbud.

◆ BT_APPEARANCE_WEARABLE_AUDIO_DEVICE_HEADPHONES

#define BT_APPEARANCE_WEARABLE_AUDIO_DEVICE_HEADPHONES   0x0943

#include <zephyr/bluetooth/gap.h>

Headphones.

◆ BT_APPEARANCE_WEARABLE_AUDIO_DEVICE_HEADSET

#define BT_APPEARANCE_WEARABLE_AUDIO_DEVICE_HEADSET   0x0942

#include <zephyr/bluetooth/gap.h>

Headset.

◆ BT_APPEARANCE_WEARABLE_AUDIO_DEVICE_NECK_BAND

#define BT_APPEARANCE_WEARABLE_AUDIO_DEVICE_NECK_BAND   0x0944

#include <zephyr/bluetooth/gap.h>

Neck Band.

◆ BT_APPEARANCE_WINDOW_AWNING

#define BT_APPEARANCE_WINDOW_AWNING   0x0803

#include <zephyr/bluetooth/gap.h>

Window Awning.

◆ BT_APPEARANCE_WINDOW_BLINDS

#define BT_APPEARANCE_WINDOW_BLINDS   0x0802

#include <zephyr/bluetooth/gap.h>

Window Blinds.

◆ BT_APPEARANCE_WINDOW_CURTAIN

#define BT_APPEARANCE_WINDOW_CURTAIN   0x0804

#include <zephyr/bluetooth/gap.h>

Window Curtain.

◆ BT_APPEARANCE_WINDOW_EXTERIOR_SCREEN

#define BT_APPEARANCE_WINDOW_EXTERIOR_SCREEN   0x0806

#include <zephyr/bluetooth/gap.h>

Exterior Screen.

◆ BT_APPEARANCE_WINDOW_EXTERIOR_SHUTTER

#define BT_APPEARANCE_WINDOW_EXTERIOR_SHUTTER   0x0805

#include <zephyr/bluetooth/gap.h>

Exterior Shutter.

◆ BT_APPEARANCE_WINDOW_SHADES

#define BT_APPEARANCE_WINDOW_SHADES   0x0801

#include <zephyr/bluetooth/gap.h>

Window Shades.

◆ BT_COMP_ID_LF

#define BT_COMP_ID_LF   0x05f1

#include <zephyr/bluetooth/gap.h>

The Linux Foundation.

◆ BT_DATA_3D_INFO

#define BT_DATA_3D_INFO   0x3D

#include <zephyr/bluetooth/gap.h>

3D Information Data

◆ BT_DATA_ADV_INT

#define BT_DATA_ADV_INT   0x1a

#include <zephyr/bluetooth/gap.h>

Advertising Interval.

◆ BT_DATA_ADV_INT_LONG

#define BT_DATA_ADV_INT_LONG   0x2f

#include <zephyr/bluetooth/gap.h>

Advertising Interval long.

◆ BT_DATA_BIG_INFO

#define BT_DATA_BIG_INFO   0x2c

#include <zephyr/bluetooth/gap.h>

BIGInfo.

◆ BT_DATA_BROADCAST_CODE

#define BT_DATA_BROADCAST_CODE   0x2d

#include <zephyr/bluetooth/gap.h>

Broadcast Code.

◆ BT_DATA_BROADCAST_NAME

#define BT_DATA_BROADCAST_NAME   0x30

#include <zephyr/bluetooth/gap.h>

Broadcast Name.

◆ BT_DATA_CHANNEL_MAP_UPDATE_IND

#define BT_DATA_CHANNEL_MAP_UPDATE_IND   0x28

#include <zephyr/bluetooth/gap.h>

Channel Map Update Indication.

◆ BT_DATA_CSIS_RSI

#define BT_DATA_CSIS_RSI   0x2e

#include <zephyr/bluetooth/gap.h>

CSIS Random Set ID type.

◆ BT_DATA_DEVICE_CLASS

#define BT_DATA_DEVICE_CLASS   0x0d

#include <zephyr/bluetooth/gap.h>

Class of Device.

◆ BT_DATA_DEVICE_ID

#define BT_DATA_DEVICE_ID   0x10

#include <zephyr/bluetooth/gap.h>

Device ID (Profile)

◆ BT_DATA_ENCRYPTED_AD_DATA

#define BT_DATA_ENCRYPTED_AD_DATA   0x31

#include <zephyr/bluetooth/gap.h>

Encrypted Advertising Data.

◆ BT_DATA_ESL

#define BT_DATA_ESL   0x34

#include <zephyr/bluetooth/gap.h>

Electronic Shelf Label Profile.

◆ BT_DATA_FLAGS

#define BT_DATA_FLAGS   0x01

#include <zephyr/bluetooth/gap.h>

AD flags.

◆ BT_DATA_GAP_APPEARANCE

#define BT_DATA_GAP_APPEARANCE   0x19

#include <zephyr/bluetooth/gap.h>

GAP appearance.

◆ BT_DATA_INDOOR_POS

#define BT_DATA_INDOOR_POS   0x25

#include <zephyr/bluetooth/gap.h>

Indoor Positioning.

◆ BT_DATA_LE_BT_DEVICE_ADDRESS

#define BT_DATA_LE_BT_DEVICE_ADDRESS   0x1b

#include <zephyr/bluetooth/gap.h>

LE Bluetooth Device Address.

◆ BT_DATA_LE_ROLE

#define BT_DATA_LE_ROLE   0x1c

#include <zephyr/bluetooth/gap.h>

LE Role.

◆ BT_DATA_LE_SC_CONFIRM_VALUE

#define BT_DATA_LE_SC_CONFIRM_VALUE   0x22

#include <zephyr/bluetooth/gap.h>

LE SC Confirmation Value.

◆ BT_DATA_LE_SC_RANDOM_VALUE

#define BT_DATA_LE_SC_RANDOM_VALUE   0x23

#include <zephyr/bluetooth/gap.h>

LE SC Random Value.

◆ BT_DATA_LE_SUPPORTED_FEATURES

#define BT_DATA_LE_SUPPORTED_FEATURES   0x27

#include <zephyr/bluetooth/gap.h>

LE Supported Features.

◆ BT_DATA_MANUFACTURER_DATA

#define BT_DATA_MANUFACTURER_DATA   0xff

#include <zephyr/bluetooth/gap.h>

Manufacturer Specific Data.

◆ BT_DATA_MESH_BEACON

#define BT_DATA_MESH_BEACON   0x2b

#include <zephyr/bluetooth/gap.h>

Mesh Beacon.

◆ BT_DATA_MESH_MESSAGE

#define BT_DATA_MESH_MESSAGE   0x2a

#include <zephyr/bluetooth/gap.h>

Mesh Networking PDU.

◆ BT_DATA_MESH_PROV

#define BT_DATA_MESH_PROV   0x29

#include <zephyr/bluetooth/gap.h>

Mesh Provisioning PDU.

◆ BT_DATA_NAME_COMPLETE

#define BT_DATA_NAME_COMPLETE   0x09

#include <zephyr/bluetooth/gap.h>

Complete name.

◆ BT_DATA_NAME_SHORTENED

#define BT_DATA_NAME_SHORTENED   0x08

#include <zephyr/bluetooth/gap.h>

Shortened name.

◆ BT_DATA_PAWR_TIMING_INFO

#define BT_DATA_PAWR_TIMING_INFO   0x32

#include <zephyr/bluetooth/gap.h>

Periodic Advertising Response Timing Info.

◆ BT_DATA_PERIPHERAL_INT_RANGE

#define BT_DATA_PERIPHERAL_INT_RANGE   0x12

#include <zephyr/bluetooth/gap.h>

Peripheral Connection Interval Range.

◆ BT_DATA_PUB_TARGET_ADDR

#define BT_DATA_PUB_TARGET_ADDR   0x17

#include <zephyr/bluetooth/gap.h>

Public Target Address.

◆ BT_DATA_RAND_TARGET_ADDR

#define BT_DATA_RAND_TARGET_ADDR   0x18

#include <zephyr/bluetooth/gap.h>

Random Target Address.

◆ BT_DATA_SIMPLE_PAIRING_HASH

#define BT_DATA_SIMPLE_PAIRING_HASH   0x1d

#include <zephyr/bluetooth/gap.h>

Simple Pairing Hash C256.

◆ BT_DATA_SIMPLE_PAIRING_HASH_C192

#define BT_DATA_SIMPLE_PAIRING_HASH_C192   0x0e

#include <zephyr/bluetooth/gap.h>

Simple Pairing Hash C-192.

◆ BT_DATA_SIMPLE_PAIRING_RAND

#define BT_DATA_SIMPLE_PAIRING_RAND   0x1e

#include <zephyr/bluetooth/gap.h>

Simple Pairing Randomizer R256.

◆ BT_DATA_SIMPLE_PAIRING_RAND_C192

#define BT_DATA_SIMPLE_PAIRING_RAND_C192   0x0f

#include <zephyr/bluetooth/gap.h>

Simple Pairing Randomizer R-192.

◆ BT_DATA_SM_OOB_FLAGS

#define BT_DATA_SM_OOB_FLAGS   0x11

#include <zephyr/bluetooth/gap.h>

Security Manager OOB Flags.

◆ BT_DATA_SM_TK_VALUE

#define BT_DATA_SM_TK_VALUE   0x10

#include <zephyr/bluetooth/gap.h>

Security Manager TK Value.

◆ BT_DATA_SOLICIT128

#define BT_DATA_SOLICIT128   0x15

#include <zephyr/bluetooth/gap.h>

Solicit UUIDs, 128-bit.

◆ BT_DATA_SOLICIT16

#define BT_DATA_SOLICIT16   0x14

#include <zephyr/bluetooth/gap.h>

Solicit UUIDs, 16-bit.

◆ BT_DATA_SOLICIT32

#define BT_DATA_SOLICIT32   0x1f

#include <zephyr/bluetooth/gap.h>

Solicit UUIDs, 32-bit.

◆ BT_DATA_SVC_DATA128

#define BT_DATA_SVC_DATA128   0x21

#include <zephyr/bluetooth/gap.h>

Service data, 128-bit UUID.

◆ BT_DATA_SVC_DATA16

#define BT_DATA_SVC_DATA16   0x16

#include <zephyr/bluetooth/gap.h>

Service data, 16-bit UUID.

◆ BT_DATA_SVC_DATA32

#define BT_DATA_SVC_DATA32   0x20

#include <zephyr/bluetooth/gap.h>

Service data, 32-bit UUID.

◆ BT_DATA_TRANS_DISCOVER_DATA

#define BT_DATA_TRANS_DISCOVER_DATA   0x26

#include <zephyr/bluetooth/gap.h>

Transport Discovery Data.

◆ BT_DATA_TX_POWER

#define BT_DATA_TX_POWER   0x0a

#include <zephyr/bluetooth/gap.h>

Tx Power.

◆ BT_DATA_URI

#define BT_DATA_URI   0x24

#include <zephyr/bluetooth/gap.h>

URI.

◆ BT_DATA_UUID128_ALL

#define BT_DATA_UUID128_ALL   0x07

#include <zephyr/bluetooth/gap.h>

128-bit UUID, all listed

◆ BT_DATA_UUID128_SOME

#define BT_DATA_UUID128_SOME   0x06

#include <zephyr/bluetooth/gap.h>

128-bit UUID, more available

◆ BT_DATA_UUID16_ALL

#define BT_DATA_UUID16_ALL   0x03

#include <zephyr/bluetooth/gap.h>

16-bit UUID, all listed

◆ BT_DATA_UUID16_SOME

#define BT_DATA_UUID16_SOME   0x02

#include <zephyr/bluetooth/gap.h>

16-bit UUID, more available

◆ BT_DATA_UUID32_ALL

#define BT_DATA_UUID32_ALL   0x05

#include <zephyr/bluetooth/gap.h>

32-bit UUID, all listed

◆ BT_DATA_UUID32_SOME

#define BT_DATA_UUID32_SOME   0x04

#include <zephyr/bluetooth/gap.h>

32-bit UUID, more available

◆ BT_GAP_ADV_FAST_INT_MAX_1

#define BT_GAP_ADV_FAST_INT_MAX_1   0x0060 /* 60 ms */

◆ BT_GAP_ADV_FAST_INT_MAX_2

#define BT_GAP_ADV_FAST_INT_MAX_2   0x00f0 /* 150 ms */

◆ BT_GAP_ADV_FAST_INT_MIN_1

#define BT_GAP_ADV_FAST_INT_MIN_1   0x0030 /* 30 ms */

◆ BT_GAP_ADV_FAST_INT_MIN_2

#define BT_GAP_ADV_FAST_INT_MIN_2   0x00a0 /* 100 ms */

◆ BT_GAP_ADV_HIGH_DUTY_CYCLE_MAX_TIMEOUT

#define BT_GAP_ADV_HIGH_DUTY_CYCLE_MAX_TIMEOUT   128

◆ BT_GAP_ADV_INTERVAL_TO_MS

#define BT_GAP_ADV_INTERVAL_TO_MS ( _interval)

#include <zephyr/bluetooth/gap.h>

Value:
#define BT_GAP_ADV_INTERVAL_TO_US(_interval)
Convert periodic advertising interval (N * 0.625 ms) to microseconds.
Definition gap.h:833
#define USEC_PER_MSEC
number of microseconds per millisecond
Definition sys_clock.h:89

Convert periodic advertising interval (N * 0.625 ms) to milliseconds.

Value range of _interval is BT_LE_ADV_INTERVAL_MIN to BT_LE_ADV_INTERVAL_MAX

Note
When intervals cannot be represented in milliseconds, this will round down. For example BT_GAP_ADV_INTERVAL_TO_MS(0x0021) will become 20 ms instead of 20.625 ms

◆ BT_GAP_ADV_INTERVAL_TO_US

#define BT_GAP_ADV_INTERVAL_TO_US ( _interval)

#include <zephyr/bluetooth/gap.h>

Value:
((uint32_t)((_interval) * 625U))
__UINT32_TYPE__ uint32_t
Definition stdint.h:90

Convert periodic advertising interval (N * 0.625 ms) to microseconds.

Value range of _interval is BT_LE_ADV_INTERVAL_MIN to BT_LE_ADV_INTERVAL_MAX

◆ BT_GAP_ADV_MAX_ADV_DATA_LEN

#define BT_GAP_ADV_MAX_ADV_DATA_LEN   31

#include <zephyr/bluetooth/gap.h>

Maximum advertising data length.

◆ BT_GAP_ADV_MAX_EXT_ADV_DATA_LEN

#define BT_GAP_ADV_MAX_EXT_ADV_DATA_LEN   1650

#include <zephyr/bluetooth/gap.h>

Maximum extended advertising data length.

Note
The maximum advertising data length that can be sent by an extended advertiser is defined by the controller.

◆ BT_GAP_ADV_SLOW_INT_MAX

#define BT_GAP_ADV_SLOW_INT_MAX   0x0780 /* 1.2 s */

◆ BT_GAP_ADV_SLOW_INT_MIN

#define BT_GAP_ADV_SLOW_INT_MIN   0x0640 /* 1 s */

◆ BT_GAP_DATA_LEN_DEFAULT

#define BT_GAP_DATA_LEN_DEFAULT   0x001b /* 27 bytes */

#include <zephyr/bluetooth/gap.h>

Default data length.

◆ BT_GAP_DATA_LEN_MAX

#define BT_GAP_DATA_LEN_MAX   0x00fb /* 251 bytes */

#include <zephyr/bluetooth/gap.h>

Maximum data length.

◆ BT_GAP_DATA_TIME_DEFAULT

#define BT_GAP_DATA_TIME_DEFAULT   0x0148 /* 328 us */

#include <zephyr/bluetooth/gap.h>

Default data time.

◆ BT_GAP_DATA_TIME_MAX

#define BT_GAP_DATA_TIME_MAX   0x4290 /* 17040 us */

#include <zephyr/bluetooth/gap.h>

Maximum data time.

◆ BT_GAP_INIT_CONN_INT_MAX

#define BT_GAP_INIT_CONN_INT_MAX   0x0028 /* 50 ms */

◆ BT_GAP_INIT_CONN_INT_MIN

#define BT_GAP_INIT_CONN_INT_MIN   0x0018 /* 30 ms */

◆ BT_GAP_ISO_INTERVAL_TO_MS

#define BT_GAP_ISO_INTERVAL_TO_MS ( _interval)

#include <zephyr/bluetooth/gap.h>

Value:
#define BT_GAP_ISO_INTERVAL_TO_US(_interval)
Convert isochronous interval (N * 1.25 ms) to microseconds.
Definition gap.h:850

Convert isochronous interval (N * 1.25 ms) to milliseconds.

Value range of _interval is BT_HCI_ISO_INTERVAL_MIN to BT_HCI_ISO_INTERVAL_MAX

Note
When intervals cannot be represented in milliseconds, this will round down. For example BT_GAP_ISO_INTERVAL_TO_MS(0x0005) will become 6 ms instead of 6.25 ms

◆ BT_GAP_ISO_INTERVAL_TO_US

#define BT_GAP_ISO_INTERVAL_TO_US ( _interval)

#include <zephyr/bluetooth/gap.h>

Value:
((uint32_t)((_interval) * 1250U))

Convert isochronous interval (N * 1.25 ms) to microseconds.

Value range of _interval is BT_HCI_ISO_INTERVAL_MIN to BT_HCI_ISO_INTERVAL_MAX

◆ BT_GAP_MS_TO_ADV_INTERVAL

#define BT_GAP_MS_TO_ADV_INTERVAL ( _interval)

#include <zephyr/bluetooth/gap.h>

Value:
#define BT_GAP_US_TO_ADV_INTERVAL(_interval)
Convert microseconds to advertising interval units (0.625 ms)
Definition gap.h:886

Convert milliseconds to advertising interval units (0.625 ms)

Value range of _interval is 20 to 1024

Note
If _interval is not a multiple of the unit, it will round down to nearest. For example BT_GAP_MS_TO_ADV_INTERVAL(21) will become 20.625 milliseconds

◆ BT_GAP_MS_TO_CONN_EVENT_LEN

#define BT_GAP_MS_TO_CONN_EVENT_LEN ( _event_len)

#include <zephyr/bluetooth/gap.h>

Value:
#define BT_GAP_US_TO_CONN_EVENT_LEN(_event_len)
Convert milliseconds to connection event length units (0.625)
Definition gap.h:1035

Convert milliseconds to connection event length units (0.625)

Value range of _event_len is 0 to 40959.375

Note
If _event_len is not a multiple of the unit, it will round down to nearest. For example BT_GAP_MS_TO_CONN_EVENT_LEN(21) will become 20.625 milliseconds

◆ BT_GAP_MS_TO_CONN_INTERVAL

#define BT_GAP_MS_TO_CONN_INTERVAL ( _interval)

#include <zephyr/bluetooth/gap.h>

Value:
#define BT_GAP_US_TO_CONN_INTERVAL(_interval)
Convert microseconds to connection interval units (1.25 ms)
Definition gap.h:994

Convert milliseconds to connection interval units (1.25 ms)

Value range of _interval is 7.5 to 4000

Note
If _interval is not a multiple of the unit, it will round down to nearest. For example BT_GAP_MS_TO_CONN_INTERVAL(21) will become 20 milliseconds

◆ BT_GAP_MS_TO_CONN_TIMEOUT

#define BT_GAP_MS_TO_CONN_TIMEOUT ( _timeout)

#include <zephyr/bluetooth/gap.h>

Value:
((uint16_t)((_timeout) / 10U))
__UINT16_TYPE__ uint16_t
Definition stdint.h:89

Convert milliseconds to connection supervision timeout units (10 ms)

Value range of _timeout is 100 to 32000

Note
If _timeout is not a multiple of the unit, it will round down to nearest. For example BT_GAP_MS_TO_CONN_TIMEOUT(4005) will become 4000 milliseconds

◆ BT_GAP_MS_TO_PER_ADV_INTERVAL

#define BT_GAP_MS_TO_PER_ADV_INTERVAL ( _interval)

#include <zephyr/bluetooth/gap.h>

Value:
#define BT_GAP_US_TO_PER_ADV_INTERVAL(_interval)
Convert microseconds to periodic advertising interval units (1.25 ms)
Definition gap.h:907

Convert milliseconds to periodic advertising interval units (1.25 ms)

Value range of _interval is 7.5 to 81918.75

Note
If _interval is not a multiple of the unit, it will round down to nearest. For example BT_GAP_MS_TO_PER_ADV_INTERVAL(11) will become 10 milliseconds

◆ BT_GAP_MS_TO_PER_ADV_SYNC_TIMEOUT

#define BT_GAP_MS_TO_PER_ADV_SYNC_TIMEOUT ( _timeout)

#include <zephyr/bluetooth/gap.h>

Value:
((uint16_t)((_timeout) / 10U))

Convert milliseconds to periodic advertising sync timeout units (10 ms)

Value range of _timeout is 100 to 163840

Note
If _timeout is not a multiple of the unit, it will round down to nearest. For example BT_GAP_MS_TO_PER_ADV_SYNC_TIMEOUT(4005) will become 4000 milliseconds

◆ BT_GAP_MS_TO_SCAN_INTERVAL

#define BT_GAP_MS_TO_SCAN_INTERVAL ( _interval)

#include <zephyr/bluetooth/gap.h>

Value:
#define BT_GAP_US_TO_SCAN_INTERVAL(_interval)
Convert microseconds to scan interval units (0.625 ms)
Definition gap.h:950

Convert milliseconds to scan interval units (0.625 ms)

Value range of _interval is 2.5 to 40959.375 if CONFIG_BT_EXT_ADV else 2500 to 10240

Note
If _interval is not a multiple of the unit, it will round down to nearest. For example BT_GAP_MS_TO_SCAN_INTERVAL(21) will become 20.625 milliseconds

◆ BT_GAP_MS_TO_SCAN_WINDOW

#define BT_GAP_MS_TO_SCAN_WINDOW ( _window)

#include <zephyr/bluetooth/gap.h>

Value:
#define BT_GAP_US_TO_SCAN_WINDOW(_window)
Convert microseconds to scan window units (0.625 ms)
Definition gap.h:973

Convert milliseconds to scan window units (0.625 ms)

Value range of _window is 2.5 to 40959.375 if CONFIG_BT_EXT_ADV else 2500 to 10240

Note
If _window is not a multiple of the unit, it will round down to nearest. For example BT_GAP_MS_TO_SCAN_WINDOW(21) will become 20.625 milliseconds

◆ BT_GAP_NO_TIMEOUT

#define BT_GAP_NO_TIMEOUT   0x0000

◆ BT_GAP_PER_ADV_FAST_INT_MAX_1

#define BT_GAP_PER_ADV_FAST_INT_MAX_1   0x0030 /* 60 ms */

◆ BT_GAP_PER_ADV_FAST_INT_MAX_2

#define BT_GAP_PER_ADV_FAST_INT_MAX_2   0x0078 /* 150 ms */

◆ BT_GAP_PER_ADV_FAST_INT_MIN_1

#define BT_GAP_PER_ADV_FAST_INT_MIN_1   0x0018 /* 30 ms */

◆ BT_GAP_PER_ADV_FAST_INT_MIN_2

#define BT_GAP_PER_ADV_FAST_INT_MIN_2   0x0050 /* 100 ms */

◆ BT_GAP_PER_ADV_INTERVAL_TO_MS

#define BT_GAP_PER_ADV_INTERVAL_TO_MS ( _interval)

#include <zephyr/bluetooth/gap.h>

Value:
#define BT_GAP_PER_ADV_INTERVAL_TO_US(_interval)
Convert periodic advertising interval (N * 1.25 ms) to microseconds *.
Definition gap.h:867

Convert periodic advertising interval (N * 1.25 ms) to milliseconds.

Note
When intervals cannot be represented in milliseconds, this will round down. For example BT_GAP_PER_ADV_INTERVAL_TO_MS(0x0009) will become 11 ms instead of 11.25 ms

◆ BT_GAP_PER_ADV_INTERVAL_TO_US

#define BT_GAP_PER_ADV_INTERVAL_TO_US ( _interval)

#include <zephyr/bluetooth/gap.h>

Value:
((uint32_t)((_interval) * 1250U))

Convert periodic advertising interval (N * 1.25 ms) to microseconds *.

Value range of _interval is BT_HCI_LE_PER_ADV_INTERVAL_MIN to BT_HCI_LE_PER_ADV_INTERVAL_MAX

◆ BT_GAP_PER_ADV_MAX_INTERVAL

#define BT_GAP_PER_ADV_MAX_INTERVAL   0xFFFF /* 81.91875 s */

#include <zephyr/bluetooth/gap.h>

Maximum Periodic Advertising Interval (N * 1.25 ms)

◆ BT_GAP_PER_ADV_MAX_SKIP

#define BT_GAP_PER_ADV_MAX_SKIP   0x01F3

#include <zephyr/bluetooth/gap.h>

Maximum number of consecutive periodic advertisement events that can be skipped after a successful receive.

◆ BT_GAP_PER_ADV_MAX_TIMEOUT

#define BT_GAP_PER_ADV_MAX_TIMEOUT   0x4000 /* 163.84 s */

#include <zephyr/bluetooth/gap.h>

Maximum Periodic Advertising Timeout (N * 10 ms)

◆ BT_GAP_PER_ADV_MIN_INTERVAL

#define BT_GAP_PER_ADV_MIN_INTERVAL   0x0006 /* 7.5 ms */

#include <zephyr/bluetooth/gap.h>

Minimum Periodic Advertising Interval (N * 1.25 ms)

◆ BT_GAP_PER_ADV_MIN_TIMEOUT

#define BT_GAP_PER_ADV_MIN_TIMEOUT   0x000A /* 100 ms */

#include <zephyr/bluetooth/gap.h>

Minimum Periodic Advertising Timeout (N * 10 ms)

◆ BT_GAP_PER_ADV_SLOW_INT_MAX

#define BT_GAP_PER_ADV_SLOW_INT_MAX   0x03C0 /* 1.2 s */

◆ BT_GAP_PER_ADV_SLOW_INT_MIN

#define BT_GAP_PER_ADV_SLOW_INT_MIN   0x0320 /* 1 s */

◆ BT_GAP_RSSI_INVALID

#define BT_GAP_RSSI_INVALID   0x7f

◆ BT_GAP_SCAN_FAST_INTERVAL

#define BT_GAP_SCAN_FAST_INTERVAL   0x0060 /* 60 ms */

◆ BT_GAP_SCAN_FAST_INTERVAL_MIN

#define BT_GAP_SCAN_FAST_INTERVAL_MIN   0x0030 /* 30 ms */

◆ BT_GAP_SCAN_FAST_WINDOW

#define BT_GAP_SCAN_FAST_WINDOW   0x0030 /* 30 ms */

◆ BT_GAP_SCAN_SLOW_INTERVAL_1

#define BT_GAP_SCAN_SLOW_INTERVAL_1   0x0800 /* 1.28 s */

◆ BT_GAP_SCAN_SLOW_INTERVAL_2

#define BT_GAP_SCAN_SLOW_INTERVAL_2   0x1000 /* 2.56 s */

◆ BT_GAP_SCAN_SLOW_WINDOW_1

#define BT_GAP_SCAN_SLOW_WINDOW_1   0x0012 /* 11.25 ms */

◆ BT_GAP_SCAN_SLOW_WINDOW_2

#define BT_GAP_SCAN_SLOW_WINDOW_2   0x0012 /* 11.25 ms */

◆ BT_GAP_SID_INVALID

#define BT_GAP_SID_INVALID   0xff

◆ BT_GAP_SID_MAX

#define BT_GAP_SID_MAX   0x0F

#include <zephyr/bluetooth/gap.h>

Maximum advertising set number.

◆ BT_GAP_TX_POWER_INVALID

#define BT_GAP_TX_POWER_INVALID   0x7f

◆ BT_GAP_US_TO_ADV_INTERVAL

#define BT_GAP_US_TO_ADV_INTERVAL ( _interval)

#include <zephyr/bluetooth/gap.h>

Value:
((uint16_t)((_interval) / 625U))

Convert microseconds to advertising interval units (0.625 ms)

Value range of _interval is 20000 to 1024000

Note
If _interval is not a multiple of the unit, it will round down to nearest. For example BT_GAP_US_TO_ADV_INTERVAL(21000) will become 20625 microseconds

◆ BT_GAP_US_TO_CONN_EVENT_LEN

#define BT_GAP_US_TO_CONN_EVENT_LEN ( _event_len)

#include <zephyr/bluetooth/gap.h>

Value:
((uint16_t)((_event_len) / 625U))

Convert milliseconds to connection event length units (0.625)

Value range of _event_len is 0 to 40959375

Note
If _event_len is not a multiple of the unit, it will round down to nearest. For example BT_GAP_US_TO_CONN_EVENT_LEN(21000) will become 20625 milliseconds

◆ BT_GAP_US_TO_CONN_INTERVAL

#define BT_GAP_US_TO_CONN_INTERVAL ( _interval)

#include <zephyr/bluetooth/gap.h>

Value:
((uint16_t)((_interval) / 1250U))

Convert microseconds to connection interval units (1.25 ms)

Value range of _interval is 7500 to 4000000

Note
If _interval is not a multiple of the unit, it will round down to nearest. For example BT_GAP_US_TO_CONN_INTERVAL(21000) will become 20000 microseconds

◆ BT_GAP_US_TO_CONN_TIMEOUT

#define BT_GAP_US_TO_CONN_TIMEOUT ( _timeout)

#include <zephyr/bluetooth/gap.h>

Value:
#define BT_GAP_MS_TO_CONN_TIMEOUT(_timeout)
Convert milliseconds to connection supervision timeout units (10 ms)
Definition gap.h:1015

Convert microseconds to connection supervision timeout units (10 ms)

Value range of _timeout is 100000 to 32000000

Note
If _timeout is not a multiple of the unit, it will round down to nearest. For example BT_GAP_MS_TO_CONN_TIMEOUT(4005000) will become 4000000 microseconds

◆ BT_GAP_US_TO_PER_ADV_INTERVAL

#define BT_GAP_US_TO_PER_ADV_INTERVAL ( _interval)

#include <zephyr/bluetooth/gap.h>

Value:
((uint16_t)((_interval) / 1250U))

Convert microseconds to periodic advertising interval units (1.25 ms)

Value range of _interval is 7500 to 81918750

Note
If _interval is not a multiple of the unit, it will round down to nearest. For example BT_GAP_US_TO_PER_ADV_INTERVAL(11000) will become 10000 microseconds

◆ BT_GAP_US_TO_PER_ADV_SYNC_TIMEOUT

#define BT_GAP_US_TO_PER_ADV_SYNC_TIMEOUT ( _timeout)

#include <zephyr/bluetooth/gap.h>

Value:
#define BT_GAP_MS_TO_PER_ADV_SYNC_TIMEOUT(_timeout)
Convert milliseconds to periodic advertising sync timeout units (10 ms)
Definition gap.h:928

Convert microseconds to periodic advertising sync timeout units (10 ms)

Value range of _timeout is 100000 to 163840000

Note
If _timeout is not a multiple of the unit, it will round down to nearest. For example BT_GAP_MS_TO_PER_ADV_SYNC_TIMEOUT(4005000) will become 4000000 microseconds

◆ BT_GAP_US_TO_SCAN_INTERVAL

#define BT_GAP_US_TO_SCAN_INTERVAL ( _interval)

#include <zephyr/bluetooth/gap.h>

Value:
((uint16_t)((_interval) / 625U))

Convert microseconds to scan interval units (0.625 ms)

Value range of _interval is 2500 to 40959375 if CONFIG_BT_EXT_ADV else 2500 to 10240000

Note
If _interval is not a multiple of the unit, it will round down to nearest. For example BT_GAP_US_TO_SCAN_INTERVAL(21000) will become 20625 microseconds

◆ BT_GAP_US_TO_SCAN_WINDOW

#define BT_GAP_US_TO_SCAN_WINDOW ( _window)

#include <zephyr/bluetooth/gap.h>

Value:
((uint16_t)((_window) / 625U))

Convert microseconds to scan window units (0.625 ms)

Value range of _window is 2500 to 40959375 if CONFIG_BT_EXT_ADV else 2500 to 10240000

Note
If _window is not a multiple of the unit, it will round down to nearest. For example BT_GAP_US_TO_SCAN_WINDOW(21000) will become 20625 microseconds

◆ BT_LE_AD_GENERAL

#define BT_LE_AD_GENERAL   0x02

#include <zephyr/bluetooth/gap.h>

General Discoverable.

◆ BT_LE_AD_LIMITED

#define BT_LE_AD_LIMITED   0x01

#include <zephyr/bluetooth/gap.h>

Limited Discoverable.

◆ BT_LE_AD_NO_BREDR

#define BT_LE_AD_NO_BREDR   0x04

#include <zephyr/bluetooth/gap.h>

BR/EDR not supported.

◆ BT_LE_SUPP_FEAT_16_ENCODE

#define BT_LE_SUPP_FEAT_16_ENCODE ( w64)

#include <zephyr/bluetooth/gap.h>

Value:
#define BT_BYTES_LIST_LE16(_v)
Encode 16-bit value into array values in little-endian format.
Definition byteorder.h:36

Encode 2 least significant bytes of 64-bit LE Supported Features into 2 bytes long array of values in little-endian format.

Helper macro to encode 64-bit LE Supported Features value into advertising data. The macro encodes 3 least significant bytes into advertising data. Other 6 bytes are not encoded.

Example of how to encode the 0x000000DFF00DF00D into advertising data.

#define BT_DATA_LE_SUPPORTED_FEATURES
LE Supported Features.
Definition gap.h:77
#define BT_LE_SUPP_FEAT_16_ENCODE(w64)
Encode 2 least significant bytes of 64-bit LE Supported Features into 2 bytes long array of values in...
Definition gap.h:1154
#define BT_DATA_BYTES(_type, _bytes...)
Helper to declare elements of bt_data arrays.
Definition bluetooth.h:488
Parameters
w64LE Supported Features value (64-bits)
Returns
The comma separated values for LE Supported Features value that may be used directly as an argument for BT_DATA_BYTES.

◆ BT_LE_SUPP_FEAT_24_ENCODE

#define BT_LE_SUPP_FEAT_24_ENCODE ( w64)

#include <zephyr/bluetooth/gap.h>

Value:
#define BT_BYTES_LIST_LE24(_v)
Encode 24-bit value into array values in little-endian format.
Definition byteorder.h:50

Encode 3 least significant bytes of 64-bit LE Supported Features into 3 bytes long array of values in little-endian format.

Helper macro to encode 64-bit LE Supported Features value into advertising data. The macro encodes 3 least significant bytes into advertising data. Other 5 bytes are not encoded.

Example of how to encode the 0x000000DFF00DF00D into advertising data.

#define BT_LE_SUPP_FEAT_24_ENCODE(w64)
Encode 3 least significant bytes of 64-bit LE Supported Features into 3 bytes long array of values in...
Definition gap.h:1133
Parameters
w64LE Supported Features value (64-bits)
Returns
The comma separated values for LE Supported Features value that may be used directly as an argument for BT_DATA_BYTES.

◆ BT_LE_SUPP_FEAT_32_ENCODE

#define BT_LE_SUPP_FEAT_32_ENCODE ( w64)

#include <zephyr/bluetooth/gap.h>

Value:
#define BT_BYTES_LIST_LE32(_v)
Encode 32-bit value into array values in little-endian format.
Definition byteorder.h:64

Encode 4 least significant bytes of 64-bit LE Supported Features into 4 bytes long array of values in little-endian format.

Helper macro to encode 64-bit LE Supported Features value into advertising data. The macro encodes 4 least significant bytes into advertising data. Other 4 bytes are not encoded.

Example of how to encode the 0x000000DFF00DF00D into advertising data.

#define BT_LE_SUPP_FEAT_32_ENCODE(w64)
Encode 4 least significant bytes of 64-bit LE Supported Features into 4 bytes long array of values in...
Definition gap.h:1112
Parameters
w64LE Supported Features value (64-bits)
Returns
The comma separated values for LE Supported Features value that may be used directly as an argument for BT_DATA_BYTES.

◆ BT_LE_SUPP_FEAT_40_ENCODE

#define BT_LE_SUPP_FEAT_40_ENCODE ( w64)

#include <zephyr/bluetooth/gap.h>

Value:
#define BT_BYTES_LIST_LE40(_v)
Encode 40-bit value into array values in little-endian format.
Definition byteorder.h:78

Encode 40 least significant bits of 64-bit LE Supported Features into array values in little-endian format.

Helper macro to encode 40 least significant bits of 64-bit LE Supported Features value into advertising data. The number of bits that are encoded is a number of LE Supported Features defined by BT 5.3 Core specification.

Example of how to encode the 0x000000DFF00DF00D into advertising data.

#define BT_LE_SUPP_FEAT_40_ENCODE(w64)
Encode 40 least significant bits of 64-bit LE Supported Features into array values in little-endian f...
Definition gap.h:1092
Parameters
w64LE Supported Features value (64-bits)
Returns
The comma separated values for LE Supported Features value that may be used directly as an argument for BT_DATA_BYTES.

◆ BT_LE_SUPP_FEAT_8_ENCODE

#define BT_LE_SUPP_FEAT_8_ENCODE ( w64)

#include <zephyr/bluetooth/gap.h>

Value:
(((w64) >> 0) & 0xFF)

Encode the least significant byte of 64-bit LE Supported Features into single byte long array.

Helper macro to encode 64-bit LE Supported Features value into advertising data. The macro encodes the least significant byte into advertising data. Other 7 bytes are not encoded.

Example of how to encode the 0x000000DFF00DF00D into advertising data.

#define BT_LE_SUPP_FEAT_8_ENCODE(w64)
Encode the least significant byte of 64-bit LE Supported Features into single byte long array.
Definition gap.h:1175
Parameters
w64LE Supported Features value (64-bits)
Returns
The value of least significant byte of LE Supported Features value that may be used directly as an argument for BT_DATA_BYTES.

◆ BT_LE_SUPP_FEAT_VALIDATE

#define BT_LE_SUPP_FEAT_VALIDATE ( w64)

#include <zephyr/bluetooth/gap.h>

Value:
BUILD_ASSERT(!((w64) & (~BIT64_MASK(40))), \
"RFU bit in LE Supported Features are not zeros.")
#define BIT64_MASK(n)
64-bit bit mask with bits 0 through n-1 (inclusive) set, or 0 if n is 0.
Definition util_macro.h:74

Validate whether LE Supported Features value does not use bits that are reserved for future use.

Helper macro to check if w64 has zeros as bits 40-63. The macro is compliant with BT 5.3 Core Specification where bits 0-40 has assigned values. In case of invalid value, build time error is reported.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

#include <zephyr/bluetooth/gap.h>

LE PHY types.

Enumerator
BT_GAP_LE_PHY_NONE 

Convenience macro for when no PHY is set.

BT_GAP_LE_PHY_1M 

LE 1M PHY.

BT_GAP_LE_PHY_2M 

LE 2M PHY.

BT_GAP_LE_PHY_CODED 

LE Coded PHY.

◆ anonymous enum

anonymous enum

#include <zephyr/bluetooth/gap.h>

Advertising PDU types.

Enumerator
BT_GAP_ADV_TYPE_ADV_IND 

Scannable and connectable advertising.

BT_GAP_ADV_TYPE_ADV_DIRECT_IND 

Directed connectable advertising.

BT_GAP_ADV_TYPE_ADV_SCAN_IND 

Non-connectable and scannable advertising.

BT_GAP_ADV_TYPE_ADV_NONCONN_IND 

Non-connectable and non-scannable advertising.

BT_GAP_ADV_TYPE_SCAN_RSP 

Additional advertising data requested by an active scanner.

BT_GAP_ADV_TYPE_EXT_ADV 

Extended advertising, see advertising properties.

◆ anonymous enum

anonymous enum

#include <zephyr/bluetooth/gap.h>

Advertising PDU properties.

Enumerator
BT_GAP_ADV_PROP_CONNECTABLE 

Connectable advertising.

BT_GAP_ADV_PROP_SCANNABLE 

Scannable advertising.

BT_GAP_ADV_PROP_DIRECTED 

Directed advertising.

BT_GAP_ADV_PROP_SCAN_RESPONSE 

Additional advertising data requested by an active scanner.

BT_GAP_ADV_PROP_EXT_ADV 

Extended advertising.

◆ anonymous enum

anonymous enum

#include <zephyr/bluetooth/gap.h>

Constant Tone Extension (CTE) types.

Enumerator
BT_GAP_CTE_AOA 

Angle of Arrival.

BT_GAP_CTE_AOD_1US 

Angle of Departure with 1 us slots.

BT_GAP_CTE_AOD_2US 

Angle of Departure with 2 us slots.

BT_GAP_CTE_NONE 

No extensions.

◆ anonymous enum

anonymous enum

#include <zephyr/bluetooth/gap.h>

Peripheral sleep clock accuracy (SCA) in ppm (parts per million)

Enumerator
BT_GAP_SCA_UNKNOWN 

Unknown.

BT_GAP_SCA_251_500 

251 ppm to 500 ppm

BT_GAP_SCA_151_250 

151 ppm to 250 ppm

BT_GAP_SCA_101_150 

101 ppm to 150 ppm

BT_GAP_SCA_76_100 

76 ppm to 100 ppm

BT_GAP_SCA_51_75 

51 ppm to 75 ppm

BT_GAP_SCA_31_50 

31 ppm to 50 ppm

BT_GAP_SCA_21_30 

21 ppm to 30 ppm

BT_GAP_SCA_0_20 

0 ppm to 20 ppm