bluetooth_gatt.h 32 KB

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