Zephyr API 3.6.99
|
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_PER_ADV_INTERVAL_TO_MS(interval) |
Convert periodic advertising interval (N * 1.25 ms) to milliseconds. | |
#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. | |
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. | |
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 */ |
Bluetooth Generic Access Profile defines and Assigned Numbers.
#define BT_APPEARANCE_AIRCRAFT_LARGE_PASSENGER 0x0984 |
#include <zephyr/bluetooth/gap.h>
Large Passenger Aircraft.
#define BT_APPEARANCE_AIRCRAFT_LIGHT 0x0981 |
#include <zephyr/bluetooth/gap.h>
Light Aircraft.
#define BT_APPEARANCE_AIRCRAFT_MICROLIGHT 0x0982 |
#include <zephyr/bluetooth/gap.h>
Microlight.
#define BT_APPEARANCE_AIRCRAFT_PARAGLIDER 0x0983 |
#include <zephyr/bluetooth/gap.h>
Paraglider.
#define BT_APPEARANCE_APPLIANCE_CLOTHES_IRON 0x0909 |
#include <zephyr/bluetooth/gap.h>
Clothes iron.
#define BT_APPEARANCE_APPLIANCE_CLOTHES_STEAMER 0x090F |
#include <zephyr/bluetooth/gap.h>
Clothes steamer.
#define BT_APPEARANCE_APPLIANCE_COFFEE_MAKER 0x0908 |
#include <zephyr/bluetooth/gap.h>
Coffee maker.
#define BT_APPEARANCE_APPLIANCE_CURLING_IRON 0x090A |
#include <zephyr/bluetooth/gap.h>
Curling iron.
#define BT_APPEARANCE_APPLIANCE_DRYER 0x0907 |
#include <zephyr/bluetooth/gap.h>
Dryer.
#define BT_APPEARANCE_APPLIANCE_FREEZER 0x0902 |
#include <zephyr/bluetooth/gap.h>
Freezer.
#define BT_APPEARANCE_APPLIANCE_HAIR_DRYER 0x090B |
#include <zephyr/bluetooth/gap.h>
Hair dryer.
#define BT_APPEARANCE_APPLIANCE_MICROWAVE 0x0904 |
#include <zephyr/bluetooth/gap.h>
Microwave.
#define BT_APPEARANCE_APPLIANCE_OVEN 0x0903 |
#include <zephyr/bluetooth/gap.h>
Oven.
#define BT_APPEARANCE_APPLIANCE_REFRIGERATOR 0x0901 |
#include <zephyr/bluetooth/gap.h>
Refrigerator.
#define BT_APPEARANCE_APPLIANCE_RICE_COOKER 0x090E |
#include <zephyr/bluetooth/gap.h>
Rice cooker.
#define BT_APPEARANCE_APPLIANCE_ROBOTIC_VACUUM_CLEANER 0x090D |
#include <zephyr/bluetooth/gap.h>
Robotic vacuum cleaner.
#define BT_APPEARANCE_APPLIANCE_TOASTER 0x0905 |
#include <zephyr/bluetooth/gap.h>
Toaster.
#define BT_APPEARANCE_APPLIANCE_VACUUM_CLEANER 0x090C |
#include <zephyr/bluetooth/gap.h>
Vacuum cleaner.
#define BT_APPEARANCE_APPLIANCE_WASHING_MACHINE 0x0906 |
#include <zephyr/bluetooth/gap.h>
Washing Machine.
#define BT_APPEARANCE_AUDIO_SINK_BOOKSHELF_SPEAKER 0x0843 |
#include <zephyr/bluetooth/gap.h>
Bookshelf Speaker.
#define BT_APPEARANCE_AUDIO_SINK_SOUNDBAR 0x0842 |
#include <zephyr/bluetooth/gap.h>
Soundbar.
#define BT_APPEARANCE_AUDIO_SINK_SPEAKERPHONE 0x0845 |
#include <zephyr/bluetooth/gap.h>
Speakerphone.
#define BT_APPEARANCE_AUDIO_SINK_STANDALONE_SPEAKER 0x0841 |
#include <zephyr/bluetooth/gap.h>
Standalone Speaker.
#define BT_APPEARANCE_AUDIO_SINK_STANDMOUNTED_SPEAKER 0x0844 |
#include <zephyr/bluetooth/gap.h>
Standmounted Speaker.
#define BT_APPEARANCE_AUDIO_SOURCE_ALARM 0x0882 |
#include <zephyr/bluetooth/gap.h>
Alarm.
#define BT_APPEARANCE_AUDIO_SOURCE_AUDITORIUM 0x0889 |
#include <zephyr/bluetooth/gap.h>
Auditorium.
#define BT_APPEARANCE_AUDIO_SOURCE_BELL 0x0883 |
#include <zephyr/bluetooth/gap.h>
Bell.
#define BT_APPEARANCE_AUDIO_SOURCE_BROADCASTING_DEVICE 0x0885 |
#include <zephyr/bluetooth/gap.h>
Broadcasting Device.
#define BT_APPEARANCE_AUDIO_SOURCE_BROADCASTING_ROOM 0x0888 |
#include <zephyr/bluetooth/gap.h>
Broadcasting Room.
#define BT_APPEARANCE_AUDIO_SOURCE_HORN 0x0884 |
#include <zephyr/bluetooth/gap.h>
Horn.
#define BT_APPEARANCE_AUDIO_SOURCE_KIOSK 0x0887 |
#include <zephyr/bluetooth/gap.h>
Kiosk.
#define BT_APPEARANCE_AUDIO_SOURCE_MICROPHONE 0x0881 |
#include <zephyr/bluetooth/gap.h>
Microphone.
#define BT_APPEARANCE_AUDIO_SOURCE_SERVICE_DESK 0x0886 |
#include <zephyr/bluetooth/gap.h>
Service Desk.
#define BT_APPEARANCE_AV_EQUIPMENT_AMPLIFIER 0x09C1 |
#include <zephyr/bluetooth/gap.h>
Amplifier.
#define BT_APPEARANCE_AV_EQUIPMENT_BLURAY_PLAYER 0x09C8 |
#include <zephyr/bluetooth/gap.h>
Bluray Player.
#define BT_APPEARANCE_AV_EQUIPMENT_CD_PLAYER 0x09C6 |
#include <zephyr/bluetooth/gap.h>
CD Player.
#define BT_APPEARANCE_AV_EQUIPMENT_DVD_PLAYER 0x09C7 |
#include <zephyr/bluetooth/gap.h>
DVD Player.
#define BT_APPEARANCE_AV_EQUIPMENT_OPTICAL_DISC_PLAYER 0x09C9 |
#include <zephyr/bluetooth/gap.h>
Optical Disc Player.
#define BT_APPEARANCE_AV_EQUIPMENT_RADIO 0x09C3 |
#include <zephyr/bluetooth/gap.h>
Radio.
#define BT_APPEARANCE_AV_EQUIPMENT_RECEIVER 0x09C2 |
#include <zephyr/bluetooth/gap.h>
Receiver.
#define BT_APPEARANCE_AV_EQUIPMENT_SET_TOP_BOX 0x09CA |
#include <zephyr/bluetooth/gap.h>
Set-Top Box.
#define BT_APPEARANCE_AV_EQUIPMENT_TUNER 0x09C4 |
#include <zephyr/bluetooth/gap.h>
Tuner.
#define BT_APPEARANCE_AV_EQUIPMENT_TURNTABLE 0x09C5 |
#include <zephyr/bluetooth/gap.h>
Turntable.
#define BT_APPEARANCE_BLOOD_PRESSURE_ARM 0x0381 |
#include <zephyr/bluetooth/gap.h>
Arm Blood Pressure.
#define BT_APPEARANCE_BLOOD_PRESSURE_WRIST 0x0382 |
#include <zephyr/bluetooth/gap.h>
Wrist Blood Pressure.
#define BT_APPEARANCE_COMPUTER_ALL_IN_ONE 0x0089 |
#include <zephyr/bluetooth/gap.h>
All in One.
#define BT_APPEARANCE_COMPUTER_BLADE_SERVER 0x008A |
#include <zephyr/bluetooth/gap.h>
Blade Server.
#define BT_APPEARANCE_COMPUTER_CONVERTIBLE 0x008B |
#include <zephyr/bluetooth/gap.h>
Convertible.
#define BT_APPEARANCE_COMPUTER_DESKTOP_WORKSTATION 0x0081 |
#include <zephyr/bluetooth/gap.h>
Desktop Workstation.
#define BT_APPEARANCE_COMPUTER_DETACHABLE 0x008C |
#include <zephyr/bluetooth/gap.h>
Detachable.
#define BT_APPEARANCE_COMPUTER_DOCKING_STATION 0x0088 |
#include <zephyr/bluetooth/gap.h>
Docking Station.
#define BT_APPEARANCE_COMPUTER_HANDHELD_PCPDA 0x0084 |
#include <zephyr/bluetooth/gap.h>
Handheld PC/PDA (clamshell)
#define BT_APPEARANCE_COMPUTER_IOT_GATEWAY 0x008D |
#include <zephyr/bluetooth/gap.h>
IoT Gateway.
#define BT_APPEARANCE_COMPUTER_LAPTOP 0x0083 |
#include <zephyr/bluetooth/gap.h>
Laptop.
#define BT_APPEARANCE_COMPUTER_MINI_PC 0x008E |
#include <zephyr/bluetooth/gap.h>
Mini PC.
#define BT_APPEARANCE_COMPUTER_PALMSIZE_PCPDA 0x0085 |
#include <zephyr/bluetooth/gap.h>
PalmĀsize PC/PDA.
#define BT_APPEARANCE_COMPUTER_SERVER_CLASS 0x0082 |
#include <zephyr/bluetooth/gap.h>
Server-class Computer.
#define BT_APPEARANCE_COMPUTER_STICK_PC 0x008F |
#include <zephyr/bluetooth/gap.h>
Stick PC.
#define BT_APPEARANCE_COMPUTER_TABLET 0x0087 |
#include <zephyr/bluetooth/gap.h>
Tablet.
#define BT_APPEARANCE_COMPUTER_WEARABLE_COMPUTER 0x0086 |
#include <zephyr/bluetooth/gap.h>
Wearable computer (watch size)
#define BT_APPEARANCE_CONTINUOUS_GLUCOSE_MONITOR 0x0D00 |
#include <zephyr/bluetooth/gap.h>
Continuous Glucose Monitor.
#define BT_APPEARANCE_CONTROL_ACCESS_DOOR 0x0701 |
#include <zephyr/bluetooth/gap.h>
Access Door.
#define BT_APPEARANCE_CONTROL_ACCESS_LOCK 0x0704 |
#include <zephyr/bluetooth/gap.h>
Access Lock.
#define BT_APPEARANCE_CONTROL_BATTERY_SWITCH 0x04CA |
#include <zephyr/bluetooth/gap.h>
Battery Switch.
#define BT_APPEARANCE_CONTROL_BUTTON 0x04C3 |
#include <zephyr/bluetooth/gap.h>
Button.
#define BT_APPEARANCE_CONTROL_DOOR_LOCK 0x0708 |
#include <zephyr/bluetooth/gap.h>
Door Lock.
#define BT_APPEARANCE_CONTROL_DOUBLE_SWITCH 0x04C8 |
#include <zephyr/bluetooth/gap.h>
Double Switch.
#define BT_APPEARANCE_CONTROL_ELEVATOR 0x0705 |
#include <zephyr/bluetooth/gap.h>
Elevator.
#define BT_APPEARANCE_CONTROL_EMERGENCY_EXIT_DOOR 0x0703 |
#include <zephyr/bluetooth/gap.h>
Emergency Exit Door.
#define BT_APPEARANCE_CONTROL_ENERGY_HARVESTING_SWITCH 0x04CB |
#include <zephyr/bluetooth/gap.h>
Energy Harvesting Switch.
#define BT_APPEARANCE_CONTROL_ENTRANCE_GATE 0x0707 |
#include <zephyr/bluetooth/gap.h>
Entrance Gate.
#define BT_APPEARANCE_CONTROL_GARAGE_DOOR 0x0702 |
#include <zephyr/bluetooth/gap.h>
Garage Door.
#define BT_APPEARANCE_CONTROL_LOCKER 0x0709 |
#include <zephyr/bluetooth/gap.h>
Locker.
#define BT_APPEARANCE_CONTROL_MULTI_SWITCH 0x04C2 |
#include <zephyr/bluetooth/gap.h>
Multi-switch.
#define BT_APPEARANCE_CONTROL_PUSH_BUTTON 0x04CC |
#include <zephyr/bluetooth/gap.h>
Push Button.
#define BT_APPEARANCE_CONTROL_ROTARY_SWITCH 0x04C5 |
#include <zephyr/bluetooth/gap.h>
Rotary Switch.
#define BT_APPEARANCE_CONTROL_SINGLE_SWITCH 0x04C7 |
#include <zephyr/bluetooth/gap.h>
Single Switch.
#define BT_APPEARANCE_CONTROL_SLIDER 0x04C4 |
#include <zephyr/bluetooth/gap.h>
Slider.
#define BT_APPEARANCE_CONTROL_SWITCH 0x04C1 |
#include <zephyr/bluetooth/gap.h>
Switch.
#define BT_APPEARANCE_CONTROL_TOUCH_PANEL 0x04C6 |
#include <zephyr/bluetooth/gap.h>
Touch Panel.
#define BT_APPEARANCE_CONTROL_TRIPLE_SWITCH 0x04C9 |
#include <zephyr/bluetooth/gap.h>
Triple Switch.
#define BT_APPEARANCE_CONTROL_WINDOW 0x0706 |
#include <zephyr/bluetooth/gap.h>
Window.
#define BT_APPEARANCE_CYCLING_CADENCE 0x0483 |
#include <zephyr/bluetooth/gap.h>
Cadence Sensor.
#define BT_APPEARANCE_CYCLING_COMPUTER 0x0481 |
#include <zephyr/bluetooth/gap.h>
Cycling Computer.
#define BT_APPEARANCE_CYCLING_POWER 0x0484 |
#include <zephyr/bluetooth/gap.h>
Power Sensor.
#define BT_APPEARANCE_CYCLING_SPEED 0x0482 |
#include <zephyr/bluetooth/gap.h>
Speed Sensor.
#define BT_APPEARANCE_CYCLING_SPEED_CADENCE 0x0485 |
#include <zephyr/bluetooth/gap.h>
Speed and Cadence Sensor.
#define BT_APPEARANCE_DISPLAY_EQUIPMENT_MONITOR 0x0A02 |
#include <zephyr/bluetooth/gap.h>
Monitor.
#define BT_APPEARANCE_DISPLAY_EQUIPMENT_PROJECTOR 0x0A03 |
#include <zephyr/bluetooth/gap.h>
Projector.
#define BT_APPEARANCE_DISPLAY_EQUIPMENT_TELEVISION 0x0A01 |
#include <zephyr/bluetooth/gap.h>
Television.
#define BT_APPEARANCE_FAN_AXIAL 0x05C2 |
#include <zephyr/bluetooth/gap.h>
Axial Fan.
#define BT_APPEARANCE_FAN_CEILING 0x05C1 |
#include <zephyr/bluetooth/gap.h>
Ceiling Fan.
#define BT_APPEARANCE_FAN_DESK 0x05C5 |
#include <zephyr/bluetooth/gap.h>
Desk Fan.
#define BT_APPEARANCE_FAN_EXHAUST 0x05C3 |
#include <zephyr/bluetooth/gap.h>
Exhaust Fan.
#define BT_APPEARANCE_FAN_PEDESTAL 0x05C4 |
#include <zephyr/bluetooth/gap.h>
Pedestal Fan.
#define BT_APPEARANCE_FAN_WALL 0x05C6 |
#include <zephyr/bluetooth/gap.h>
Wall Fan.
#define BT_APPEARANCE_GENERIC_ACCESS_CONTROL 0x0700 |
#include <zephyr/bluetooth/gap.h>
Generic Access Control.
#define BT_APPEARANCE_GENERIC_AIR_CONDITIONING 0x0640 |
#include <zephyr/bluetooth/gap.h>
Generic Air Conditioning.
#define BT_APPEARANCE_GENERIC_AIRCRAFT 0x0980 |
#include <zephyr/bluetooth/gap.h>
Generic Aircraft.
#define BT_APPEARANCE_GENERIC_AUDIO_SINK 0x0840 |
#include <zephyr/bluetooth/gap.h>
Generic Audio Sink.
#define BT_APPEARANCE_GENERIC_AUDIO_SOURCE 0x0880 |
#include <zephyr/bluetooth/gap.h>
Generic Audio Source.
#define BT_APPEARANCE_GENERIC_AV_EQUIPMENT 0x09C0 |
#include <zephyr/bluetooth/gap.h>
Generic AV Equipment.
#define BT_APPEARANCE_GENERIC_BARCODE_SCANNER 0x02C0 |
#include <zephyr/bluetooth/gap.h>
Generic Barcode Scanner.
#define BT_APPEARANCE_GENERIC_BLOOD_PRESSURE 0x0380 |
#include <zephyr/bluetooth/gap.h>
Generic Blood Pressure.
#define BT_APPEARANCE_GENERIC_CLOCK 0x0100 |
#include <zephyr/bluetooth/gap.h>
Generic Clock.
#define BT_APPEARANCE_GENERIC_COMPUTER 0x0080 |
#include <zephyr/bluetooth/gap.h>
Generic Computer.
#define BT_APPEARANCE_GENERIC_CONTROL_DEVICE 0x04C0 |
#include <zephyr/bluetooth/gap.h>
Generic Control Device.
#define BT_APPEARANCE_GENERIC_CYCLING 0x0480 |
#include <zephyr/bluetooth/gap.h>
Generic Cycling.
#define BT_APPEARANCE_GENERIC_DISPLAY 0x0140 |
#include <zephyr/bluetooth/gap.h>
Generic Display.
#define BT_APPEARANCE_GENERIC_DISPLAY_EQUIPMENT 0x0A00 |
#include <zephyr/bluetooth/gap.h>
Generic Display Equipment.
#define BT_APPEARANCE_GENERIC_DOMESTIC_APPLIANCE 0x0900 |
#include <zephyr/bluetooth/gap.h>
Generic Domestic Appliance.
#define BT_APPEARANCE_GENERIC_EYEGLASSES 0x01C0 |
#include <zephyr/bluetooth/gap.h>
Generic Eye-glasses.
#define BT_APPEARANCE_GENERIC_FAN 0x05C0 |
#include <zephyr/bluetooth/gap.h>
Generic Fan.
#define BT_APPEARANCE_GENERIC_GAMING 0x0A80 |
#include <zephyr/bluetooth/gap.h>
Generic Gaming.
#define BT_APPEARANCE_GENERIC_GLUCOSE 0x0400 |
#include <zephyr/bluetooth/gap.h>
Generic Glucose Meter.
#define BT_APPEARANCE_GENERIC_HEARING_AID 0x0A40 |
#include <zephyr/bluetooth/gap.h>
Generic Hearing aid.
#define BT_APPEARANCE_GENERIC_HEART_RATE 0x0340 |
#include <zephyr/bluetooth/gap.h>
Generic Heart Rate Sensor.
#define BT_APPEARANCE_GENERIC_HEATING 0x06C0 |
#include <zephyr/bluetooth/gap.h>
Generic Heating.
#define BT_APPEARANCE_GENERIC_HID 0x03C0 |
#include <zephyr/bluetooth/gap.h>
Generic Human Interface Device.
#define BT_APPEARANCE_GENERIC_HUMIDIFIER 0x0680 |
#include <zephyr/bluetooth/gap.h>
Generic Humidifier.
#define BT_APPEARANCE_GENERIC_HVAC 0x0600 |
#include <zephyr/bluetooth/gap.h>
Generic HVAC.
#define BT_APPEARANCE_GENERIC_INSULIN_PUMP 0x0D40 |
#include <zephyr/bluetooth/gap.h>
Generic Insulin Pump.
#define BT_APPEARANCE_GENERIC_KEYRING 0x0240 |
#include <zephyr/bluetooth/gap.h>
Generic Keyring.
#define BT_APPEARANCE_GENERIC_LIGHT_FIXTURES 0x0580 |
#include <zephyr/bluetooth/gap.h>
Generic Light Fixtures.
#define BT_APPEARANCE_GENERIC_LIGHT_SOURCE 0x07C0 |
#include <zephyr/bluetooth/gap.h>
Generic Light Source.
#define BT_APPEARANCE_GENERIC_MEDIA_PLAYER 0x0280 |
#include <zephyr/bluetooth/gap.h>
Generic Media Player.
#define BT_APPEARANCE_GENERIC_MEDICATION_DELIVERY 0x0D80 |
#include <zephyr/bluetooth/gap.h>
Generic Medication Delivery.
#define BT_APPEARANCE_GENERIC_MOTORIZED_DEVICE 0x0740 |
#include <zephyr/bluetooth/gap.h>
Generic Motorized Device.
#define BT_APPEARANCE_GENERIC_MOTORIZED_VEHICLE 0x08C0 |
#include <zephyr/bluetooth/gap.h>
Generic Motorized Vehicle.
#define BT_APPEARANCE_GENERIC_NETWORK_DEVICE 0x0500 |
#include <zephyr/bluetooth/gap.h>
Generic Network Device.
#define BT_APPEARANCE_GENERIC_OUTDOOR_SPORTS 0x1440 |
#include <zephyr/bluetooth/gap.h>
Generic Outdoor Sports Activity.
#define BT_APPEARANCE_GENERIC_PERSONAL_MOBILITY_DEVICE 0x0CC0 |
#include <zephyr/bluetooth/gap.h>
Generic Personal Mobility Device.
#define BT_APPEARANCE_GENERIC_PHONE 0x0040 |
#include <zephyr/bluetooth/gap.h>
Generic Phone.
#define BT_APPEARANCE_GENERIC_POWER_DEVICE 0x0780 |
#include <zephyr/bluetooth/gap.h>
Generic Power Device.
#define BT_APPEARANCE_GENERIC_PULSE_OXIMETER 0x0C40 |
#include <zephyr/bluetooth/gap.h>
Generic Pulse Oximeter.
#define BT_APPEARANCE_GENERIC_REMOTE 0x0180 |
#include <zephyr/bluetooth/gap.h>
Generic Remote Control.
#define BT_APPEARANCE_GENERIC_SENSOR 0x0540 |
#include <zephyr/bluetooth/gap.h>
Generic Sensor.
#define BT_APPEARANCE_GENERIC_SIGNAGE 0x0AC0 |
#include <zephyr/bluetooth/gap.h>
Generic Signage.
#define BT_APPEARANCE_GENERIC_SPIROMETER 0x0DC0 |
#include <zephyr/bluetooth/gap.h>
Generic Spirometer.
#define BT_APPEARANCE_GENERIC_TAG 0x0200 |
#include <zephyr/bluetooth/gap.h>
Generic Tag.
#define BT_APPEARANCE_GENERIC_THERMOMETER 0x0300 |
#include <zephyr/bluetooth/gap.h>
Generic Thermometer.
#define BT_APPEARANCE_GENERIC_WALKING 0x0440 |
#include <zephyr/bluetooth/gap.h>
Generic Running Walking Sensor.
#define BT_APPEARANCE_GENERIC_WATCH 0x00C0 |
#include <zephyr/bluetooth/gap.h>
Generic Watch.
#define BT_APPEARANCE_GENERIC_WEARABLE_AUDIO_DEVICE 0x0940 |
#include <zephyr/bluetooth/gap.h>
Generic Wearable Audio Device.
#define BT_APPEARANCE_GENERIC_WEIGHT_SCALE 0x0C80 |
#include <zephyr/bluetooth/gap.h>
Generic Weight Scale.
#define BT_APPEARANCE_GENERIC_WINDOW_COVERING 0x0800 |
#include <zephyr/bluetooth/gap.h>
Generic Window Covering.
#define BT_APPEARANCE_HEARING_AID_BEHIND_EAR 0x0A42 |
#include <zephyr/bluetooth/gap.h>
Behind-ear hearing aid.
#define BT_APPEARANCE_HEARING_AID_COCHLEAR_IMPLANT 0x0A43 |
#include <zephyr/bluetooth/gap.h>
Cochlear Implant.
#define BT_APPEARANCE_HEARING_AID_IN_EAR 0x0A41 |
#include <zephyr/bluetooth/gap.h>
In-ear hearing aid.
#define BT_APPEARANCE_HEART_RATE_BELT 0x0341 |
#include <zephyr/bluetooth/gap.h>
Heart Rate Belt.
#define BT_APPEARANCE_HEATING_AIR_CURTAIN 0x06C7 |
#include <zephyr/bluetooth/gap.h>
Air Curtain.
#define BT_APPEARANCE_HEATING_BOILER 0x06C2 |
#include <zephyr/bluetooth/gap.h>
Boiler.
#define BT_APPEARANCE_HEATING_FAN_HEATER 0x06C6 |
#include <zephyr/bluetooth/gap.h>
Fan Heater.
#define BT_APPEARANCE_HEATING_HEAT_PUMP 0x06C3 |
#include <zephyr/bluetooth/gap.h>
Heat Pump.
#define BT_APPEARANCE_HEATING_INFRARED_HEATER 0x06C4 |
#include <zephyr/bluetooth/gap.h>
Infrared Heater.
#define BT_APPEARANCE_HEATING_RADIANT_PANEL_HEATER 0x06C5 |
#include <zephyr/bluetooth/gap.h>
Radiant Panel Heater.
#define BT_APPEARANCE_HEATING_RADIATOR 0x06C1 |
#include <zephyr/bluetooth/gap.h>
Radiator.
#define BT_APPEARANCE_HID_BARCODE_SCANNER 0x03C8 |
#include <zephyr/bluetooth/gap.h>
Barcode Scanner.
#define BT_APPEARANCE_HID_CARD_READER 0x03C6 |
#include <zephyr/bluetooth/gap.h>
Card Reader.
#define BT_APPEARANCE_HID_DIGITAL_PEN 0x03C7 |
#include <zephyr/bluetooth/gap.h>
Digital Pen.
#define BT_APPEARANCE_HID_DIGITIZER_TABLET 0x03C5 |
#include <zephyr/bluetooth/gap.h>
Digitizer Tablet.
#define BT_APPEARANCE_HID_GAMEPAD 0x03C4 |
#include <zephyr/bluetooth/gap.h>
Gamepad.
#define BT_APPEARANCE_HID_JOYSTICK 0x03C3 |
#include <zephyr/bluetooth/gap.h>
Joystick.
#define BT_APPEARANCE_HID_KEYBOARD 0x03C1 |
#include <zephyr/bluetooth/gap.h>
Keyboard.
#define BT_APPEARANCE_HID_MOUSE 0x03C2 |
#include <zephyr/bluetooth/gap.h>
Mouse.
#define BT_APPEARANCE_HID_PRESENTATION_REMOTE 0x03CA |
#include <zephyr/bluetooth/gap.h>
Presentation Remote.
#define BT_APPEARANCE_HID_TOUCHPAD 0x03C9 |
#include <zephyr/bluetooth/gap.h>
Touchpad.
#define BT_APPEARANCE_HOME_VIDEO_GAME_CONSOLE 0x0A81 |
#include <zephyr/bluetooth/gap.h>
Home Video Game Console.
#define BT_APPEARANCE_HVAC_AIR_CURTAIN 0x060B |
#include <zephyr/bluetooth/gap.h>
Air Curtain.
#define BT_APPEARANCE_HVAC_BOILER 0x0606 |
#include <zephyr/bluetooth/gap.h>
Boiler.
#define BT_APPEARANCE_HVAC_DEHUMIDIFIER 0x0603 |
#include <zephyr/bluetooth/gap.h>
De-humidifier.
#define BT_APPEARANCE_HVAC_FAN_HEATER 0x060A |
#include <zephyr/bluetooth/gap.h>
Fan Heater.
#define BT_APPEARANCE_HVAC_HEAT_PUMP 0x0607 |
#include <zephyr/bluetooth/gap.h>
Heat Pump.
#define BT_APPEARANCE_HVAC_HEATER 0x0604 |
#include <zephyr/bluetooth/gap.h>
Heater.
#define BT_APPEARANCE_HVAC_HUMIDIFIER 0x0602 |
#include <zephyr/bluetooth/gap.h>
Humidifier.
#define BT_APPEARANCE_HVAC_INFRARED_HEATER 0x0608 |
#include <zephyr/bluetooth/gap.h>
Infrared Heater.
#define BT_APPEARANCE_HVAC_RADIANT_PANEL_HEATER 0x0609 |
#include <zephyr/bluetooth/gap.h>
Radiant Panel Heater.
#define BT_APPEARANCE_HVAC_RADIATOR 0x0605 |
#include <zephyr/bluetooth/gap.h>
Radiator.
#define BT_APPEARANCE_HVAC_THERMOSTAT 0x0601 |
#include <zephyr/bluetooth/gap.h>
Thermostat.
#define BT_APPEARANCE_INSULIN_PEN 0x0D48 |
#include <zephyr/bluetooth/gap.h>
Insulin Pen.
#define BT_APPEARANCE_INSULIN_PUMP_DURABLE 0x0D41 |
#include <zephyr/bluetooth/gap.h>
Insulin Pump, durable pump.
#define BT_APPEARANCE_INSULIN_PUMP_PATCH 0x0D44 |
#include <zephyr/bluetooth/gap.h>
Insulin Pump, patch pump.
#define BT_APPEARANCE_LIGHT_FIXTURES_BAY 0x0593 |
#include <zephyr/bluetooth/gap.h>
Bay Light.
#define BT_APPEARANCE_LIGHT_FIXTURES_BOLLARD_WITH 0x058B |
#include <zephyr/bluetooth/gap.h>
Bollard with Light.
#define BT_APPEARANCE_LIGHT_FIXTURES_BULB 0x0597 |
#include <zephyr/bluetooth/gap.h>
Bulb.
#define BT_APPEARANCE_LIGHT_FIXTURES_CABINET 0x0584 |
#include <zephyr/bluetooth/gap.h>
Cabinet Light.
#define BT_APPEARANCE_LIGHT_FIXTURES_CEILING 0x0582 |
#include <zephyr/bluetooth/gap.h>
Ceiling Light.
#define BT_APPEARANCE_LIGHT_FIXTURES_CONTROLLER 0x0595 |
#include <zephyr/bluetooth/gap.h>
Light Controller.
#define BT_APPEARANCE_LIGHT_FIXTURES_DESK 0x0585 |
#include <zephyr/bluetooth/gap.h>
Desk Light.
#define BT_APPEARANCE_LIGHT_FIXTURES_DRIVER 0x0596 |
#include <zephyr/bluetooth/gap.h>
Light Driver.
#define BT_APPEARANCE_LIGHT_FIXTURES_EMERGENCY_EXIT 0x0594 |
#include <zephyr/bluetooth/gap.h>
Emergency Exit Light.
#define BT_APPEARANCE_LIGHT_FIXTURES_FLOOD 0x0589 |
#include <zephyr/bluetooth/gap.h>
Flood Light.
#define BT_APPEARANCE_LIGHT_FIXTURES_FLOOR 0x0583 |
#include <zephyr/bluetooth/gap.h>
Floor Light.
#define BT_APPEARANCE_LIGHT_FIXTURES_GARDEN 0x058D |
#include <zephyr/bluetooth/gap.h>
Garden Light.
#define BT_APPEARANCE_LIGHT_FIXTURES_HIGH_BAY 0x0599 |
#include <zephyr/bluetooth/gap.h>
High-bay Light.
#define BT_APPEARANCE_LIGHT_FIXTURES_IN_GROUND 0x0588 |
#include <zephyr/bluetooth/gap.h>
In-ground Light.
#define BT_APPEARANCE_LIGHT_FIXTURES_LINEAR 0x0590 |
#include <zephyr/bluetooth/gap.h>
Linear Light.
#define BT_APPEARANCE_LIGHT_FIXTURES_LOW_BAY 0x0598 |
#include <zephyr/bluetooth/gap.h>
Low-bay Light.
#define BT_APPEARANCE_LIGHT_FIXTURES_PATHWAY 0x058C |
#include <zephyr/bluetooth/gap.h>
Pathway Light.
#define BT_APPEARANCE_LIGHT_FIXTURES_PENDANT 0x0587 |
#include <zephyr/bluetooth/gap.h>
Pendant Light.
#define BT_APPEARANCE_LIGHT_FIXTURES_POLE_TOP 0x058E |
#include <zephyr/bluetooth/gap.h>
Pole-top Light.
#define BT_APPEARANCE_LIGHT_FIXTURES_SHELVES 0x0592 |
#include <zephyr/bluetooth/gap.h>
Shelves Light.
#define BT_APPEARANCE_LIGHT_FIXTURES_STREET 0x0591 |
#include <zephyr/bluetooth/gap.h>
Street Light.
#define BT_APPEARANCE_LIGHT_FIXTURES_TROFFER 0x0586 |
#include <zephyr/bluetooth/gap.h>
Troffer Light.
#define BT_APPEARANCE_LIGHT_FIXTURES_UNDERWATER 0x058A |
#include <zephyr/bluetooth/gap.h>
Underwater Light.
#define BT_APPEARANCE_LIGHT_FIXTURES_WALL 0x0581 |
#include <zephyr/bluetooth/gap.h>
Wall Light.
#define BT_APPEARANCE_LIGHT_SOURCE_FLUORESCENT_LAMP 0x07C4 |
#include <zephyr/bluetooth/gap.h>
Fluorescent Lamp.
#define BT_APPEARANCE_LIGHT_SOURCE_HID_LAMP 0x07C3 |
#include <zephyr/bluetooth/gap.h>
HID Lamp.
#define BT_APPEARANCE_LIGHT_SOURCE_INCANDESCENT_BULB 0x07C1 |
#include <zephyr/bluetooth/gap.h>
Incandescent Light Bulb.
#define BT_APPEARANCE_LIGHT_SOURCE_LED_ARRAY 0x07C5 |
#include <zephyr/bluetooth/gap.h>
LED Array.
#define BT_APPEARANCE_LIGHT_SOURCE_LED_LAMP 0x07C2 |
#include <zephyr/bluetooth/gap.h>
LED Lamp.
#define BT_APPEARANCE_LIGHT_SOURCE_LOW_VOLTAGE_HALOGEN 0x07C7 |
#include <zephyr/bluetooth/gap.h>
Low voltage halogen.
#define BT_APPEARANCE_LIGHT_SOURCE_MULTICOLOR_LED_ARRAY 0x07C6 |
#include <zephyr/bluetooth/gap.h>
Multi-Color LED Array.
#define BT_APPEARANCE_LIGHT_SOURCE_OLED 0x07C8 |
#include <zephyr/bluetooth/gap.h>
Organic light emitting diode.
#define BT_APPEARANCE_MOBILITY_POWERED_WHEELCHAIR 0x0CC1 |
#include <zephyr/bluetooth/gap.h>
Powered Wheelchair.
#define BT_APPEARANCE_MOBILITY_SCOOTER 0x0CC2 |
#include <zephyr/bluetooth/gap.h>
Mobility Scooter.
#define BT_APPEARANCE_MOTORIZED_AWNING 0x0742 |
#include <zephyr/bluetooth/gap.h>
Awning.
#define BT_APPEARANCE_MOTORIZED_BLINDS_OR_SHADES 0x0743 |
#include <zephyr/bluetooth/gap.h>
Blinds or Shades.
#define BT_APPEARANCE_MOTORIZED_CURTAINS 0x0744 |
#include <zephyr/bluetooth/gap.h>
Curtains.
#define BT_APPEARANCE_MOTORIZED_GATE 0x0741 |
#include <zephyr/bluetooth/gap.h>
Motorized Gate.
#define BT_APPEARANCE_MOTORIZED_SCREEN 0x0745 |
#include <zephyr/bluetooth/gap.h>
Screen.
#define BT_APPEARANCE_MULTISENSOR 0x0556 |
#include <zephyr/bluetooth/gap.h>
Multisensor.
#define BT_APPEARANCE_NETWORK_ACCESS_POINT 0x0501 |
#include <zephyr/bluetooth/gap.h>
Access Point.
#define BT_APPEARANCE_NETWORK_MESH_DEVICE 0x0502 |
#include <zephyr/bluetooth/gap.h>
Mesh Device.
#define BT_APPEARANCE_NETWORK_MESH_PROXY 0x0503 |
#include <zephyr/bluetooth/gap.h>
Mesh Network Proxy.
#define BT_APPEARANCE_OUTDOOR_SPORTS_LOCATION 0x1441 |
#include <zephyr/bluetooth/gap.h>
Location Display.
#define BT_APPEARANCE_OUTDOOR_SPORTS_LOCATION_AND_NAV 0x1442 |
#include <zephyr/bluetooth/gap.h>
Location and Navigation Display.
#define BT_APPEARANCE_OUTDOOR_SPORTS_LOCATION_POD 0x1443 |
#include <zephyr/bluetooth/gap.h>
Location Pod.
#define BT_APPEARANCE_OUTDOOR_SPORTS_LOCATION_POD_AND_NAV 0x1444 |
#include <zephyr/bluetooth/gap.h>
Location and Navigation Pod.
#define BT_APPEARANCE_PORTABLE_HANDHELD_CONSOLE 0x0A82 |
#include <zephyr/bluetooth/gap.h>
Portable handheld console.
#define BT_APPEARANCE_POWER_CHARGE_CASE 0x0788 |
#include <zephyr/bluetooth/gap.h>
Charge Case.
#define BT_APPEARANCE_POWER_FLUORESCENT_LAMP_GEAR 0x0786 |
#include <zephyr/bluetooth/gap.h>
Fluorescent Lamp Gear.
#define BT_APPEARANCE_POWER_HID_LAMP_GEAR 0x0787 |
#include <zephyr/bluetooth/gap.h>
HID Lamp Gear.
#define BT_APPEARANCE_POWER_LED_DRIVER 0x0785 |
#include <zephyr/bluetooth/gap.h>
LED Driver.
#define BT_APPEARANCE_POWER_OUTLET 0x0781 |
#include <zephyr/bluetooth/gap.h>
Power Outlet.
#define BT_APPEARANCE_POWER_PLUG 0x0783 |
#include <zephyr/bluetooth/gap.h>
Plug.
#define BT_APPEARANCE_POWER_POWER_BANK 0x0789 |
#include <zephyr/bluetooth/gap.h>
Power Bank.
#define BT_APPEARANCE_POWER_STRIP 0x0782 |
#include <zephyr/bluetooth/gap.h>
Power Strip.
#define BT_APPEARANCE_POWER_SUPPLY 0x0784 |
#include <zephyr/bluetooth/gap.h>
Power Supply.
#define BT_APPEARANCE_PULSE_OXIMETER_FINGERTIP 0x0C41 |
#include <zephyr/bluetooth/gap.h>
Fingertip Pulse Oximeter.
#define BT_APPEARANCE_PULSE_OXIMETER_WRIST 0x0C42 |
#include <zephyr/bluetooth/gap.h>
Wrist Worn Pulse Oximeter.
#define BT_APPEARANCE_SENSOR_AIR_QUALITY 0x0542 |
#include <zephyr/bluetooth/gap.h>
Air quality Sensor.
#define BT_APPEARANCE_SENSOR_AMBIENT_LIGHT 0x054B |
#include <zephyr/bluetooth/gap.h>
Ambient Light Sensor.
#define BT_APPEARANCE_SENSOR_CARBON_DIOXIDE 0x054A |
#include <zephyr/bluetooth/gap.h>
Carbon Dioxide Sensor.
#define BT_APPEARANCE_SENSOR_CARBON_MONOXIDE 0x0549 |
#include <zephyr/bluetooth/gap.h>
Carbon Monoxide Sensor.
#define BT_APPEARANCE_SENSOR_CEILING_MOUNTED 0x0554 |
#include <zephyr/bluetooth/gap.h>
Ceiling Mounted Sensor.
#define BT_APPEARANCE_SENSOR_COLOR_LIGHT 0x054D |
#include <zephyr/bluetooth/gap.h>
Color Light Sensor.
#define BT_APPEARANCE_SENSOR_CONTACT 0x0548 |
#include <zephyr/bluetooth/gap.h>
Contact Sensor.
#define BT_APPEARANCE_SENSOR_ENERGY 0x054C |
#include <zephyr/bluetooth/gap.h>
Energy Sensor.
#define BT_APPEARANCE_SENSOR_ENERGY_METER 0x0557 |
#include <zephyr/bluetooth/gap.h>
Energy Meter.
#define BT_APPEARANCE_SENSOR_FIRE 0x054F |
#include <zephyr/bluetooth/gap.h>
Fire Sensor.
#define BT_APPEARANCE_SENSOR_FLAME_DETECTOR 0x0558 |
#include <zephyr/bluetooth/gap.h>
Flame Detector.
#define BT_APPEARANCE_SENSOR_FLUSH_MOUNTED 0x0553 |
#include <zephyr/bluetooth/gap.h>
Flush Mounted Sensor.
#define BT_APPEARANCE_SENSOR_HUMIDITY 0x0544 |
#include <zephyr/bluetooth/gap.h>
Humidity Sensor.
#define BT_APPEARANCE_SENSOR_LEAK 0x0545 |
#include <zephyr/bluetooth/gap.h>
Leak Sensor.
#define BT_APPEARANCE_SENSOR_MOTION 0x0541 |
#include <zephyr/bluetooth/gap.h>
Motion Sensor.
#define BT_APPEARANCE_SENSOR_MULTI 0x0552 |
#include <zephyr/bluetooth/gap.h>
Multi-Sensor.
#define BT_APPEARANCE_SENSOR_OCCUPANCY 0x0547 |
#include <zephyr/bluetooth/gap.h>
Occupancy Sensor.
#define BT_APPEARANCE_SENSOR_PROXIMITY 0x0551 |
#include <zephyr/bluetooth/gap.h>
Proximity Sensor.
#define BT_APPEARANCE_SENSOR_RAIN 0x054E |
#include <zephyr/bluetooth/gap.h>
Rain Sensor.
#define BT_APPEARANCE_SENSOR_SMOKE 0x0546 |
#include <zephyr/bluetooth/gap.h>
Smoke Sensor.
#define BT_APPEARANCE_SENSOR_TEMPERATURE 0x0543 |
#include <zephyr/bluetooth/gap.h>
Temperature Sensor.
#define BT_APPEARANCE_SENSOR_VEHICLE_TIRE_PRESSURE 0x0559 |
#include <zephyr/bluetooth/gap.h>
Vehicle Tire Pressure Sensor.
#define BT_APPEARANCE_SENSOR_WALL_MOUNTED 0x0555 |
#include <zephyr/bluetooth/gap.h>
Wall Mounted Sensor.
#define BT_APPEARANCE_SENSOR_WIND 0x0550 |
#include <zephyr/bluetooth/gap.h>
Wind Sensor.
#define BT_APPEARANCE_SIGNAGE_DIGITAL 0x0AC1 |
#include <zephyr/bluetooth/gap.h>
Digital Signage.
#define BT_APPEARANCE_SIGNAGE_ELECTRONIC_LABEL 0x0AC2 |
#include <zephyr/bluetooth/gap.h>
Electronic Label.
#define BT_APPEARANCE_SMARTWATCH 0x00C2 |
#include <zephyr/bluetooth/gap.h>
Smartwatch.
#define BT_APPEARANCE_SPIROMETER_HANDHELD 0x0DC1 |
#include <zephyr/bluetooth/gap.h>
Handheld Spirometer.
#define BT_APPEARANCE_SPORTS_WATCH 0x00C1 |
#include <zephyr/bluetooth/gap.h>
Sports Watch.
#define BT_APPEARANCE_SPOT_LIGHT 0x058F |
#include <zephyr/bluetooth/gap.h>
Spotlight.
#define BT_APPEARANCE_THERMOMETER_EAR 0x0301 |
#include <zephyr/bluetooth/gap.h>
Ear Thermometer.
#define BT_APPEARANCE_UNKNOWN 0x0000 |
#include <zephyr/bluetooth/gap.h>
Generic Unknown.
#define BT_APPEARANCE_VEHICLE_AGRICULTURAL 0x08CD |
#include <zephyr/bluetooth/gap.h>
Agricultural Vehicle.
#define BT_APPEARANCE_VEHICLE_BUS 0x08CB |
#include <zephyr/bluetooth/gap.h>
Bus.
#define BT_APPEARANCE_VEHICLE_CAMPER_OR_CARAVAN 0x08CE |
#include <zephyr/bluetooth/gap.h>
Camper/Caravan.
#define BT_APPEARANCE_VEHICLE_CAR 0x08C1 |
#include <zephyr/bluetooth/gap.h>
Car.
#define BT_APPEARANCE_VEHICLE_LARGE_GOODS 0x08C2 |
#include <zephyr/bluetooth/gap.h>
Large Goods Vehicle.
#define BT_APPEARANCE_VEHICLE_LIGHT 0x08C8 |
#include <zephyr/bluetooth/gap.h>
Light Vehicle.
#define BT_APPEARANCE_VEHICLE_MINIBUS 0x08CA |
#include <zephyr/bluetooth/gap.h>
Minibus.
#define BT_APPEARANCE_VEHICLE_MOPED 0x08C6 |
#include <zephyr/bluetooth/gap.h>
Moped.
#define BT_APPEARANCE_VEHICLE_MOTORBIKE 0x08C4 |
#include <zephyr/bluetooth/gap.h>
Motorbike.
#define BT_APPEARANCE_VEHICLE_QUAD_BIKE 0x08C9 |
#include <zephyr/bluetooth/gap.h>
Quad Bike.
#define BT_APPEARANCE_VEHICLE_RECREATIONAL 0x08CF |
#include <zephyr/bluetooth/gap.h>
Recreational Vehicle/Motor Home.
#define BT_APPEARANCE_VEHICLE_SCOOTER 0x08C5 |
#include <zephyr/bluetooth/gap.h>
Scooter.
#define BT_APPEARANCE_VEHICLE_THREE_WHEELED 0x08C7 |
#include <zephyr/bluetooth/gap.h>
3-Wheeled Vehicle
#define BT_APPEARANCE_VEHICLE_TROLLEY 0x08CC |
#include <zephyr/bluetooth/gap.h>
Trolley.
#define BT_APPEARANCE_VEHICLE_TWO_WHEELED 0x08C3 |
#include <zephyr/bluetooth/gap.h>
2-Wheeled Vehicle
#define BT_APPEARANCE_WALKING_IN_SHOE 0x0441 |
#include <zephyr/bluetooth/gap.h>
In-Shoe Running Walking Sensor.
#define BT_APPEARANCE_WALKING_ON_HIP 0x0443 |
#include <zephyr/bluetooth/gap.h>
On-Hip Running Walking Sensor.
#define BT_APPEARANCE_WALKING_ON_SHOE 0x0442 |
#include <zephyr/bluetooth/gap.h>
On-Shoe Running Walking Sensor.
#define BT_APPEARANCE_WEARABLE_AUDIO_DEVICE_EARBUD 0x0941 |
#include <zephyr/bluetooth/gap.h>
Earbud.
#define BT_APPEARANCE_WEARABLE_AUDIO_DEVICE_HEADPHONES 0x0943 |
#include <zephyr/bluetooth/gap.h>
Headphones.
#define BT_APPEARANCE_WEARABLE_AUDIO_DEVICE_HEADSET 0x0942 |
#include <zephyr/bluetooth/gap.h>
Headset.
#define BT_APPEARANCE_WEARABLE_AUDIO_DEVICE_NECK_BAND 0x0944 |
#include <zephyr/bluetooth/gap.h>
Neck Band.
#define BT_APPEARANCE_WINDOW_AWNING 0x0803 |
#include <zephyr/bluetooth/gap.h>
Window Awning.
#define BT_APPEARANCE_WINDOW_BLINDS 0x0802 |
#include <zephyr/bluetooth/gap.h>
Window Blinds.
#define BT_APPEARANCE_WINDOW_CURTAIN 0x0804 |
#include <zephyr/bluetooth/gap.h>
Window Curtain.
#define BT_APPEARANCE_WINDOW_EXTERIOR_SCREEN 0x0806 |
#include <zephyr/bluetooth/gap.h>
Exterior Screen.
#define BT_APPEARANCE_WINDOW_EXTERIOR_SHUTTER 0x0805 |
#include <zephyr/bluetooth/gap.h>
Exterior Shutter.
#define BT_APPEARANCE_WINDOW_SHADES 0x0801 |
#include <zephyr/bluetooth/gap.h>
Window Shades.
#define BT_COMP_ID_LF 0x05f1 |
#include <zephyr/bluetooth/gap.h>
The Linux Foundation.
#define BT_DATA_3D_INFO 0x3D |
#include <zephyr/bluetooth/gap.h>
3D Information Data
#define BT_DATA_ADV_INT 0x1a |
#include <zephyr/bluetooth/gap.h>
Advertising Interval.
#define BT_DATA_ADV_INT_LONG 0x2f |
#include <zephyr/bluetooth/gap.h>
Advertising Interval long.
#define BT_DATA_BIG_INFO 0x2c |
#include <zephyr/bluetooth/gap.h>
BIGInfo.
#define BT_DATA_BROADCAST_CODE 0x2d |
#include <zephyr/bluetooth/gap.h>
Broadcast Code.
#define BT_DATA_BROADCAST_NAME 0x30 |
#include <zephyr/bluetooth/gap.h>
Broadcast Name.
#define BT_DATA_CHANNEL_MAP_UPDATE_IND 0x28 |
#include <zephyr/bluetooth/gap.h>
Channel Map Update Indication.
#define BT_DATA_CSIS_RSI 0x2e |
#include <zephyr/bluetooth/gap.h>
CSIS Random Set ID type.
#define BT_DATA_DEVICE_CLASS 0x0d |
#include <zephyr/bluetooth/gap.h>
Class of Device.
#define BT_DATA_DEVICE_ID 0x10 |
#include <zephyr/bluetooth/gap.h>
Device ID (Profile)
#define BT_DATA_ENCRYPTED_AD_DATA 0x31 |
#include <zephyr/bluetooth/gap.h>
Encrypted Advertising Data.
#define BT_DATA_ESL 0x34 |
#include <zephyr/bluetooth/gap.h>
Electronic Shelf Label Profile.
#define BT_DATA_FLAGS 0x01 |
#include <zephyr/bluetooth/gap.h>
AD flags.
#define BT_DATA_GAP_APPEARANCE 0x19 |
#include <zephyr/bluetooth/gap.h>
GAP appearance.
#define BT_DATA_INDOOR_POS 0x25 |
#include <zephyr/bluetooth/gap.h>
Indoor Positioning.
#define BT_DATA_LE_BT_DEVICE_ADDRESS 0x1b |
#include <zephyr/bluetooth/gap.h>
LE Bluetooth Device Address.
#define BT_DATA_LE_ROLE 0x1c |
#include <zephyr/bluetooth/gap.h>
LE Role.
#define BT_DATA_LE_SC_CONFIRM_VALUE 0x22 |
#include <zephyr/bluetooth/gap.h>
LE SC Confirmation Value.
#define BT_DATA_LE_SC_RANDOM_VALUE 0x23 |
#include <zephyr/bluetooth/gap.h>
LE SC Random Value.
#define BT_DATA_LE_SUPPORTED_FEATURES 0x27 |
#include <zephyr/bluetooth/gap.h>
LE Supported Features.
#define BT_DATA_MANUFACTURER_DATA 0xff |
#include <zephyr/bluetooth/gap.h>
Manufacturer Specific Data.
#define BT_DATA_MESH_BEACON 0x2b |
#include <zephyr/bluetooth/gap.h>
Mesh Beacon.
#define BT_DATA_MESH_MESSAGE 0x2a |
#include <zephyr/bluetooth/gap.h>
Mesh Networking PDU.
#define BT_DATA_MESH_PROV 0x29 |
#include <zephyr/bluetooth/gap.h>
Mesh Provisioning PDU.
#define BT_DATA_NAME_COMPLETE 0x09 |
#include <zephyr/bluetooth/gap.h>
Complete name.
#define BT_DATA_NAME_SHORTENED 0x08 |
#include <zephyr/bluetooth/gap.h>
Shortened name.
#define BT_DATA_PAWR_TIMING_INFO 0x32 |
#include <zephyr/bluetooth/gap.h>
Periodic Advertising Response Timing Info.
#define BT_DATA_PERIPHERAL_INT_RANGE 0x12 |
#include <zephyr/bluetooth/gap.h>
Peripheral Connection Interval Range.
#define BT_DATA_PUB_TARGET_ADDR 0x17 |
#include <zephyr/bluetooth/gap.h>
Public Target Address.
#define BT_DATA_RAND_TARGET_ADDR 0x18 |
#include <zephyr/bluetooth/gap.h>
Random Target Address.
#define BT_DATA_SIMPLE_PAIRING_HASH 0x1d |
#include <zephyr/bluetooth/gap.h>
Simple Pairing Hash C256.
#define BT_DATA_SIMPLE_PAIRING_HASH_C192 0x0e |
#include <zephyr/bluetooth/gap.h>
Simple Pairing Hash C-192.
#define BT_DATA_SIMPLE_PAIRING_RAND 0x1e |
#include <zephyr/bluetooth/gap.h>
Simple Pairing Randomizer R256.
#define BT_DATA_SIMPLE_PAIRING_RAND_C192 0x0f |
#include <zephyr/bluetooth/gap.h>
Simple Pairing Randomizer R-192.
#define BT_DATA_SM_OOB_FLAGS 0x11 |
#include <zephyr/bluetooth/gap.h>
Security Manager OOB Flags.
#define BT_DATA_SM_TK_VALUE 0x10 |
#include <zephyr/bluetooth/gap.h>
Security Manager TK Value.
#define BT_DATA_SOLICIT128 0x15 |
#include <zephyr/bluetooth/gap.h>
Solicit UUIDs, 128-bit.
#define BT_DATA_SOLICIT16 0x14 |
#include <zephyr/bluetooth/gap.h>
Solicit UUIDs, 16-bit.
#define BT_DATA_SOLICIT32 0x1f |
#include <zephyr/bluetooth/gap.h>
Solicit UUIDs, 32-bit.
#define BT_DATA_SVC_DATA128 0x21 |
#include <zephyr/bluetooth/gap.h>
Service data, 128-bit UUID.
#define BT_DATA_SVC_DATA16 0x16 |
#include <zephyr/bluetooth/gap.h>
Service data, 16-bit UUID.
#define BT_DATA_SVC_DATA32 0x20 |
#include <zephyr/bluetooth/gap.h>
Service data, 32-bit UUID.
#define BT_DATA_TRANS_DISCOVER_DATA 0x26 |
#include <zephyr/bluetooth/gap.h>
Transport Discovery Data.
#define BT_DATA_TX_POWER 0x0a |
#include <zephyr/bluetooth/gap.h>
Tx Power.
#define BT_DATA_URI 0x24 |
#include <zephyr/bluetooth/gap.h>
URI.
#define BT_DATA_UUID128_ALL 0x07 |
#include <zephyr/bluetooth/gap.h>
128-bit UUID, all listed
#define BT_DATA_UUID128_SOME 0x06 |
#include <zephyr/bluetooth/gap.h>
128-bit UUID, more available
#define BT_DATA_UUID16_ALL 0x03 |
#include <zephyr/bluetooth/gap.h>
16-bit UUID, all listed
#define BT_DATA_UUID16_SOME 0x02 |
#include <zephyr/bluetooth/gap.h>
16-bit UUID, more available
#define BT_DATA_UUID32_ALL 0x05 |
#include <zephyr/bluetooth/gap.h>
32-bit UUID, all listed
#define BT_DATA_UUID32_SOME 0x04 |
#include <zephyr/bluetooth/gap.h>
32-bit UUID, more available
#define BT_GAP_ADV_FAST_INT_MAX_1 0x0060 /* 60 ms */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_ADV_FAST_INT_MAX_2 0x00f0 /* 150 ms */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_ADV_FAST_INT_MIN_1 0x0030 /* 30 ms */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_ADV_FAST_INT_MIN_2 0x00a0 /* 100 ms */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_ADV_HIGH_DUTY_CYCLE_MAX_TIMEOUT 128 |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_ADV_MAX_ADV_DATA_LEN 31 |
#include <zephyr/bluetooth/gap.h>
Maximum advertising data length.
#define BT_GAP_ADV_MAX_EXT_ADV_DATA_LEN 1650 |
#include <zephyr/bluetooth/gap.h>
Maximum extended advertising data length.
#define BT_GAP_ADV_SLOW_INT_MAX 0x0780 /* 1.2 s */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_ADV_SLOW_INT_MIN 0x0640 /* 1 s */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_DATA_LEN_DEFAULT 0x001b /* 27 bytes */ |
#include <zephyr/bluetooth/gap.h>
Default data length.
#define BT_GAP_DATA_LEN_MAX 0x00fb /* 251 bytes */ |
#include <zephyr/bluetooth/gap.h>
Maximum data length.
#define BT_GAP_DATA_TIME_DEFAULT 0x0148 /* 328 us */ |
#include <zephyr/bluetooth/gap.h>
Default data time.
#define BT_GAP_DATA_TIME_MAX 0x4290 /* 17040 us */ |
#include <zephyr/bluetooth/gap.h>
Maximum data time.
#define BT_GAP_INIT_CONN_INT_MAX 0x0028 /* 50 ms */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_INIT_CONN_INT_MIN 0x0018 /* 30 ms */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_NO_TIMEOUT 0x0000 |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_PER_ADV_FAST_INT_MAX_1 0x0030 /* 60 ms */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_PER_ADV_FAST_INT_MAX_2 0x0078 /* 150 ms */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_PER_ADV_FAST_INT_MIN_1 0x0018 /* 30 ms */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_PER_ADV_FAST_INT_MIN_2 0x0050 /* 100 ms */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_PER_ADV_INTERVAL_TO_MS | ( | interval | ) |
#include <zephyr/bluetooth/gap.h>
Convert periodic advertising interval (N * 1.25 ms) to milliseconds.
5 / 4 represents 1.25 ms unit.
#define BT_GAP_PER_ADV_MAX_INTERVAL 0xFFFF /* 81.91875 s */ |
#include <zephyr/bluetooth/gap.h>
Maximum Periodic Advertising Interval (N * 1.25 ms)
#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.
#define BT_GAP_PER_ADV_MAX_TIMEOUT 0x4000 /* 163.84 s */ |
#include <zephyr/bluetooth/gap.h>
Maximum Periodic Advertising Timeout (N * 10 ms)
#define BT_GAP_PER_ADV_MIN_INTERVAL 0x0006 /* 7.5 ms */ |
#include <zephyr/bluetooth/gap.h>
Minimum Periodic Advertising Interval (N * 1.25 ms)
#define BT_GAP_PER_ADV_MIN_TIMEOUT 0x000A /* 100 ms */ |
#include <zephyr/bluetooth/gap.h>
Minimum Periodic Advertising Timeout (N * 10 ms)
#define BT_GAP_PER_ADV_SLOW_INT_MAX 0x03C0 /* 1.2 s */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_PER_ADV_SLOW_INT_MIN 0x0320 /* 1 s */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_RSSI_INVALID 0x7f |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_SCAN_FAST_INTERVAL 0x0060 /* 60 ms */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_SCAN_FAST_INTERVAL_MIN 0x0030 /* 30 ms */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_SCAN_FAST_WINDOW 0x0030 /* 30 ms */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_SCAN_SLOW_INTERVAL_1 0x0800 /* 1.28 s */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_SCAN_SLOW_INTERVAL_2 0x1000 /* 2.56 s */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_SCAN_SLOW_WINDOW_1 0x0012 /* 11.25 ms */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_SCAN_SLOW_WINDOW_2 0x0012 /* 11.25 ms */ |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_SID_INVALID 0xff |
#include <zephyr/bluetooth/gap.h>
#define BT_GAP_SID_MAX 0x0F |
#include <zephyr/bluetooth/gap.h>
Maximum advertising set number.
#define BT_GAP_TX_POWER_INVALID 0x7f |
#include <zephyr/bluetooth/gap.h>
#define BT_LE_AD_GENERAL 0x02 |
#include <zephyr/bluetooth/gap.h>
General Discoverable.
#define BT_LE_AD_LIMITED 0x01 |
#include <zephyr/bluetooth/gap.h>
Limited Discoverable.
#define BT_LE_AD_NO_BREDR 0x04 |
#include <zephyr/bluetooth/gap.h>
BR/EDR not supported.
#define BT_LE_SUPP_FEAT_16_ENCODE | ( | w64 | ) |
#include <zephyr/bluetooth/gap.h>
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.
w64 | LE Supported Features value (64-bits) |
#define BT_LE_SUPP_FEAT_24_ENCODE | ( | w64 | ) |
#include <zephyr/bluetooth/gap.h>
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.
w64 | LE Supported Features value (64-bits) |
#define BT_LE_SUPP_FEAT_32_ENCODE | ( | w64 | ) |
#include <zephyr/bluetooth/gap.h>
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.
w64 | LE Supported Features value (64-bits) |
#define BT_LE_SUPP_FEAT_40_ENCODE | ( | w64 | ) |
#include <zephyr/bluetooth/gap.h>
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.
w64 | LE Supported Features value (64-bits) |
#define BT_LE_SUPP_FEAT_8_ENCODE | ( | w64 | ) |
#include <zephyr/bluetooth/gap.h>
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.
w64 | LE Supported Features value (64-bits) |
#define BT_LE_SUPP_FEAT_VALIDATE | ( | w64 | ) |
#include <zephyr/bluetooth/gap.h>
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.
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 |
#include <zephyr/bluetooth/gap.h>
Advertising PDU types.
anonymous enum |
#include <zephyr/bluetooth/gap.h>
Advertising PDU properties.
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 |
#include <zephyr/bluetooth/gap.h>
Peripheral sleep clock accuracy (SCA) in ppm (parts per million)