xref: /btstack/src/bluetooth_gatt.h (revision 0e0e9559782264101b153511e0fcccc7db9f5c27)
1*0e0e9559SMatthias Ringwald 
2*0e0e9559SMatthias Ringwald /**
3*0e0e9559SMatthias Ringwald  * bluetooth_gatt.h generated from Bluetooth SIG website for BTstack
4*0e0e9559SMatthias Ringwald  * 2016-10-27 16:24:46.134891
5*0e0e9559SMatthias Ringwald  */
6*0e0e9559SMatthias Ringwald 
7*0e0e9559SMatthias Ringwald #ifndef __BLUETOOTH_GATT_H
8*0e0e9559SMatthias Ringwald #define __BLUETOOTH_GATT_H
9*0e0e9559SMatthias Ringwald 
10*0e0e9559SMatthias Ringwald /**
11*0e0e9559SMatthias Ringwald  * Assigned numbers from https://www.bluetooth.com/specifications/gatt/declarations
12*0e0e9559SMatthias Ringwald  */
13*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_ATTRIBUTE_GATT_PRIMARY_SERVICE_DECLARATION 0x2800 // GATT Primary Service Declaration
14*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_ATTRIBUTE_GATT_SECONDARY_SERVICE_DECLARATION 0x2801 // GATT Secondary Service Declaration
15*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_ATTRIBUTE_GATT_CHARACTERISTIC_DECLARATION 0x2803 // GATT Characteristic Declaration
16*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_ATTRIBUTE_GATT_INCLUDE_DECLARATION 0x2802 // GATT Include Declaration
17*0e0e9559SMatthias Ringwald 
18*0e0e9559SMatthias Ringwald /**
19*0e0e9559SMatthias Ringwald  * Assigned numbers from https://www.bluetooth.com/specifications/gatt/services
20*0e0e9559SMatthias Ringwald  */
21*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_LOCATION_AND_NAVIGATION 0x1819 // Location and Navigation
22*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_LINK_LOSS 0x1803 // Link Loss
23*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_OBJECT_TRANSFER 0x1825 // Object Transfer
24*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_NEXT_DST_CHANGE 0x1807 // Next DST Change Service
25*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_IMMEDIATE_ALERT 0x1802 // Immediate Alert
26*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_HUMAN_INTERFACE_DEVICE 0x1812 // Human Interface Device
27*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_INTERNET_PROTOCOL_SUPPORT 0x1820 // Internet Protocol Support
28*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_INDOOR_POSITIONING 0x1821 // Indoor Positioning
29*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_PHONE_ALERT_STATUS 0x180E // Phone Alert Status Service
30*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_TX_POWER 0x1804 // Tx Power
31*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_TRANSPORT_DISCOVERY 0x1824 // Transport Discovery
32*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_WEIGHT_SCALE 0x181D // Weight Scale
33*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_USER_DATA 0x181C // User Data
34*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_REFERENCE_TIME_UPDATE 0x1806 // Reference Time Update Service
35*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_PULSE_OXIMETER 0x1822 // Pulse Oximeter
36*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_SCAN_PARAMETERS 0x1813 // Scan Parameters
37*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_RUNNING_SPEED_AND_CADENCE 0x1814 // Running Speed and Cadence
38*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_HTTP_PROXY 0x1823 // HTTP Proxy
39*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_BOND_MANAGEMENT 0x181E // Bond Management
40*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_BODY_COMPOSITION 0x181B // Body Composition
41*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_CURRENT_TIME 0x1805 // Current Time Service
42*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_CONTINUOUS_GLUCOSE_MONITORING 0x181F // Continuous Glucose Monitoring
43*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_AUTOMATION_IO 0x1815 // Automation IO
44*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_ALERT_NOTIFICATION 0x1811 // Alert Notification Service
45*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_BLOOD_PRESSURE 0x1810 // Blood Pressure
46*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_BATTERY_SERVICE 0x180F // Battery Service
47*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_CYCLING_POWER 0x1818 // Cycling Power
48*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_GLUCOSE 0x1808 // Glucose
49*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_GENERIC_ATTRIBUTE 0x1801 // Generic Attribute
50*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_HEART_RATE 0x180D // Heart Rate
51*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_HEALTH_THERMOMETER 0x1809 // Health Thermometer
52*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_DEVICE_INFORMATION 0x180A // Device Information
53*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_CYCLING_SPEED_AND_CADENCE 0x1816 // Cycling Speed and Cadence
54*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_GENERIC_ACCESS 0x1800 // Generic Access
55*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_SERVICE_ENVIRONMENTAL_SENSING 0x181A // Environmental Sensing
56*0e0e9559SMatthias Ringwald 
57*0e0e9559SMatthias Ringwald /**
58*0e0e9559SMatthias Ringwald  * Assigned numbers from https://www.bluetooth.com/specifications/gatt/characteristics
59*0e0e9559SMatthias Ringwald  */
60*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_OTS_FEATURE 0x2ABD // OTS Feature
61*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_OBJECT_TYPE 0x2ABF // Object Type
62*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_GAP_PERIPHERAL_PREFERRED_CONNECTION_PARAMETERS 0x2A04 // Peripheral Preferred Connection Parameters
63*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_PLX_CONTINUOUS_MEASUREMENT 0x2A5F // PLX Continuous Measurement
64*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_GAP_PERIPHERAL_PRIVACY_FLAG 0x2A02 // Peripheral Privacy Flag
65*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_OBJECT_SIZE 0x2AC0 // Object Size
66*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_OBJECT_LIST_CONTROL_POINT 0x2AC6 // Object List Control Point
67*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_OBJECT_LAST_MODIFIED 0x2AC2 // Object Last-Modified
68*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_OBJECT_LIST_FILTER 0x2AC7 // Object List Filter
69*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_OBJECT_PROPERTIES 0x2AC4 // Object Properties
70*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_OBJECT_NAME 0x2ABE // Object Name
71*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_RAINFALL 0x2A78 // Rainfall
72*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_PROTOCOL_MODE 0x2A4E // Protocol Mode
73*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_GAP_RECONNECTION_ADDRESS 0x2A03 // Reconnection Address
74*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_REFERENCE_TIME_INFORMATION 0x2A14 // Reference Time Information
75*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_RECORD_ACCESS_CONTROL_POINT 0x2A52 // Record Access Control Point
76*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_PRESSURE 0x2A6D // Pressure
77*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_PLX_SPOT_CHECK_MEASUREMENT 0x2A5E // PLX Spot-Check Measurement
78*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_PLX_FEATURES 0x2A60 // PLX Features
79*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_PNP_ID 0x2A50 // PnP ID
80*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_POSITION_QUALITY 0x2A69 // Position Quality
81*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_POLLEN_CONCENTRATION 0x2A75 // Pollen Concentration
82*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_OBJECT_ID 0x2AC3 // Object ID
83*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_LOCATION_AND_SPEED 0x2A67 // Location and Speed
84*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_LOCAL_TIME_INFORMATION 0x2A0F // Local Time Information
85*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_LOCATION_NAME 0x2AB5 // Location Name
86*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_MAGNETIC_DECLINATION 0x2A2C // Magnetic Declination
87*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_LONGITUDE 0x2AAF // Longitude
88*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_LOCAL_NORTH_COORDINATE 0x2AB0 // Local North Coordinate
89*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_LATITUDE 0x2AAE // Latitude
90*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_LAST_NAME 0x2A90 // Last Name
91*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_LN_CONTROL_POINT 0x2A6B // LN Control Point
92*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_LOCAL_EAST_COORDINATE 0x2AB1 // Local East Coordinate
93*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_LN_FEATURE 0x2A6A // LN Feature
94*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_NEW_ALERT 0x2A46 // New Alert
95*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_NAVIGATION 0x2A68 // Navigation
96*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_OBJECT_ACTION_CONTROL_POINT 0x2AC5 // Object Action Control Point
97*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_OBJECT_FIRST_CREATED 0x2AC1 // Object First-Created
98*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_OBJECT_CHANGED 0x2AC8 // Object Changed
99*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_MODEL_NUMBER_STRING 0x2A24 // Model Number String
100*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_MAGNETIC_FLUX_DENSITY_3D 0x2AA1 // Magnetic Flux Density - 3D
101*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_MAGNETIC_FLUX_DENSITY_2D 0x2AA0 // Magnetic Flux Density - 2D
102*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_MANUFACTURER_NAME_STRING 0x2A29 // Manufacturer Name String
103*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_MEASUREMENT_INTERVAL 0x2A21 // Measurement Interval
104*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_MAXIMUM_RECOMMENDED_HEART_RATE 0x2A91 // Maximum Recommended Heart Rate
105*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_TRUE_WIND_SPEED 0x2A70 // True Wind Speed
106*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_TRUE_WIND_DIRECTION 0x2A71 // True Wind Direction
107*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_TWO_ZONE_HEART_RATE_LIMIT 0x2A95 // Two Zone Heart Rate Limit
108*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_UNCERTAINTY 0x2AB4 // Uncertainty
109*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_TX_POWER_LEVEL 0x2A07 // Tx Power Level
110*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_TIME_ZONE 0x2A0E // Time Zone
111*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_TIME_SOURCE 0x2A13 // Time Source
112*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_TIME_ACCURACY 0x2A12 // Time Accuracy
113*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_TIME_UPDATE_CONTROL_POINT 0x2A16 // Time Update Control Point
114*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_TIME_WITH_DST 0x2A11 // Time with DST
115*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_TIME_UPDATE_STATE 0x2A17 // Time Update State
116*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_WEIGHT 0x2A98 // Weight
117*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_WAIST_CIRCUMFERENCE 0x2A97 // Waist Circumference
118*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_WEIGHT_MEASUREMENT 0x2A9D // Weight Measurement
119*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_WIND_CHILL 0x2A79 // Wind Chill
120*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_WEIGHT_SCALE_FEATURE 0x2A9E // Weight Scale Feature
121*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_VO2_MAX 0x2A96 // VO2 Max
122*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_URI 0x2AB6 // URI
123*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_UNREAD_ALERT_STATUS 0x2A45 // Unread Alert Status
124*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_USER_CONTROL_POINT 0x2A9F // User Control Point
125*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_UV_INDEX 0x2A76 // UV Index
126*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_USER_INDEX 0x2A9A // User Index
127*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_THREE_ZONE_HEART_RATE_LIMITS 0x2A94 // Three Zone Heart Rate Limits
128*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_SC_CONTROL_POINT 0x2A55 // SC Control Point
129*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_RSC_MEASUREMENT 0x2A53 // RSC Measurement
130*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_SCAN_INTERVAL_WINDOW 0x2A4F // Scan Interval Window
131*0e0e9559SMatthias Ringwald #define ORG_BLUEOOTH_CHARACTERISTIC_SENSOR_LOCATION 0x2A5D // Sensor Location
132*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_SCAN_REFRESH 0x2A31 // Scan Refresh
133*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_RSC_FEATURE 0x2A54 // RSC Feature
134*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_REPORT_MAP 0x2A4B // Report Map
135*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_REPORT 0x2A4D // Report
136*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_RESTING_HEART_RATE 0x2A92 // Resting Heart Rate
137*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_RINGER_SETTING 0x2A41 // Ringer Setting
138*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_RINGER_CONTROL_POINT 0x2A40 // Ringer Control Point
139*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_TDS_CONTROL_POINT 0x2ABC // TDS Control Point
140*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_SYSTEM_ID 0x2A23 // System ID
141*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_TEMPERATURE 0x2A6E // Temperature
142*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_TEMPERATURE_TYPE 0x2A1D // Temperature Type
143*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_TEMPERATURE_MEASUREMENT 0x2A1C // Temperature Measurement
144*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_SUPPORTED_UNREAD_ALERT_CATEGORY 0x2A48 // Supported Unread Alert Category
145*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_GATT_SERVICE_CHANGED 0x2A05 // Service Changed
146*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_SERIAL_NUMBER_STRING 0x2A25 // Serial Number String
147*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_SOFTWARE_REVISION_STRING 0x2A28 // Software Revision String
148*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_SUPPORTED_NEW_ALERT_CATEGORY 0x2A47 // Supported New Alert Category
149*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_SPORT_TYPE_FOR_AEROBIC_AND_ANAEROBIC_THRESHOLDS 0x2A93 // Sport Type for Aerobic and Anaerobic Thresholds
150*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_GAP_CENTRAL_ADDRESS_RESOLUTION_SUPPORT 0x2AA6 // Central Address Resolution
151*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_BOOT_MOUSE_INPUT_REPORT 0x2A33 // Boot Mouse Input Report
152*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_CGM_FEATURE 0x2AA8 // CGM Feature
153*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_CGM_SESSION_RUN_TIME 0x2AAB // CGM Session Run Time
154*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_CGM_MEASUREMENT 0x2AA7 // CGM Measurement
155*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_BOOT_KEYBOARD_OUTPUT_REPORT 0x2A32 // Boot Keyboard Output Report
156*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_BODY_SENSOR_LOCATION 0x2A38 // Body Sensor Location
157*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_BODY_COMPOSITION_MEASUREMENT 0x2A9C // Body Composition Measurement
158*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_BOND_MANAGEMENT_CONTROL_POINT 0x2AA4 // Bond Management Control Point
159*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_BOOT_KEYBOARD_INPUT_REPORT 0x2A22 // Boot Keyboard Input Report
160*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_BOND_MANAGEMENT_FEATURE 0x2AA5 // Bond Management Feature
161*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_CYCLING_POWER_FEATURE 0x2A65 // Cycling Power Feature
162*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_CYCLING_POWER_CONTROL_POINT 0x2A66 // Cycling Power Control Point
163*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_CYCLING_POWER_MEASUREMENT 0x2A63 // Cycling Power Measurement
164*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_DATABASE_CHANGE_INCREMENT 0x2A99 // Database Change Increment
165*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_CYCLING_POWER_VECTOR 0x2A64 // Cycling Power Vector
166*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_CURRENT_TIME 0x2A2B // Current Time
167*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_CGM_SPECIFIC_OPS_CONTROL_POINT 0x2AAC // CGM Specific Ops Control Point
168*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_CGM_SESSION_START_TIME 0x2AAA // CGM Session Start Time
169*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_CGM_STATUS 0x2AA9 // CGM Status
170*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_CSC_MEASUREMENT 0x2A5B // CSC Measurement
171*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_CSC_FEATURE 0x2A5C // CSC Feature
172*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_BODY_COMPOSITION_FEATURE 0x2A9B // Body Composition Feature
173*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_ALERT_LEVEL 0x2A06 // Alert Level
174*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_ALERT_CATEGORY_ID_BIT_MASK 0x2A42 // Alert Category ID Bit Mask
175*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_ALERT_NOTIFICATION_CONTROL_POINT 0x2A44 // Alert Notification Control Point
176*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_ALTITUDE 0x2AB3 // Altitude
177*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_ALERT_STATUS 0x2A3F // Alert Status
178*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_ALERT_CATEGORY_ID 0x2A43 // Alert Category ID
179*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_AEROBIC_HEART_RATE_UPPER_LIMIT 0x2A84 // Aerobic Heart Rate Upper Limit
180*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_AEROBIC_THRESHOLD 0x2A7F // Aerobic Threshold
181*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_AGGREGATE 0x2A5A // Aggregate
182*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_AGE 0x2A80 // Age
183*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_BAROMETRIC_PRESSURE_TREND 0x2AA3 // Barometric Pressure Trend
184*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_GAP_APPEARANCE 0x2A01 // Appearance
185*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_BATTERY_LEVEL 0x2A19 // Battery Level
186*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_BLOOD_PRESSURE_MEASUREMENT 0x2A35 // Blood Pressure Measurement
187*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_BLOOD_PRESSURE_FEATURE 0x2A49 // Blood Pressure Feature
188*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_APPARENT_WIND_SPEED 0x2A72 // Apparent Wind Speed
189*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_ANAEROBIC_HEART_RATE_UPPER_LIMIT 0x2A82 // Anaerobic Heart Rate Upper Limit
190*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_ANAEROBIC_HEART_RATE_LOWER_LIMIT 0x2A81 // Anaerobic Heart Rate Lower Limit
191*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_ANAEROBIC_THRESHOLD 0x2A83 // Anaerobic Threshold
192*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_APPARENT_WIND_DIRECTION 0x2A73 // Apparent Wind Direction
193*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_ANALOG 0x2A58 // Analog
194*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_HID_CONTROL_POINT 0x2A4C // HID Control Point
195*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_HEIGHT 0x2A8E // Height
196*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_HID_INFORMATION 0x2A4A // HID Information
197*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_HTTP_CONTROL_POINT 0x2ABA // HTTP Control Point
198*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_HIP_CIRCUMFERENCE 0x2A8F // Hip Circumference
199*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_HEAT_INDEX 0x2A7A // Heat Index
200*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_HARDWARE_REVISION_STRING 0x2A27 // Hardware Revision String
201*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_GUST_FACTOR 0x2A74 // Gust Factor
202*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_HEART_RATE_CONTROL_POINT 0x2A39 // Heart Rate Control Point
203*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_HEART_RATE_MEASUREMENT 0x2A37 // Heart Rate Measurement
204*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_HEART_RATE_MAX 0x2A8D // Heart Rate Max
205*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_INTERMEDIATE_CUFF_PRESSURE 0x2A36 // Intermediate Cuff Pressure
206*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_INDOOR_POSITIONING_CONFIGURATION 0x2AAD // Indoor Positioning Configuration
207*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_INTERMEDIATE_TEMPERATURE 0x2A1E // Intermediate Temperature
208*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_LANGUAGE 0x2AA2 // Language
209*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_IRRADIANCE 0x2A77 // Irradiance
210*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_IEEE_11073-20601_REGULATORY_CERTIFICATION_DATA_LIST 0x2A2A // IEEE 11073-20601 Regulatory Certification Data List
211*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_HTTP_HEADERS 0x2AB7 // HTTP Headers
212*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_HTTP_ENTITY_BODY 0x2AB9 // HTTP Entity Body
213*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_HTTP_STATUS_CODE 0x2AB8 // HTTP Status Code
214*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_HUMIDITY 0x2A6F // Humidity
215*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_HTTPS_SECURITY 0x2ABB // HTTPS Security
216*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_GLUCOSE_MEASUREMENT_CONTEXT 0x2A34 // Glucose Measurement Context
217*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_DEW_POINT 0x2A7B // Dew Point
218*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_GAP_DEVICE_NAME 0x2A00 // Device Name
219*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_DIGITAL 0x2A56 // Digital
220*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_ELEVATION 0x2A6C // Elevation
221*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_DST_OFFSET 0x2A0D // DST Offset
222*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_DESCRIPTOR_VALUE_CHANGED 0x2A7D // Descriptor Value Changed
223*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_DATE_OF_THRESHOLD_ASSESSMENT 0x2A86 // Date of Threshold Assessment
224*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_DATE_OF_BIRTH 0x2A85 // Date of Birth
225*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_DATE_TIME 0x2A08 // Date Time
226*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_DAY_OF_WEEK 0x2A09 // Day of Week
227*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_DAY_DATE_TIME 0x2A0A // Day Date Time
228*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_FLOOR_NUMBER 0x2AB2 // Floor Number
229*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_FIVE_ZONE_HEART_RATE_LIMITS 0x2A8B // Five Zone Heart Rate Limits
230*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_GENDER 0x2A8C // Gender
231*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_GLUCOSE_MEASUREMENT 0x2A18 // Glucose Measurement
232*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_GLUCOSE_FEATURE 0x2A51 // Glucose Feature
233*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_FIRST_NAME 0x2A8A // First Name
234*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_EXACT_TIME_256 0x2A0C // Exact Time 256
235*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_EMAIL_ADDRESS 0x2A87 // Email Address
236*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_FAT_BURN_HEART_RATE_LOWER_LIMIT 0x2A88 // Fat Burn Heart Rate Lower Limit
237*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_FIRMWARE_REVISION_STRING 0x2A26 // Firmware Revision String
238*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_FAT_BURN_HEART_RATE_UPPER_LIMIT 0x2A89 // Fat Burn Heart Rate Upper Limit
239*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_CHARACTERISTIC_FITNESS_MACHINE_CONTROL_POINT 0xEE1D // Fitness Machine Control Point
240*0e0e9559SMatthias Ringwald 
241*0e0e9559SMatthias Ringwald /**
242*0e0e9559SMatthias Ringwald  * Assigned numbers from https://www.bluetooth.com/specifications/gatt/descriptors
243*0e0e9559SMatthias Ringwald  */
244*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_DESCRIPTOR_REPORT_REFERENCE 0x2908 // Report Reference
245*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_DESCRIPTOR_NUMBER_OF_DIGITALS 0x2909 // Number of Digitals
246*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_DESCRIPTOR_EXTERNAL_REPORT_REFERENCE 0x2907 // External Report Reference
247*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_DESCRIPTOR_GATT_SERVER_CHARACTERISTIC_CONFIGURATION 0x2903 // Server Characteristic Configuration
248*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_DESCRIPTOR_VALUE_TRIGGER_SETTING 0x290A // Value Trigger Setting
249*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_DESCRIPTOR_VALID_RANGE 0x2906 // Valid Range
250*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_DESCRIPTOR_TIME_TRIGGER_SETTING 0x290E // Time Trigger Setting
251*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_DESCRIPTOR_ES_TRIGGER_SETTING 0x290D // Environmental Sensing Trigger Setting
252*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_DESCRIPTOR_GATT_CHARACTERISTIC_PRESENTATION_FORMAT 0x2904 // Characteristic Presentation Format
253*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_DESCRIPTOR_GATT_CHARACTERISTIC_EXTENDED_PROPERTIES 0x2900 // Characteristic Extended Properties
254*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_DESCRIPTOR_GATT_CHARACTERISTIC_AGGREGATE_FORMAT 0x2905 // Characteristic Aggregate Format
255*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_DESCRIPTOR_GATT_CHARACTERISTIC_USER_DESCRIPTION 0x2901 // Characteristic User Description
256*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_DESCRIPTOR_ES_MEASUREMENT 0x290C // Environmental Sensing Measurement
257*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_DESCRIPTOR_ES_CONFIGURATION 0x290B // Environmental Sensing Configuration
258*0e0e9559SMatthias Ringwald #define ORG_BLUETOOTH_DESCRIPTOR_GATT_CLIENT_CHARACTERISTIC_CONFIGURATION 0x2902 // Client Characteristic Configuration
259*0e0e9559SMatthias Ringwald 
260*0e0e9559SMatthias Ringwald #endif
261