ble_att.h
Go to the documentation of this file.
1 /**
2 ****************************************************************************************
3 *
4 * @file ble_att.h
5 *
6 * @brief Attribute Protocol
7 *
8 ****************************************************************************************
9 * @attention
10 #####Copyright (c) 2019 GOODIX
11 All rights reserved.
12
13 Redistribution and use in source and binary forms, with or without
14 modification, are permitted provided that the following conditions are met:
15 * Redistributions of source code must retain the above copyright
16 notice, this list of conditions and the following disclaimer.
17 * Redistributions in binary form must reproduce the above copyright
18 notice, this list of conditions and the following disclaimer in the
19 documentation and/or other materials provided with the distribution.
20 * Neither the name of GOODIX nor the names of its contributors may be used
21 to endorse or promote products derived from this software without
22 specific prior written permission.
23
24 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27 ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE
28 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
29 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
30 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
32 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
33 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34 POSSIBILITY OF SUCH DAMAGE.
35 *****************************************************************************************
36 */
37
38 /**
39 * @addtogroup BLE
40 * @{
41 */
42
43 /**
44 * @addtogroup BLE_ATT Attribute Protocol (ATT)
45 * @{
46 * @brief Definitions and prototypes for ATT.
47 */
48
49
50 #ifndef __BLE_ATT_H__
51 #define __BLE_ATT_H__
52
53 /** @addtogroup BLE_ATT_DEFINES Defines
54 * @{ */
55 #define BLE_ATT_UUID_16(uuid) (uuid) /**< Convert CPU’s integer definition to LSB-first 16-bit UUID. */
56 #define BLE_ATT_MTU_DEFAULT (23) /**< Default ATT MTU size in bytes. */
57 #define BLE_ATT_INVALID_HDL (0x0000) /**< Invalid attribute handle. */
58 #define BLE_ATT_HANDLE_START (0x0001) /**< Attribute handle start. */
59 #define BLE_ATT_HANDLE_END (0xFFFF) /**< Attribute handle end. */
60
61 /** @defgroup BLE_ATT_UUID_LEN Attribute UUID Length(bytes)
62 * @{ */
63 #define BLE_ATT_UUID_16_LEN 0x0002 /**< UUID length: 2 bytes. */
64 #define BLE_ATT_UUID_32_LEN 0x0004 /**< UUID length: 4 bytes. */
65 #define BLE_ATT_UUID_128_LEN 0x0010 /**< UUID length: 16 bytes. */
66 /** @} */
67
68 /** @defgroup BLE_ATT_CHAR_PROPERTIES Characteristic Properties
69 * @{ */
70 #define BLE_ATT_CHAR_PROP_BCAST 0x01 /**< Characteristic Property: Broadcast. */
71 #define BLE_ATT_CHAR_PROP_RD 0x02 /**< Characteristic Property: Read. */
72 #define BLE_ATT_CHAR_PROP_WR_NO_RESP 0x04 /**< Characteristic Property: Write Without Response. */
73 #define BLE_ATT_CHAR_PROP_WR 0x08 /**< Characteristic Property: Write. */
74 #define BLE_ATT_CHAR_PROP_NTF 0x10 /**< Characteristic Property: Notify. */
75 #define BLE_ATT_CHAR_PROP_IND 0x20 /**< Characteristic Property: Indicate. */
76 #define BLE_ATT_CHAR_PROP_AUTH 0x40 /**< Characteristic Property: Authenticated Signed Writes. */
77 #define BLE_ATT_CHAR_PROP_EXT_PROP 0x80 /**< Characteristic Property: Extended Properties. */
78 /** @} */
79
80 /** @defgroup BLE_ATT_CHAR_EXTENDED_PROPERTIES Characteristic Extended Properties
81 * @{ */
82 #define BLE_ATT_EXT_RELIABLE_WRITE 0x0001 /**< Characteristic Extended Property: Reliable Write. */
83 #define BLE_ATT_EXT_WRITABLE_AUX 0x0002 /**< Characteristic Extended Property: Writable Auxiliaries. */
84 #define BLE_ATT_EXT_RFU 0xFFFC /**< Characteristic Extended Property: Reserved for Future Use. */
85 /** @} */
86
87 /**@brief Characteristic Base UUID. */
88 #define BLE_ATT_BT_UUID_128 {0xFB, 0x34, 0x9B, 0x5F, 0x80, 0x00, 0x00, 0x80, \
89 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
90 /** @brief Change a 16-bit UUID array to a 128-bit one (append 0).
91 * @param uuid: 16-bit UUID
92 * @retval None
93 */
94 #define BLE_ATT_16_TO_128_ARRAY(uuid) {(uuid) & 0xFF, ((uuid) >> 8) & 0xFF, 0x00, 0x00, 0x00, \
95 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }
96 /** @brief Change a 16-bit UUID array to a 16-bit one (append 0).
97 * @param uuid: 16-bit UUID
98 * @retval None
99 */
100 #define BLE_ATT_16_TO_16_ARRAY(uuid) {(uuid) & 0xFF, ((uuid) >> 8) & 0xFF}
101 /** @} */
102
103
104 /** @addtogroup BLE_ATT_ENUMERATIONS Enumerations
105 * @{ */
106
107 /**@brief Attribute Specification Definitions: Common 16-bit (Universal Unique Identifier). */
108 typedef enum
109 {
110 BLE_ATT_INVALID_UUID = BLE_ATT_UUID_16(0x0000), /**< Invalid UUID. */
111 /*----------------- SERVICES ---------------------*/
112 BLE_ATT_SVC_GENERIC_ACCESS = BLE_ATT_UUID_16(0x1800), /**< Generic Access Profile. */
113 BLE_ATT_SVC_GENERIC_ATTRIBUTE = BLE_ATT_UUID_16(0x1801), /**< Attribute Profile. */
114 BLE_ATT_SVC_IMMEDIATE_ALERT = BLE_ATT_UUID_16(0x1802), /**< Immediate Alert Service. */
115 BLE_ATT_SVC_LINK_LOSS = BLE_ATT_UUID_16(0x1803), /**< Link Loss Service. */
116 BLE_ATT_SVC_TX_POWER = BLE_ATT_UUID_16(0x1804), /**< TX Power Service. */
117 BLE_ATT_SVC_CURRENT_TIME = BLE_ATT_UUID_16(0x1805), /**< Current Time Service. */
118 BLE_ATT_SVC_REF_TIME_UPDATE = BLE_ATT_UUID_16(0x1806), /**< Reference Time Update Service. */
119 BLE_ATT_SVC_NEXT_DST_CHANGE = BLE_ATT_UUID_16(0x1807), /**< Next DST Change Service. */
120 BLE_ATT_SVC_GLUCOSE = BLE_ATT_UUID_16(0x1808), /**< Glucose Service. */
121 BLE_ATT_SVC_HEALTH_THERMOM = BLE_ATT_UUID_16(0x1809), /**< Health Thermometer Service. */
122 BLE_ATT_SVC_DEVICE_INFO = BLE_ATT_UUID_16(0x180A), /**< Device Information Service. */
123 BLE_ATT_SVC_HEART_RATE = BLE_ATT_UUID_16(0x180D), /**< Heart Rate Service. */
124 BLE_ATT_SVC_PHONE_ALERT_STATUS = BLE_ATT_UUID_16(0x180E), /**< Phone Alert Status Service. */
125 BLE_ATT_SVC_BATTERY_SERVICE = BLE_ATT_UUID_16(0x180F), /**< Battery Service. */
126 BLE_ATT_SVC_BLOOD_PRESSURE = BLE_ATT_UUID_16(0x1810), /**< Blood Pressure Service. */
127 BLE_ATT_SVC_ALERT_NTF = BLE_ATT_UUID_16(0x1811), /**< Alert Notification Service. */
128 BLE_ATT_SVC_HID = BLE_ATT_UUID_16(0x1812), /**< HID Service. */
129 BLE_ATT_SVC_SCAN_PARAMETERS = BLE_ATT_UUID_16(0x1813), /**< Scan Parameters Service. */
130 BLE_ATT_SVC_RUNNING_SPEED_CADENCE = BLE_ATT_UUID_16(0x1814), /**< Running Speed and Cadence Service. */
131 BLE_ATT_SVC_CYCLING_SPEED_CADENCE = BLE_ATT_UUID_16(0x1816), /**< Cycling Speed and Cadence Service. */
132 BLE_ATT_SVC_CYCLING_POWER = BLE_ATT_UUID_16(0x1818), /**< Cycling Power Service. */
133 BLE_ATT_SVC_LOCATION_AND_NAVIGATION = BLE_ATT_UUID_16(0x1819), /**< Location and Navigation Service. */
134 BLE_ATT_SVC_ENVIRONMENTAL_SENSING = BLE_ATT_UUID_16(0x181A), /**< Environmental Sensing Service. */
135 BLE_ATT_SVC_BODY_COMPOSITION = BLE_ATT_UUID_16(0x181B), /**< Body Composition Service. */
136 BLE_ATT_SVC_USER_DATA = BLE_ATT_UUID_16(0x181C), /**< User Data Service. */
137 BLE_ATT_SVC_WEIGHT_SCALE = BLE_ATT_UUID_16(0x181D), /**< Weight Scale Service. */
138 BLE_ATT_SVC_BOND_MANAGEMENT = BLE_ATT_UUID_16(0x181E), /**< Bond Management Service. */
139 BLE_ATT_SVC_CONTINUOUS_GLUCOSE_MONITORING = BLE_ATT_UUID_16(0x181F), /**< Continuous Glucose Monitoring Service. */
140 BLE_ATT_SVC_IP_SUPPORT = BLE_ATT_UUID_16(0x1820), /**< Internet Protocol Support Service. */
141 BLE_ATT_SVC_INDOOR_POSITIONING = BLE_ATT_UUID_16(0x1821), /**< Indoor Positioning Service. */
142 BLE_ATT_SVC_PULSE_OXIMETER = BLE_ATT_UUID_16(0x1822), /**< Pulse Oximeter Service. */
143 BLE_ATT_SVC_HTTP_PROXY = BLE_ATT_UUID_16(0x1823), /**< HTTP Proxy Service. */
144 BLE_ATT_SVC_TRANSPORT_DISCOVERY = BLE_ATT_UUID_16(0x1824), /**< Transport Discovery Service. */
145 BLE_ATT_SVC_OBJECT_TRANSFER = BLE_ATT_UUID_16(0x1825), /**< Object Transfer Service. */
146 BLE_ATT_SVC_CONSTANT_TONE_EXTENSION = BLE_ATT_UUID_16(0x1826), /**< Constant Tone Extention Service. */
147
148 /*------------------- UNITS ---------------------*/
149 BLE_ATT_UNIT_UNITLESS = BLE_ATT_UUID_16(0x2700), /**< No defined unit. */
150 BLE_ATT_UNIT_METRE = BLE_ATT_UUID_16(0x2701), /**< Length unit: meter. */
151 BLE_ATT_UNIT_KG = BLE_ATT_UUID_16(0x2702), /**< Mass unit: kilogram. */
152 BLE_ATT_UNIT_SECOND = BLE_ATT_UUID_16(0x2703), /**< Time unit: second. */
153 BLE_ATT_UNIT_AMPERE = BLE_ATT_UUID_16(0x2704), /**< Electric current unit: ampere. */
154 BLE_ATT_UNIT_KELVIN = BLE_ATT_UUID_16(0x2705), /**< Thermodynamic Temperature unit: kelvin. */
155 BLE_ATT_UNIT_MOLE = BLE_ATT_UUID_16(0x2706), /**< Amount of substance unit: mole. */
156 BLE_ATT_UNIT_CANDELA = BLE_ATT_UUID_16(0x2707), /**< Luminous intensity unit: candela. */
157 BLE_ATT_UNIT_SQ_METRE = BLE_ATT_UUID_16(0x2710), /**< Area unit: square meter. */
158 BLE_ATT_UNIT_CUBIC_METRE = BLE_ATT_UUID_16(0x2710), /**< Column unit: cubic meter. */
159 BLE_ATT_UNIT_METRE_PER_SECOND = BLE_ATT_UUID_16(0x2711), /**< Velocity unit: meter per second. */
160 BLE_ATT_UNIT_METRES_PER_SEC_SQ = BLE_ATT_UUID_16(0x2712), /**< Acceleration unit: meter per second squared. */
161 BLE_ATT_UNIT_RECIPROCAL_METRE = BLE_ATT_UUID_16(0x2713), /**< Wavenumber unit: reciprocal meter. */
162 BLE_ATT_UNIT_DENS_KG_PER_CUBIC_METRE = BLE_ATT_UUID_16(0x2714), /**< Density unit: kilogram per cubic meter. */
163 BLE_ATT_UNIT_KG_PER_SQ_METRE = BLE_ATT_UUID_16(0x2715), /**< Surface density unit: kilogram per square meter. */
164 BLE_ATT_UNIT_CUBIC_METRE_PER_KG = BLE_ATT_UUID_16(0x2716), /**< Specific volume unit: cubic meter per kilogram. */
165 BLE_ATT_UNIT_AMPERE_PER_SQ_METRE = BLE_ATT_UUID_16(0x2717), /**< Current density unit: ampere per square meter. */
166 BLE_ATT_UNIT_AMPERE_PER_METRE = BLE_ATT_UUID_16(0x2718), /**< Magnetic field strength unit: ampere per meter. */
167 BLE_ATT_UNIT_MOLE_PER_CUBIC_METRE = BLE_ATT_UUID_16(0x2719), /**< Amount concentration unit: mole per cubic meter. */
168 BLE_ATT_UNIT_MASS_KG_PER_CUBIC_METRE = BLE_ATT_UUID_16(0x271A), /**< Mass Concentration unit: kilogram per cubic meter. */
169 BLE_ATT_UNIT_CANDELA_PER_SQ_METRE = BLE_ATT_UUID_16(0x271B), /**< Luminance unit: candela per square meter. */
170 BLE_ATT_UNIT_REFRACTIVE_INDEX = BLE_ATT_UUID_16(0x271C), /**< Refractive index unit. */
171 BLE_ATT_UNIT_RELATIVE_PERMEABILITY = BLE_ATT_UUID_16(0x271D), /**< Relative permeability unit. */
172 BLE_ATT_UNIT_RADIAN = BLE_ATT_UUID_16(0x2720), /**< Plane angle unit: radian. */
173 BLE_ATT_UNIT_STERADIAN = BLE_ATT_UUID_16(0x2721), /**< Solid angle unit: steradian. */
174 BLE_ATT_UNIT_HERTZ = BLE_ATT_UUID_16(0x2722), /**< Frequency unit: hertz. */
175 BLE_ATT_UNIT_NEWTON = BLE_ATT_UUID_16(0x2723), /**< Force unit: newton. */
176 BLE_ATT_UNIT_PASCAL = BLE_ATT_UUID_16(0x2724), /**< Pressure unit: pascal. */
177 BLE_ATT_UNIT_JOULE = BLE_ATT_UUID_16(0x2725), /**< Energy unit: joule. */
178 BLE_ATT_UNIT_WATT = BLE_ATT_UUID_16(0x2726), /**< Power unit: watt. */
179 BLE_ATT_UNIT_COULOMB = BLE_ATT_UUID_16(0x2727), /**< Electric Charge unit: coulomb. */
180 BLE_ATT_UNIT_VOLT = BLE_ATT_UUID_16(0x2728), /**< Electric potential difference unit: Volt. */
181 BLE_ATT_UNIT_FARAD = BLE_ATT_UUID_16(0x2729), /**< Capacitance unit: Farad. */
182 BLE_ATT_UNIT_OHM = BLE_ATT_UUID_16(0x272A), /**< Electric resistance unit: ohm. */
183 BLE_ATT_UNIT_SIEMENS = BLE_ATT_UUID_16(0x272B), /**< Electric conductance unit: siemens. */
184 BLE_ATT_UNIT_WEBER = BLE_ATT_UUID_16(0x272C), /**< Magnetic flux unit: weber. */
185 BLE_ATT_UNIT_TESLA = BLE_ATT_UUID_16(0x272D), /**< Magnetic flux density unit: Tesla. */
186 BLE_ATT_UNIT_HENRY = BLE_ATT_UUID_16(0x272E), /**< Inductance unit: henry. */
187 BLE_ATT_UNIT_CELSIUS = BLE_ATT_UUID_16(0x272F), /**< Temperature unit: degree Celsius. */
188 BLE_ATT_UNIT_LUMEN = BLE_ATT_UUID_16(0x2730), /**< Luminous flux unit: lumen. */
189 BLE_ATT_UNIT_LUX = BLE_ATT_UUID_16(0x2731), /**< Illuminance unit: lux. */
190 BLE_ATT_UNIT_BECQUEREL = BLE_ATT_UUID_16(0x2732), /**< Activity referred to a radionuclide unit: becquerel. */
191 BLE_ATT_UNIT_GRAY = BLE_ATT_UUID_16(0x2733), /**< Absorbed dose unit: gray. */
192 BLE_ATT_UNIT_SIEVERT = BLE_ATT_UUID_16(0x2734), /**< Dose equivalent unit: sievert. */
193 BLE_ATT_UNIT_KATAL = BLE_ATT_UUID_16(0x2735), /**< Catalytic activity unit: katal. */
194 BLE_ATT_UNIT_PASCAL_SECOND = BLE_ATT_UUID_16(0x2740), /**< Synamic viscosity unit: pascal second. */
195 BLE_ATT_UNIT_NEWTON_METRE = BLE_ATT_UUID_16(0x2741), /**< Moment of force unit: newton meter. */
196 BLE_ATT_UNIT_NEWTON_PER_METRE = BLE_ATT_UUID_16(0x2742), /**< Surface tension unit: newton per meter. */
197 BLE_ATT_UNIT_RADIAN_PER_SECOND = BLE_ATT_UUID_16(0x2743), /**< Angular velocity unit: radian per second. */
198 BLE_ATT_UNIT_RADIAN_PER_SECOND_SQ = BLE_ATT_UUID_16(0x2744), /**< Angular acceleration unit: radian per second squared. */
199 BLE_ATT_UNIT_WATT_PER_SQ_METRE = BLE_ATT_UUID_16(0x2745), /**< Heat flux density unit: watt per square meter. */
200 BLE_ATT_UNIT_JOULE_PER_KELVIN = BLE_ATT_UUID_16(0x2746), /**< Heat capacity unit: joule per Kelvin. */
201 BLE_ATT_UNIT_JOULE_PER_KG_KELVIN = BLE_ATT_UUID_16(0x2747), /**< Specific heat capacity unit: joule per kilogram kelvin. */
202 BLE_ATT_UNIT_JOULE_PER_KG = BLE_ATT_UUID_16(0x2748), /**< Specific Energy unit: joule per kilogram. */
203 BLE_ATT_UNIT_WATT_PER_METRE_KELVIN = BLE_ATT_UUID_16(0x2749), /**< Thermal conductivity unit: watt per meter Kelvin. */
204 BLE_ATT_UNIT_JOULE_PER_CUBIC_METRE = BLE_ATT_UUID_16(0x274A), /**< Energy Density unit: joule per cubic meter. */
205 BLE_ATT_UNIT_VOLT_PER_METRE = BLE_ATT_UUID_16(0x274B), /**< Electric field strength unit: volt per meter. */
206 BLE_ATT_UNIT_COULOMB_PER_CUBIC_METRE = BLE_ATT_UUID_16(0x274C), /**< Electric charge density unit: coulomb per cubic meter. */
207 BLE_ATT_UNIT_SURF_COULOMB_PER_SQ_METRE = BLE_ATT_UUID_16(0x274D), /**< Surface charge density unit: coulomb per square meter. */
208 BLE_ATT_UNIT_FLUX_COULOMB_PER_SQ_METRE = BLE_ATT_UUID_16(0x274E), /**< Electric flux density unit: coulomb per square meter. */
209 BLE_ATT_UNIT_FARAD_PER_METRE = BLE_ATT_UUID_16(0x274F), /**< Permittivity unit: farad per meter. */
210 BLE_ATT_UNIT_HENRY_PER_METRE = BLE_ATT_UUID_16(0x2750), /**< Permeability unit: henry per meter. */
211 BLE_ATT_UNIT_JOULE_PER_MOLE = BLE_ATT_UUID_16(0x2751), /**< Molar energy unit: joule per mole. */
212 BLE_ATT_UNIT_JOULE_PER_MOLE_KELVIN = BLE_ATT_UUID_16(0x2752), /**< Molar entropy unit: joule per mole kelvin. */
213 BLE_ATT_UNIT_COULOMB_PER_KG = BLE_ATT_UUID_16(0x2753), /**< Exposure unit: coulomb per kilogram. */
214 BLE_ATT_UNIT_GRAY_PER_SECOND = BLE_ATT_UUID_16(0x2754), /**< Absorbed dose rate unit: gray per second. */
215 BLE_ATT_UNIT_WATT_PER_STERADIAN = BLE_ATT_UUID_16(0x2755), /**< Radiant intensity unit: watt per steradian. */
216 BLE_ATT_UNIT_WATT_PER_SQ_METRE_STERADIAN = BLE_ATT_UUID_16(0x2756), /**< Radiance unit: watt per square meter steradian. */
217 BLE_ATT_UNIT_KATAL_PER_CUBIC_METRE = BLE_ATT_UUID_16(0x2757), /**< Catalytic activity concentration unit: katal per cubic meter. */
218 BLE_ATT_UNIT_MINUTE = BLE_ATT_UUID_16(0x2760), /**< Time unit: minute. */
219 BLE_ATT_UNIT_HOUR = BLE_ATT_UUID_16(0x2761), /**< Time unit: hour. */
220 BLE_ATT_UNIT_DAY = BLE_ATT_UUID_16(0x2762), /**< Time unit: day. */
221 BLE_ATT_UNIT_ANGLE_DEGREE = BLE_ATT_UUID_16(0x2763), /**< Plane angle unit: degree. */
222 BLE_ATT_UNIT_ANGLE_MINUTE = BLE_ATT_UUID_16(0x2764), /**< Plane angle unit: minute. */
223 BLE_ATT_UNIT_ANGLE_SECOND = BLE_ATT_UUID_16(0x2765), /**< Plane angle unit: second. */
224 BLE_ATT_UNIT_HECTARE = BLE_ATT_UUID_16(0x2766), /**< Area unit: hectare. */
225 BLE_ATT_UNIT_LITRE = BLE_ATT_UUID_16(0x2767), /**< Volume unit: litre. */
226 BLE_ATT_UNIT_TONNE = BLE_ATT_UUID_16(0x2768), /**< Mass unit: tonne. */
227 BLE_ATT_UNIT_BAR = BLE_ATT_UUID_16(0x2780), /**< Pressure unit: bar. */
228 BLE_ATT_UNIT_MM_MERCURY = BLE_ATT_UUID_16(0x2781), /**< Pressure unit: millimetre of mercury. */
229 BLE_ATT_UNIT_ANGSTROM = BLE_ATT_UUID_16(0x2782), /**< Length unit: angstrom. */
230 BLE_ATT_UNIT_NAUTICAL_MILE = BLE_ATT_UUID_16(0x2783), /**< Length unit: nautical mile. */
231 BLE_ATT_UNIT_BARN = BLE_ATT_UUID_16(0x2784), /**< Area unit: barn. */
232 BLE_ATT_UNIT_KNOT = BLE_ATT_UUID_16(0x2785), /**< Velocity unit: knot. */
233 BLE_ATT_UNIT_NEPER = BLE_ATT_UUID_16(0x2786), /**< Logarithmic radio quantity unit: neper. */
234 BLE_ATT_UNIT_BEL = BLE_ATT_UUID_16(0x2787), /**< Logarithmic radio quantity unit: bel. */
235 BLE_ATT_UNIT_YARD = BLE_ATT_UUID_16(0x27A0), /**< Length unit: yard. */
236 BLE_ATT_UNIT_PARSEC = BLE_ATT_UUID_16(0x27A1), /**< Length unit: parsec. */
237 BLE_ATT_UNIT_INCH = BLE_ATT_UUID_16(0x27A2), /**< Length unit: inch. */
238 BLE_ATT_UNIT_FOOT = BLE_ATT_UUID_16(0x27A3), /**< Length unit: foot. */
239 BLE_ATT_UNIT_MILE = BLE_ATT_UUID_16(0x27A4), /**< Length unit: mile. */
240 BLE_ATT_UNIT_POUND_FORCE_PER_SQ_INCH = BLE_ATT_UUID_16(0x27A5), /**< Pressure unit: pound-force per square inch. */
241 BLE_ATT_UNIT_KM_PER_HOUR = BLE_ATT_UUID_16(0x27A6), /**< Velocity unit: kilometre per hour. */
242 BLE_ATT_UNIT_MILE_PER_HOUR = BLE_ATT_UUID_16(0x27A7), /**< Velocity unit: mile per hour. */
243 BLE_ATT_UNIT_REVOLUTION_PER_MINUTE = BLE_ATT_UUID_16(0x27A8), /**< Angular velocity unit: revolution per minute. */
244 BLE_ATT_UNIT_GRAM_CALORIE = BLE_ATT_UUID_16(0x27A9), /**< Energy unit: gram calorie. */
245 BLE_ATT_UNIT_KG_CALORIE = BLE_ATT_UUID_16(0x27AA), /**< Energy unit: kilogram calorie. */
246 BLE_ATT_UNIT_KILOWATT_HOUR = BLE_ATT_UUID_16(0x27AB), /**< Energy unit: kilowatt hour. */
247 BLE_ATT_UNIT_FAHRENHEIT = BLE_ATT_UUID_16(0x27AC), /**< Thermodynamic temperature unit: degree Fahrenheit. */
248 BLE_ATT_UNIT_PERCENTAGE = BLE_ATT_UUID_16(0x27AD), /**< Unit: Percentage. */
249 BLE_ATT_UNIT_PER_MILLE = BLE_ATT_UUID_16(0x27AE), /**< Unit: per mille. */
250 BLE_ATT_UNIT_BEATS_PER_MINUTE = BLE_ATT_UUID_16(0x27AF), /**< Period unit: beats per minute. */
251 BLE_ATT_UNIT_AMPERE_HOURS = BLE_ATT_UUID_16(0x27B0), /**< Electric charge unit: ampere hours. */
252 BLE_ATT_UNIT_MILLIGRAM_PER_DECILITRE = BLE_ATT_UUID_16(0x27B1), /**< Mass density unit: milligram per decilitre. */
253 BLE_ATT_UNIT_MILLIMOLE_PER_LITRE = BLE_ATT_UUID_16(0x27B2), /**< Mass density unit: millimole per litre. */
254 BLE_ATT_UNIT_YEAR = BLE_ATT_UUID_16(0x27B3), /**< Time unit: year. */
255 BLE_ATT_UNIT_MONTH = BLE_ATT_UUID_16(0x27B4), /**< Time unit: month. */
256
257 /*---------------- DECLARATIONS -----------------*/
258 BLE_ATT_DECL_PRIMARY_SERVICE = BLE_ATT_UUID_16(0x2800), /**< Primary service Declaration. */
259 BLE_ATT_DECL_SECONDARY_SERVICE = BLE_ATT_UUID_16(0x2801), /**< Secondary service Declaration. */
260 BLE_ATT_DECL_INCLUDE = BLE_ATT_UUID_16(0x2802), /**< Include Declaration. */
261 BLE_ATT_DECL_CHARACTERISTIC = BLE_ATT_UUID_16(0x2803), /**< Characteristic Declaration. */
262
263 /*----------------- DESCRIPTORS -----------------*/
264 BLE_ATT_DESC_CHAR_EXT_PROPERTIES = BLE_ATT_UUID_16(0x2900), /**< Characteristic extended properties. */
265 BLE_ATT_DESC_CHAR_USER_DESCRIPTION = BLE_ATT_UUID_16(0x2901), /**< Characteristic user description. */
266 BLE_ATT_DESC_CLIENT_CHAR_CFG = BLE_ATT_UUID_16(0x2902), /**< Client characteristic configuration. */
267 BLE_ATT_DESC_SERVER_CHAR_CFG = BLE_ATT_UUID_16(0x2903), /**< Server characteristic configuration. */
268 BLE_ATT_DESC_CHAR_PRES_FORMAT = BLE_ATT_UUID_16(0x2904), /**< Characteristic Presentation Format. */
269 BLE_ATT_DESC_CHAR_AGGREGATE_FORMAT = BLE_ATT_UUID_16(0x2905), /**< Characteristic Aggregate Format. */
270 BLE_ATT_DESC_VALID_RANGE = BLE_ATT_UUID_16(0x2906), /**< Valid Range. */
271 BLE_ATT_DESC_EXT_REPORT_REF = BLE_ATT_UUID_16(0x2907), /**< External Report Reference. */
272 BLE_ATT_DESC_REPORT_REF = BLE_ATT_UUID_16(0x2908), /**< Report Reference. */
273 BLE_ATT_DESC_ES_CONFIGURATION = BLE_ATT_UUID_16(0x290B), /**< Environmental Sensing Configuration. */
274 BLE_ATT_DESC_ES_MEASUREMENT = BLE_ATT_UUID_16(0x290C), /**< Environmental Sensing Measurement. */
275 BLE_ATT_DESC_ES_TRIGGER_SETTING = BLE_ATT_UUID_16(0x290D), /**< Environmental Sensing Trigger Setting. */
276
277 /*--------------- CHARACTERISTICS ---------------*/
278 BLE_ATT_CHAR_DEVICE_NAME = BLE_ATT_UUID_16(0x2A00), /**< Device name. */
279 BLE_ATT_CHAR_APPEARANCE = BLE_ATT_UUID_16(0x2A01), /**< Appearance. */
280 BLE_ATT_CHAR_PRIVACY_FLAG = BLE_ATT_UUID_16(0x2A02), /**< Privacy flag. */
281 BLE_ATT_CHAR_RECONNECTION_ADDR = BLE_ATT_UUID_16(0x2A03), /**< Reconnection address. */
282 BLE_ATT_CHAR_PERIPH_PREF_CON_PARAM = BLE_ATT_UUID_16(0x2A04), /**< Peripheral preferred connection parameters. */
283 BLE_ATT_CHAR_SERVICE_CHANGED = BLE_ATT_UUID_16(0x2A05), /**< Service handles changed. */
284 BLE_ATT_CHAR_ALERT_LEVEL = BLE_ATT_UUID_16(0x2A06), /**< Alert Level characteristic. */
285 BLE_ATT_CHAR_TX_POWER_LEVEL = BLE_ATT_UUID_16(0x2A07), /**< Tx Power Level. */
286 BLE_ATT_CHAR_DATE_TIME = BLE_ATT_UUID_16(0x2A08), /**< Date Time. */
287 BLE_ATT_CHAR_DAY_WEEK = BLE_ATT_UUID_16(0x2A09), /**< Day of Week. */
288 BLE_ATT_CHAR_DAY_DATE_TIME = BLE_ATT_UUID_16(0x2A0A), /**< Day Date Time. */
289 BLE_ATT_CHAR_EXACT_TIME_256 = BLE_ATT_UUID_16(0x2A0C), /**< Exact time 256. */
290 BLE_ATT_CHAR_DST_OFFSET = BLE_ATT_UUID_16(0x2A0D), /**< DST Offset. */
291 BLE_ATT_CHAR_TIME_ZONE = BLE_ATT_UUID_16(0x2A0E), /**< Time zone. */
292 BLE_ATT_CHAR_LOCAL_TIME_INFO = BLE_ATT_UUID_16(0x2A0F), /**< Local time Information. */
293 BLE_ATT_CHAR_TIME_WITH_DST = BLE_ATT_UUID_16(0x2A11), /**< Time with DST. */
294 BLE_ATT_CHAR_TIME_ACCURACY = BLE_ATT_UUID_16(0x2A12), /**< Time Accuracy. */
295 BLE_ATT_CHAR_TIME_SOURCE = BLE_ATT_UUID_16(0x2A13), /**< Time Source. */
296 BLE_ATT_CHAR_REFERENCE_TIME_INFO = BLE_ATT_UUID_16(0x2A14), /**< Reference Time Information. */
297 BLE_ATT_CHAR_TIME_UPDATE_CNTL_POINT = BLE_ATT_UUID_16(0x2A16), /**< Time Update Control Point. */
298 BLE_ATT_CHAR_TIME_UPDATE_STATE = BLE_ATT_UUID_16(0x2A17), /**< Time Update State. */
299 BLE_ATT_CHAR_GLUCOSE_MEAS = BLE_ATT_UUID_16(0x2A18), /**< Glucose Measurement. */
300 BLE_ATT_CHAR_BATTERY_LEVEL = BLE_ATT_UUID_16(0x2A19), /**< Battery Level. */
301 BLE_ATT_CHAR_TEMPERATURE_MEAS = BLE_ATT_UUID_16(0x2A1C), /**< Temperature Measurement. */
302 BLE_ATT_CHAR_TEMPERATURE_TYPE = BLE_ATT_UUID_16(0x2A1D), /**< Temperature Type. */
303 BLE_ATT_CHAR_INTERMED_TEMPERATURE = BLE_ATT_UUID_16(0x2A1E), /**< Intermediate Temperature. */
304 BLE_ATT_CHAR_MEAS_INTERVAL = BLE_ATT_UUID_16(0x2A21), /**< Measurement Interval. */
305 BLE_ATT_CHAR_BOOT_KB_IN_REPORT = BLE_ATT_UUID_16(0x2A22), /**< Boot Keyboard Input Report. */
306 BLE_ATT_CHAR_SYS_ID = BLE_ATT_UUID_16(0x2A23), /**< System ID. */
307 BLE_ATT_CHAR_MODEL_NB = BLE_ATT_UUID_16(0x2A24), /**< Model Number String. */
308 BLE_ATT_CHAR_SERIAL_NB = BLE_ATT_UUID_16(0x2A25), /**< Serial Number String. */
309 BLE_ATT_CHAR_FW_REV = BLE_ATT_UUID_16(0x2A26), /**< Firmware Revision String. */
310 BLE_ATT_CHAR_HW_REV = BLE_ATT_UUID_16(0x2A27), /**< Hardware revision String. */
311 BLE_ATT_CHAR_SW_REV = BLE_ATT_UUID_16(0x2A28), /**< Software Revision String. */
312 BLE_ATT_CHAR_MANUF_NAME = BLE_ATT_UUID_16(0x2A29), /**< Manufacturer Name String. */
313 BLE_ATT_CHAR_IEEE_CERTIF = BLE_ATT_UUID_16(0x2A2A), /**< IEEE Regulatory Certification Data List. */
314 BLE_ATT_CHAR_CT_TIME = BLE_ATT_UUID_16(0x2A2B), /**< CT Time. */
315 BLE_ATT_CHAR_MAGN_DECLINE = BLE_ATT_UUID_16(0x2A2C), /**< Magnetic Declination. */
316 BLE_ATT_CHAR_SCAN_REFRESH = BLE_ATT_UUID_16(0x2A31), /**< Scan Refresh. */
317 BLE_ATT_CHAR_BOOT_KB_OUT_REPORT = BLE_ATT_UUID_16(0x2A32), /**< Boot Keyboard Output Report. */
318 BLE_ATT_CHAR_BOOT_MOUSE_IN_REPORT = BLE_ATT_UUID_16(0x2A33), /**< Boot Mouse Input Report. */
319 BLE_ATT_CHAR_GLUCOSE_MEAS_CTX = BLE_ATT_UUID_16(0x2A34), /**< Glucose Measurement Context. */
320 BLE_ATT_CHAR_BLOOD_PRESSURE_MEAS = BLE_ATT_UUID_16(0x2A35), /**< Blood Pressure Measurement. */
321 BLE_ATT_CHAR_INTERMEDIATE_CUFF_PRESSURE = BLE_ATT_UUID_16(0x2A36), /**< Intermediate Cuff Pressure. */
322 BLE_ATT_CHAR_HEART_RATE_MEAS = BLE_ATT_UUID_16(0x2A37), /**< Heart Rate Measurement. */
323 BLE_ATT_CHAR_BODY_SENSOR_LOCATION = BLE_ATT_UUID_16(0x2A38), /**< Body Sensor Location. */
324 BLE_ATT_CHAR_HEART_RATE_CNTL_POINT = BLE_ATT_UUID_16(0x2A39), /**< Heart Rate Control Point. */
325 BLE_ATT_CHAR_ALERT_STATUS = BLE_ATT_UUID_16(0x2A3F), /**< Alert Status. */
326 BLE_ATT_CHAR_RINGER_CNTL_POINT = BLE_ATT_UUID_16(0x2A40), /**< Ringer Control Point. */
327 BLE_ATT_CHAR_RINGER_SETTING = BLE_ATT_UUID_16(0x2A41), /**< Ringer Setting. */
328 BLE_ATT_CHAR_ALERT_CAT_ID_BIT_MASK = BLE_ATT_UUID_16(0x2A42), /**< Alert Category ID Bit Mask. */
329 BLE_ATT_CHAR_ALERT_CAT_ID = BLE_ATT_UUID_16(0x2A43), /**< Alert Category ID. */
330 BLE_ATT_CHAR_ALERT_NTF_CTNL_PT = BLE_ATT_UUID_16(0x2A44), /**< Alert Notification Control Point. */
331 BLE_ATT_CHAR_UNREAD_ALERT_STATUS = BLE_ATT_UUID_16(0x2A45), /**< Unread Alert Status. */
332 BLE_ATT_CHAR_NEW_ALERT = BLE_ATT_UUID_16(0x2A46), /**< New Alert. */
333 BLE_ATT_CHAR_SUP_NEW_ALERT_CAT = BLE_ATT_UUID_16(0x2A47), /**< Supported New Alert Category. */
334 BLE_ATT_CHAR_SUP_UNREAD_ALERT_CAT = BLE_ATT_UUID_16(0x2A48), /**< Supported Unread Alert Category. */
335 BLE_ATT_CHAR_BLOOD_PRESSURE_FEATURE = BLE_ATT_UUID_16(0x2A49), /**< Blood Pressure Feature. */
336 BLE_ATT_CHAR_HID_INFO = BLE_ATT_UUID_16(0x2A4A), /**< HID Information. */
337 BLE_ATT_CHAR_REPORT_MAP = BLE_ATT_UUID_16(0x2A4B), /**< Report Map. */
338 BLE_ATT_CHAR_HID_CTNL_PT = BLE_ATT_UUID_16(0x2A4C), /**< HID Control Point. */
339 BLE_ATT_CHAR_REPORT = BLE_ATT_UUID_16(0x2A4D), /**< Report. */
340 BLE_ATT_CHAR_PROTOCOL_MODE = BLE_ATT_UUID_16(0x2A4E), /**< Protocol Mode. */
341 BLE_ATT_CHAR_SCAN_INTV_WD = BLE_ATT_UUID_16(0x2A4F), /**< Scan Interval Window. */
342 BLE_ATT_CHAR_PNP_ID = BLE_ATT_UUID_16(0x2A50), /**< PnP ID. */
343 BLE_ATT_CHAR_GLUCOSE_FEATURE = BLE_ATT_UUID_16(0x2A51), /**< Glucose Feature. */
344 BLE_ATT_CHAR_REC_ACCESS_CTRL_PT = BLE_ATT_UUID_16(0x2A52), /**< Record access control point. */
345 BLE_ATT_CHAR_RSC_MEAS = BLE_ATT_UUID_16(0x2A53), /**< RSC Measurement. */
346 BLE_ATT_CHAR_RSC_FEAT = BLE_ATT_UUID_16(0x2A54), /**< RSC Feature. */
347 BLE_ATT_CHAR_SC_CNTL_PT = BLE_ATT_UUID_16(0x2A55), /**< SC Control Point. */
348 BLE_ATT_CHAR_CSC_MEAS = BLE_ATT_UUID_16(0x2A5B), /**< CSC Measurement. */
349 BLE_ATT_CHAR_CSC_FEAT = BLE_ATT_UUID_16(0x2A5C), /**< CSC Feature. */
350 BLE_ATT_CHAR_SENSOR_LOC = BLE_ATT_UUID_16(0x2A5D), /**< Sensor Location. */
351 BLE_ATT_CHAR_PLX_SPOT_CHECK_MEASUREMENT_LOC = BLE_ATT_UUID_16(0x2A5E), /**< PLX Spot-Check Measurement. */
352 BLE_ATT_CHAR_PLX_CONTINUOUS_MEASUREMENT_LOC = BLE_ATT_UUID_16(0x2A5F), /**< PLX Continuous Measurement. */
353 BLE_ATT_CHAR_PLX_FEATURES_LOC = BLE_ATT_UUID_16(0x2A60), /**< PLX Features. */
354 BLE_ATT_CHAR_CP_MEAS = BLE_ATT_UUID_16(0x2A63), /**< CP Measurement. */
355 BLE_ATT_CHAR_CP_VECTOR = BLE_ATT_UUID_16(0x2A64), /**< CP Vector. */
356 BLE_ATT_CHAR_CP_FEAT = BLE_ATT_UUID_16(0x2A65), /**< CP Feature. */
357 BLE_ATT_CHAR_CP_CNTL_PT = BLE_ATT_UUID_16(0x2A66), /**< CP Control Point. */
358 BLE_ATT_CHAR_LOC_SPEED = BLE_ATT_UUID_16(0x2A67), /**< Location and Speed. */
359 BLE_ATT_CHAR_NAVIGATION = BLE_ATT_UUID_16(0x2A68), /**< Navigation. */
360 BLE_ATT_CHAR_POS_QUALITY = BLE_ATT_UUID_16(0x2A69), /**< Position Quality. */
361 BLE_ATT_CHAR_LN_FEAT = BLE_ATT_UUID_16(0x2A6A), /**< LN Feature. */
362 BLE_ATT_CHAR_LN_CNTL_PT = BLE_ATT_UUID_16(0x2A6B), /**< LN Control Point. */
363 BLE_ATT_CHAR_ELEVATION = BLE_ATT_UUID_16(0x2A6C), /**< Elevation. */
364 BLE_ATT_CHAR_PRESSURE = BLE_ATT_UUID_16(0x2A6D), /**< Pressure. */
365 BLE_ATT_CHAR_TEMPERATURE = BLE_ATT_UUID_16(0x2A6E), /**< Temperature. */
366 BLE_ATT_CHAR_HUMIDITY = BLE_ATT_UUID_16(0x2A6F), /**< Humidity. */
367 BLE_ATT_CHAR_TRUE_WIND_SPEED = BLE_ATT_UUID_16(0x2A70), /**< True Wind Speed. */
368 BLE_ATT_CHAR_TRUE_WIND_DIR = BLE_ATT_UUID_16(0x2A71), /**< True Wind Direction. */
369 BLE_ATT_CHAR_APRNT_WIND_SPEED = BLE_ATT_UUID_16(0x2A72), /**< Apparent Wind Speed. */
370 BLE_ATT_CHAR_APRNT_WIND_DIRECTION = BLE_ATT_UUID_16(0x2A73), /**< Apparent Wind Direction. */
371 BLE_ATT_CHAR_GUST_FACTOR = BLE_ATT_UUID_16(0x2A74), /**< Gust Factor. */
372 BLE_ATT_CHAR_POLLEN_CONC = BLE_ATT_UUID_16(0x2A75), /**< Pollen Concentration. */
373 BLE_ATT_CHAR_UV_INDEX = BLE_ATT_UUID_16(0x2A76), /**< UV Index. */
374 BLE_ATT_CHAR_IRRADIANCE = BLE_ATT_UUID_16(0x2A77), /**< Irradiance. */
375 BLE_ATT_CHAR_RAINFALL = BLE_ATT_UUID_16(0x2A78), /**< Rainfall. */
376 BLE_ATT_CHAR_WIND_CHILL = BLE_ATT_UUID_16(0x2A79), /**< Wind Chill. */
377 BLE_ATT_CHAR_HEAT_INDEX = BLE_ATT_UUID_16(0x2A7A), /**< Heat Index. */
378 BLE_ATT_CHAR_DEW_POINT = BLE_ATT_UUID_16(0x2A7B), /**< Dew Point. */
379 BLE_ATT_CHAR_DESCRIPTOR_VALUE_CHANGED = BLE_ATT_UUID_16(0x2A7D), /**< Descriptor Value Changed. */
380 BLE_ATT_CHAR_AEROBIC_HEART_RATE_LOWER_LIMIT = BLE_ATT_UUID_16(0x2A7E), /**< Aerobic Heart Rate Lower Limit. */
381 BLE_ATT_CHAR_AEROBIC_THRESHOLD = BLE_ATT_UUID_16(0x2A7F), /**< Aerobic Threshold. */
382 BLE_ATT_CHAR_AGE = BLE_ATT_UUID_16(0x2A80), /**< Age. */
383 BLE_ATT_CHAR_ANAEROBIC_HEART_RATE_LOWER_LIMIT = BLE_ATT_UUID_16(0x2A81), /**< Anaerobic Heart Rate Lower Limit. */
384 BLE_ATT_CHAR_ANAEROBIC_HEART_RATE_UPPER_LIMIT = BLE_ATT_UUID_16(0x2A82), /**< Anaerobic Heart Rate Upper Limit. */
385 BLE_ATT_CHAR_ANAEROBIC_THRESHHOLD = BLE_ATT_UUID_16(0x2A83), /**< Anaerobic Threshhold. */
386 BLE_ATT_CHAR_AEROBIC_HEART_RATE_UPPER_LIMIT = BLE_ATT_UUID_16(0x2A84), /**< Aerobic Heart Rate Upper Limit. */
387 BLE_ATT_CHAR_DATE_OF_BIRTH = BLE_ATT_UUID_16(0x2A85), /**< Date of Birth. */
388 BLE_ATT_CHAR_DATE_OF_THRESHOLD_ASSESSMENT = BLE_ATT_UUID_16(0x2A86), /**< Date of Threshold Assessment. */
389 BLE_ATT_CHAR_EMAIL_ADDRESS = BLE_ATT_UUID_16(0x2A87), /**< Email Address. */
390 BLE_ATT_CHAR_FAT_BURN_HEART_RATE_LOWER_LIMIT = BLE_ATT_UUID_16(0x2A88), /**< Fat Burn Heart Rate Lower Limit. */
391 BLE_ATT_CHAR_FAT_BURN_HEART_RATE_UPPER_LIMIT = BLE_ATT_UUID_16(0x2A89), /**< Fat Burn Heart Rate Upper Limit. */
392 BLE_ATT_CHAR_FIRST_NAME = BLE_ATT_UUID_16(0x2A8A), /**< First Name. */
393 BLE_ATT_CHAR_FIVE_ZONE_HEART_RATE_LIMITS = BLE_ATT_UUID_16(0x2A8B), /**< Five Zone Heart Rate Limits. */
394 BLE_ATT_CHAR_GENDER = BLE_ATT_UUID_16(0x2A8C), /**< Gender. */
395 BLE_ATT_CHAR_MAX_HEART_RATE = BLE_ATT_UUID_16(0x2A8D), /**< Max Heart Rate. */
396 BLE_ATT_CHAR_HEIGHT = BLE_ATT_UUID_16(0x2A8E), /**< Height. */
397 BLE_ATT_CHAR_HIP_CIRCUMFERENCE = BLE_ATT_UUID_16(0x2A8F), /**< Hip Circumference. */
398 BLE_ATT_CHAR_LAST_NAME = BLE_ATT_UUID_16(0x2A90), /**< Last Name. */
399 BLE_ATT_CHAR_MAXIMUM_RECOMMENDED_HEART_RATE = BLE_ATT_UUID_16(0x2A91), /**< Maximum Recommended Heart Rate. */
400 BLE_ATT_CHAR_RESTING_HEART_RATE = BLE_ATT_UUID_16(0x2A92), /**< Resting Heart Rate. */
401 BLE_ATT_CHAR_SPORT_TYPE_FOR_AEROBIC_AND_ANAEROBIC_THRESHOLDS = BLE_ATT_UUID_16(0x2A93), /**< Sport Type For Aerobic And Anaerobic Thresholds. */
402 BLE_ATT_CHAR_THREE_ZONE_HEART_RATE_LIMITS = BLE_ATT_UUID_16(0x2A94), /**< Three Zone Heart Rate Limits. */
403 BLE_ATT_CHAR_TWO_ZONE_HEART_RATE_LIMIT = BLE_ATT_UUID_16(0x2A95), /**< Two Zone Heart Rate Limits. */
404 BLE_ATT_CHAR_VO2_MAX = BLE_ATT_UUID_16(0x2A96), /**< Vo2 Max. */
405 BLE_ATT_CHAR_WAIST_CIRCUMFERENCE = BLE_ATT_UUID_16(0x2A97), /**< Waist Circumference. */
406 BLE_ATT_CHAR_WEIGHT = BLE_ATT_UUID_16(0x2A98), /**< Weight. */
407 BLE_ATT_CHAR_DATABASE_CHANGE_INCREMENT = BLE_ATT_UUID_16(0x2A99), /**< Database Change Increment. */
408 BLE_ATT_CHAR_USER_INDEX = BLE_ATT_UUID_16(0x2A9A), /**< User Index. */
409 BLE_ATT_CHAR_BODY_COMPOSITION_FEATURE = BLE_ATT_UUID_16(0x2A9B), /**< Body Composition Feature. */
410 BLE_ATT_CHAR_BODY_COMPOSITION_MEASUREMENT = BLE_ATT_UUID_16(0x2A9C), /**< Body Composition Measurement. */
411 BLE_ATT_CHAR_WEIGHT_MEASUREMENT = BLE_ATT_UUID_16(0x2A9D), /**< Weight Measurement. */
412 BLE_ATT_CHAR_WEIGHT_SCALE_FEATURE = BLE_ATT_UUID_16(0x2A9E), /**< Weight Scale Feature. */
413 BLE_ATT_CHAR_USER_CONTROL_POINT = BLE_ATT_UUID_16(0x2A9F), /**< User Control Point. */
414 BLE_ATT_CHAR_MAGN_FLUX_2D = BLE_ATT_UUID_16(0x2AA0), /**< Flux Density - 2D. */
415 BLE_ATT_CHAR_MAGN_FLUX_3D = BLE_ATT_UUID_16(0x2AA1), /**< Magnetic Flux Density - 3D. */
416 BLE_ATT_CHAR_LANGUAGE = BLE_ATT_UUID_16(0x2AA2), /**< Language string. */
417 BLE_ATT_CHAR_BAR_PRES_TREND = BLE_ATT_UUID_16(0x2AA3), /**< Barometric Pressure Trend. */
418 BLE_ATT_CHAR_CTL_ADDR_RESOL_SUPP = BLE_ATT_UUID_16(0x2AA6), /**< Central Address Resolution Support. */
419 BLE_ATT_CHAR_OTS_FEATURES = BLE_ATT_UUID_16(0x2ABD), /**< OTS Service Feature. */
420 BLE_ATT_CHAR_OTS_OBJECT_NAME = BLE_ATT_UUID_16(0x2ABE), /**< Object Name. */
421 BLE_ATT_CHAR_OTS_OBJECT_TYPE = BLE_ATT_UUID_16(0x2ABF), /**< Object Type. */
422 BLE_ATT_CHAR_OTS_OBJECT_SIZE = BLE_ATT_UUID_16(0x2AC0), /**< Object Size. */
423 BLE_ATT_CHAR_OTS_OBJECT_FIRST_CREATED = BLE_ATT_UUID_16(0x2AC1), /**< Object First Created. */
424 BLE_ATT_CHAR_OTS_OBJECT_LAST_MODIFIED = BLE_ATT_UUID_16(0x2AC2), /**< Object Last Modified. */
425 BLE_ATT_CHAR_OTS_OBJECT_ID = BLE_ATT_UUID_16(0x2AC3), /**< Object ID. */
426 BLE_ATT_CHAR_OTS_OBJECT_PROPERTIES = BLE_ATT_UUID_16(0x2AC4), /**< Object Properties. */
427 BLE_ATT_CHAR_OTS_OACP = BLE_ATT_UUID_16(0x2AC5), /**< Object Action Control Point. */
428 BLE_ATT_CHAR_OTS_OLCP = BLE_ATT_UUID_16(0x2AC6), /**< Object List Control Point. */
429 BLE_ATT_CHAR_OTS_LF = BLE_ATT_UUID_16(0x2AC7), /**< Object List Filter. */
430 BLE_ATT_CHAR_OTS_OBJECT_CHANGED = BLE_ATT_UUID_16(0x2AC8), /**< Object Changed. */
431 BLE_ATT_CHAR_RSLV_PRIV_ADDR_ONLY = BLE_ATT_UUID_16(0x2AC9), /**< Resolvable Private Address only. */
432 BLE_ATT_CHAR_CTE_ENABLE = BLE_ATT_UUID_16(0x2ACA), /**< Constant Tone Extension Enable. */
433 BLE_ATT_CHAR_CTE_ADV_MIN_LEN = BLE_ATT_UUID_16(0x2ACB), /**< Advertising Constant Tone Extension Minimum Length. */
434 BLE_ATT_CHAR_CTE_ADV_MIN_TRANS_CNT = BLE_ATT_UUID_16(0x2ACC), /**< Advertising Constant Tone Extension Minimum Transmit Count. */
435 BLE_ATT_CHAR_CTE_ADV_TRANS_DUR = BLE_ATT_UUID_16(0x2ACD), /**< Advertising Constant Tone Extension Transmit Duration. */
436 BLE_ATT_CHAR_CTE_ADV_INTERVAL = BLE_ATT_UUID_16(0x2ACE), /**< Advertising Constant Tone Extension Interval. */
437 BLE_ATT_CHAR_CTE_ADV_PHY = BLE_ATT_UUID_16(0x2ACF), /**< Advertising Constatn Tone Extension PHY. */
438
439 BLE_ATT_CHAR_CLI_SUP_FEAT = BLE_ATT_UUID_16(0x2B29), /**< Client Supported Features. */
440 BLE_ATT_CHAR_DB_HASH = BLE_ATT_UUID_16(0x2B2A), /**< Database Hash. */
441 BLE_ATT_CHAR_REGISTERED_USER = BLE_ATT_UUID_16(0X2B37), /**< Registered User. */
442 BLE_ATT_CHAR_SRV_SUP_FEAT = BLE_ATT_UUID_16(0x2B3A), /**< Server Supported Features. */
443 }att_uuid_t;
444
445 /**
446 * @brief Format for Characteristic Presentation.
447 */
448 typedef enum
449 {
450 BLE_ATT_FORMAT_BOOL = 0x01, /**< Unsigned 1-bit: true or false. */
451 BLE_ATT_FORMAT_2BIT, /**< Unsigned 2-bit integer. */
452 BLE_ATT_FORMAT_NIBBLE, /**< Unsigned 4-bit integer. */
453 BLE_ATT_FORMAT_UINT8, /**< Unsigned 8-bit integer. */
454 BLE_ATT_FORMAT_UINT12, /**< Unsigned 12-bit integer. */
455 BLE_ATT_FORMAT_UINT16, /**< Unsigned 16-bit integer. */
456 BLE_ATT_FORMAT_UINT24, /**< Unsigned 24-bit integer. */
457 BLE_ATT_FORMAT_UINT32, /**< Unsigned 32-bit integer. */
458 BLE_ATT_FORMAT_UINT48, /**< Unsigned 48-bit integer. */
459 BLE_ATT_FORMAT_UINT64, /**< Unsigned 64-bit integer. */
460 BLE_ATT_FORMAT_UINT128, /**< Unsigned 128-bit integer. */
461 BLE_ATT_FORMAT_SINT8, /**< Signed 8-bit integer. */
462 BLE_ATT_FORMAT_SINT12, /**< Signed 12-bit integer. */
463 BLE_ATT_FORMAT_SINT16, /**< Signed 16-bit integer. */
464 BLE_ATT_FORMAT_SINT24, /**< Signed 24-bit integer. */
465 BLE_ATT_FORMAT_SINT32, /**< Signed 32-bit integer. */
466 BLE_ATT_FORMAT_SINT48, /**< Signed 48-bit integer. */
467 BLE_ATT_FORMAT_SINT64, /**< Signed 64-bit integer. */
468 BLE_ATT_FORMAT_SINT128, /**< Signed 128-bit integer. */
469 BLE_ATT_FORMAT_FLOAT32, /**< IEEE-754 32-bit floating point. */
470 BLE_ATT_FORMAT_FLOAT64, /**< IEEE-754 64-bit floating point. */
471 BLE_ATT_FORMAT_SFLOAT, /**< IEEE-11073 16-bit SFLOAT. */
472 BLE_ATT_FORMAT_FLOAT, /**< IEEE-11073 32-bit FLOAT. */
473 BLE_ATT_FORMAT_DUINT16, /**< IEEE-20601 format. */
474 BLE_ATT_FORMAT_UTF8S, /**< UTF-8 string. */
475 BLE_ATT_FORMAT_UTF16S, /**< UTF-16 string. */
476 BLE_ATT_FORMAT_STRUCT, /**< Opaque structure. */
477 BLE_ATT_FORMAT_LAST /**< Last format. */
478 }att_format_t;
479 /** @} */
480
481 #endif
482 /** @} */
483 /** @} */
484
BLE_ATT_UNIT_FARAD
@ BLE_ATT_UNIT_FARAD
Capacitance unit: Farad.
Definition: ble_att.h:181
BLE_ATT_CHAR_TEMPERATURE
@ BLE_ATT_CHAR_TEMPERATURE
Temperature.
Definition: ble_att.h:365
BLE_ATT_UNIT_BAR
@ BLE_ATT_UNIT_BAR
Pressure unit: bar.
Definition: ble_att.h:227
BLE_ATT_UNIT_BEATS_PER_MINUTE
@ BLE_ATT_UNIT_BEATS_PER_MINUTE
Period unit: beats per minute.
Definition: ble_att.h:250
BLE_ATT_CHAR_SUP_UNREAD_ALERT_CAT
@ BLE_ATT_CHAR_SUP_UNREAD_ALERT_CAT
Supported Unread Alert Category.
Definition: ble_att.h:334
BLE_ATT_DESC_CHAR_EXT_PROPERTIES
@ BLE_ATT_DESC_CHAR_EXT_PROPERTIES
Characteristic extended properties.
Definition: ble_att.h:264
BLE_ATT_UNIT_JOULE_PER_CUBIC_METRE
@ BLE_ATT_UNIT_JOULE_PER_CUBIC_METRE
Energy Density unit: joule per cubic meter.
Definition: ble_att.h:204
BLE_ATT_UNIT_MOLE
@ BLE_ATT_UNIT_MOLE
Amount of substance unit: mole.
Definition: ble_att.h:155
BLE_ATT_SVC_ENVIRONMENTAL_SENSING
@ BLE_ATT_SVC_ENVIRONMENTAL_SENSING
Environmental Sensing Service.
Definition: ble_att.h:134
BLE_ATT_CHAR_MEAS_INTERVAL
@ BLE_ATT_CHAR_MEAS_INTERVAL
Measurement Interval.
Definition: ble_att.h:304
BLE_ATT_DESC_ES_MEASUREMENT
@ BLE_ATT_DESC_ES_MEASUREMENT
Environmental Sensing Measurement.
Definition: ble_att.h:274
BLE_ATT_CHAR_CP_MEAS
@ BLE_ATT_CHAR_CP_MEAS
CP Measurement.
Definition: ble_att.h:354
BLE_ATT_CHAR_SYS_ID
@ BLE_ATT_CHAR_SYS_ID
System ID.
Definition: ble_att.h:306
BLE_ATT_CHAR_FAT_BURN_HEART_RATE_UPPER_LIMIT
@ BLE_ATT_CHAR_FAT_BURN_HEART_RATE_UPPER_LIMIT
Fat Burn Heart Rate Upper Limit.
Definition: ble_att.h:391
BLE_ATT_CHAR_MAXIMUM_RECOMMENDED_HEART_RATE
@ BLE_ATT_CHAR_MAXIMUM_RECOMMENDED_HEART_RATE
Maximum Recommended Heart Rate.
Definition: ble_att.h:399
BLE_ATT_CHAR_POLLEN_CONC
@ BLE_ATT_CHAR_POLLEN_CONC
Pollen Concentration.
Definition: ble_att.h:372
BLE_ATT_UNIT_LUX
@ BLE_ATT_UNIT_LUX
Illuminance unit: lux.
Definition: ble_att.h:189
BLE_ATT_CHAR_BAR_PRES_TREND
@ BLE_ATT_CHAR_BAR_PRES_TREND
Barometric Pressure Trend.
Definition: ble_att.h:417
BLE_ATT_UNIT_KG_CALORIE
@ BLE_ATT_UNIT_KG_CALORIE
Energy unit: kilogram calorie.
Definition: ble_att.h:245
BLE_ATT_UNIT_RADIAN_PER_SECOND
@ BLE_ATT_UNIT_RADIAN_PER_SECOND
Angular velocity unit: radian per second.
Definition: ble_att.h:197
BLE_ATT_CHAR_MAX_HEART_RATE
@ BLE_ATT_CHAR_MAX_HEART_RATE
Max Heart Rate.
Definition: ble_att.h:395
BLE_ATT_UNIT_LUMEN
@ BLE_ATT_UNIT_LUMEN
Luminous flux unit: lumen.
Definition: ble_att.h:188
BLE_ATT_CHAR_BODY_COMPOSITION_MEASUREMENT
@ BLE_ATT_CHAR_BODY_COMPOSITION_MEASUREMENT
Body Composition Measurement.
Definition: ble_att.h:410
BLE_ATT_UNIT_YEAR
@ BLE_ATT_UNIT_YEAR
Time unit: year.
Definition: ble_att.h:254
BLE_ATT_CHAR_DAY_WEEK
@ BLE_ATT_CHAR_DAY_WEEK
Day of Week.
Definition: ble_att.h:287
BLE_ATT_FORMAT_SINT24
@ BLE_ATT_FORMAT_SINT24
Signed 24-bit integer.
Definition: ble_att.h:464
BLE_ATT_UUID_16
#define BLE_ATT_UUID_16(uuid)
Convert CPU’s integer definition to LSB-first 16-bit UUID.
Definition: ble_att.h:55
BLE_ATT_CHAR_WEIGHT_MEASUREMENT
@ BLE_ATT_CHAR_WEIGHT_MEASUREMENT
Weight Measurement.
Definition: ble_att.h:411
BLE_ATT_FORMAT_STRUCT
@ BLE_ATT_FORMAT_STRUCT
Opaque structure.
Definition: ble_att.h:476
BLE_ATT_FORMAT_SINT16
@ BLE_ATT_FORMAT_SINT16
Signed 16-bit integer.
Definition: ble_att.h:463
BLE_ATT_UNIT_MILE_PER_HOUR
@ BLE_ATT_UNIT_MILE_PER_HOUR
Velocity unit: mile per hour.
Definition: ble_att.h:242
BLE_ATT_CHAR_OTS_OBJECT_FIRST_CREATED
@ BLE_ATT_CHAR_OTS_OBJECT_FIRST_CREATED
Object First Created.
Definition: ble_att.h:423
BLE_ATT_DESC_EXT_REPORT_REF
@ BLE_ATT_DESC_EXT_REPORT_REF
External Report Reference.
Definition: ble_att.h:271
BLE_ATT_UNIT_MINUTE
@ BLE_ATT_UNIT_MINUTE
Time unit: minute.
Definition: ble_att.h:218
BLE_ATT_UNIT_JOULE
@ BLE_ATT_UNIT_JOULE
Energy unit: joule.
Definition: ble_att.h:177
BLE_ATT_FORMAT_FLOAT
@ BLE_ATT_FORMAT_FLOAT
IEEE-11073 32-bit FLOAT.
Definition: ble_att.h:472
BLE_ATT_FORMAT_UTF16S
@ BLE_ATT_FORMAT_UTF16S
UTF-16 string.
Definition: ble_att.h:475
BLE_ATT_FORMAT_DUINT16
@ BLE_ATT_FORMAT_DUINT16
IEEE-20601 format.
Definition: ble_att.h:473
BLE_ATT_CHAR_INTERMED_TEMPERATURE
@ BLE_ATT_CHAR_INTERMED_TEMPERATURE
Intermediate Temperature.
Definition: ble_att.h:303
BLE_ATT_UNIT_WATT
@ BLE_ATT_UNIT_WATT
Power unit: watt.
Definition: ble_att.h:178
BLE_ATT_UNIT_GRAM_CALORIE
@ BLE_ATT_UNIT_GRAM_CALORIE
Energy unit: gram calorie.
Definition: ble_att.h:244
BLE_ATT_UNIT_KATAL_PER_CUBIC_METRE
@ BLE_ATT_UNIT_KATAL_PER_CUBIC_METRE
Catalytic activity concentration unit: katal per cubic meter.
Definition: ble_att.h:217
BLE_ATT_CHAR_TEMPERATURE_MEAS
@ BLE_ATT_CHAR_TEMPERATURE_MEAS
Temperature Measurement.
Definition: ble_att.h:301
BLE_ATT_UNIT_HECTARE
@ BLE_ATT_UNIT_HECTARE
Area unit: hectare.
Definition: ble_att.h:224
BLE_ATT_CHAR_ALERT_CAT_ID_BIT_MASK
@ BLE_ATT_CHAR_ALERT_CAT_ID_BIT_MASK
Alert Category ID Bit Mask.
Definition: ble_att.h:328
BLE_ATT_CHAR_USER_INDEX
@ BLE_ATT_CHAR_USER_INDEX
User Index.
Definition: ble_att.h:408
BLE_ATT_CHAR_DB_HASH
@ BLE_ATT_CHAR_DB_HASH
Database Hash.
Definition: ble_att.h:440
BLE_ATT_UNIT_KG_PER_SQ_METRE
@ BLE_ATT_UNIT_KG_PER_SQ_METRE
Surface density unit: kilogram per square meter.
Definition: ble_att.h:163
BLE_ATT_CHAR_PNP_ID
@ BLE_ATT_CHAR_PNP_ID
PnP ID.
Definition: ble_att.h:342
BLE_ATT_FORMAT_UINT128
@ BLE_ATT_FORMAT_UINT128
Unsigned 128-bit integer.
Definition: ble_att.h:460
BLE_ATT_CHAR_UNREAD_ALERT_STATUS
@ BLE_ATT_CHAR_UNREAD_ALERT_STATUS
Unread Alert Status.
Definition: ble_att.h:331
BLE_ATT_UNIT_KELVIN
@ BLE_ATT_UNIT_KELVIN
Thermodynamic Temperature unit: kelvin.
Definition: ble_att.h:154
BLE_ATT_UNIT_METRE_PER_SECOND
@ BLE_ATT_UNIT_METRE_PER_SECOND
Velocity unit: meter per second.
Definition: ble_att.h:159
BLE_ATT_CHAR_TEMPERATURE_TYPE
@ BLE_ATT_CHAR_TEMPERATURE_TYPE
Temperature Type.
Definition: ble_att.h:302
BLE_ATT_CHAR_HUMIDITY
@ BLE_ATT_CHAR_HUMIDITY
Humidity.
Definition: ble_att.h:366
att_uuid_t
att_uuid_t
Attribute Specification Definitions: Common 16-bit (Universal Unique Identifier).
Definition: ble_att.h:109
BLE_ATT_CHAR_PRESSURE
@ BLE_ATT_CHAR_PRESSURE
Pressure.
Definition: ble_att.h:364
BLE_ATT_CHAR_GLUCOSE_MEAS
@ BLE_ATT_CHAR_GLUCOSE_MEAS
Glucose Measurement.
Definition: ble_att.h:299
BLE_ATT_CHAR_BLOOD_PRESSURE_FEATURE
@ BLE_ATT_CHAR_BLOOD_PRESSURE_FEATURE
Blood Pressure Feature.
Definition: ble_att.h:335
BLE_ATT_CHAR_PROTOCOL_MODE
@ BLE_ATT_CHAR_PROTOCOL_MODE
Protocol Mode.
Definition: ble_att.h:340
BLE_ATT_UNIT_CUBIC_METRE
@ BLE_ATT_UNIT_CUBIC_METRE
Column unit: cubic meter.
Definition: ble_att.h:158
BLE_ATT_CHAR_BOOT_MOUSE_IN_REPORT
@ BLE_ATT_CHAR_BOOT_MOUSE_IN_REPORT
Boot Mouse Input Report.
Definition: ble_att.h:318
BLE_ATT_DESC_CHAR_PRES_FORMAT
@ BLE_ATT_DESC_CHAR_PRES_FORMAT
Characteristic Presentation Format.
Definition: ble_att.h:268
BLE_ATT_SVC_REF_TIME_UPDATE
@ BLE_ATT_SVC_REF_TIME_UPDATE
Reference Time Update Service.
Definition: ble_att.h:118
BLE_ATT_UNIT_JOULE_PER_KELVIN
@ BLE_ATT_UNIT_JOULE_PER_KELVIN
Heat capacity unit: joule per Kelvin.
Definition: ble_att.h:200
BLE_ATT_CHAR_FIRST_NAME
@ BLE_ATT_CHAR_FIRST_NAME
First Name.
Definition: ble_att.h:392
BLE_ATT_UNIT_MM_MERCURY
@ BLE_ATT_UNIT_MM_MERCURY
Pressure unit: millimetre of mercury.
Definition: ble_att.h:228
BLE_ATT_CHAR_WAIST_CIRCUMFERENCE
@ BLE_ATT_CHAR_WAIST_CIRCUMFERENCE
Waist Circumference.
Definition: ble_att.h:405
BLE_ATT_UNIT_INCH
@ BLE_ATT_UNIT_INCH
Length unit: inch.
Definition: ble_att.h:237
BLE_ATT_CHAR_REFERENCE_TIME_INFO
@ BLE_ATT_CHAR_REFERENCE_TIME_INFO
Reference Time Information.
Definition: ble_att.h:296
BLE_ATT_CHAR_HEART_RATE_MEAS
@ BLE_ATT_CHAR_HEART_RATE_MEAS
Heart Rate Measurement.
Definition: ble_att.h:322
BLE_ATT_UNIT_FAHRENHEIT
@ BLE_ATT_UNIT_FAHRENHEIT
Thermodynamic temperature unit: degree Fahrenheit.
Definition: ble_att.h:247
BLE_ATT_FORMAT_UINT8
@ BLE_ATT_FORMAT_UINT8
Unsigned 8-bit integer.
Definition: ble_att.h:453
BLE_ATT_FORMAT_UINT48
@ BLE_ATT_FORMAT_UINT48
Unsigned 48-bit integer.
Definition: ble_att.h:458
BLE_ATT_CHAR_RAINFALL
@ BLE_ATT_CHAR_RAINFALL
Rainfall.
Definition: ble_att.h:375
BLE_ATT_UNIT_CANDELA_PER_SQ_METRE
@ BLE_ATT_UNIT_CANDELA_PER_SQ_METRE
Luminance unit: candela per square meter.
Definition: ble_att.h:169
BLE_ATT_CHAR_CTE_ADV_INTERVAL
@ BLE_ATT_CHAR_CTE_ADV_INTERVAL
Advertising Constant Tone Extension Interval.
Definition: ble_att.h:436
BLE_ATT_CHAR_RINGER_CNTL_POINT
@ BLE_ATT_CHAR_RINGER_CNTL_POINT
Ringer Control Point.
Definition: ble_att.h:326
BLE_ATT_CHAR_ALERT_LEVEL
@ BLE_ATT_CHAR_ALERT_LEVEL
Alert Level characteristic.
Definition: ble_att.h:284
BLE_ATT_CHAR_DESCRIPTOR_VALUE_CHANGED
@ BLE_ATT_CHAR_DESCRIPTOR_VALUE_CHANGED
Descriptor Value Changed.
Definition: ble_att.h:379
BLE_ATT_UNIT_MASS_KG_PER_CUBIC_METRE
@ BLE_ATT_UNIT_MASS_KG_PER_CUBIC_METRE
Mass Concentration unit: kilogram per cubic meter.
Definition: ble_att.h:168
BLE_ATT_FORMAT_UINT64
@ BLE_ATT_FORMAT_UINT64
Unsigned 64-bit integer.
Definition: ble_att.h:459
BLE_ATT_SVC_INDOOR_POSITIONING
@ BLE_ATT_SVC_INDOOR_POSITIONING
Indoor Positioning Service.
Definition: ble_att.h:141
BLE_ATT_CHAR_RINGER_SETTING
@ BLE_ATT_CHAR_RINGER_SETTING
Ringer Setting.
Definition: ble_att.h:327
BLE_ATT_UNIT_AMPERE_PER_SQ_METRE
@ BLE_ATT_UNIT_AMPERE_PER_SQ_METRE
Current density unit: ampere per square meter.
Definition: ble_att.h:165
BLE_ATT_CHAR_OTS_OBJECT_PROPERTIES
@ BLE_ATT_CHAR_OTS_OBJECT_PROPERTIES
Object Properties.
Definition: ble_att.h:426
BLE_ATT_UNIT_JOULE_PER_KG_KELVIN
@ BLE_ATT_UNIT_JOULE_PER_KG_KELVIN
Specific heat capacity unit: joule per kilogram kelvin.
Definition: ble_att.h:201
BLE_ATT_UNIT_NEPER
@ BLE_ATT_UNIT_NEPER
Logarithmic radio quantity unit: neper.
Definition: ble_att.h:233
BLE_ATT_INVALID_UUID
@ BLE_ATT_INVALID_UUID
Invalid UUID.
Definition: ble_att.h:110
BLE_ATT_CHAR_CSC_MEAS
@ BLE_ATT_CHAR_CSC_MEAS
CSC Measurement.
Definition: ble_att.h:348
BLE_ATT_UNIT_WATT_PER_SQ_METRE
@ BLE_ATT_UNIT_WATT_PER_SQ_METRE
Heat flux density unit: watt per square meter.
Definition: ble_att.h:199
BLE_ATT_CHAR_OTS_OBJECT_TYPE
@ BLE_ATT_CHAR_OTS_OBJECT_TYPE
Object Type.
Definition: ble_att.h:421
BLE_ATT_CHAR_REGISTERED_USER
@ BLE_ATT_CHAR_REGISTERED_USER
Registered User.
Definition: ble_att.h:441
BLE_ATT_UNIT_YARD
@ BLE_ATT_UNIT_YARD
Length unit: yard.
Definition: ble_att.h:235
BLE_ATT_DECL_SECONDARY_SERVICE
@ BLE_ATT_DECL_SECONDARY_SERVICE
Secondary service Declaration.
Definition: ble_att.h:259
BLE_ATT_SVC_CONSTANT_TONE_EXTENSION
@ BLE_ATT_SVC_CONSTANT_TONE_EXTENSION
Constant Tone Extention Service.
Definition: ble_att.h:146
BLE_ATT_CHAR_HW_REV
@ BLE_ATT_CHAR_HW_REV
Hardware revision String.
Definition: ble_att.h:310
BLE_ATT_CHAR_BODY_COMPOSITION_FEATURE
@ BLE_ATT_CHAR_BODY_COMPOSITION_FEATURE
Body Composition Feature.
Definition: ble_att.h:409
BLE_ATT_UNIT_FOOT
@ BLE_ATT_UNIT_FOOT
Length unit: foot.
Definition: ble_att.h:238
BLE_ATT_SVC_CYCLING_POWER
@ BLE_ATT_SVC_CYCLING_POWER
Cycling Power Service.
Definition: ble_att.h:132
BLE_ATT_CHAR_CTE_ENABLE
@ BLE_ATT_CHAR_CTE_ENABLE
Constant Tone Extension Enable.
Definition: ble_att.h:432
BLE_ATT_UNIT_ANGLE_DEGREE
@ BLE_ATT_UNIT_ANGLE_DEGREE
Plane angle unit: degree.
Definition: ble_att.h:221
BLE_ATT_UNIT_BECQUEREL
@ BLE_ATT_UNIT_BECQUEREL
Activity referred to a radionuclide unit: becquerel.
Definition: ble_att.h:190
BLE_ATT_UNIT_REFRACTIVE_INDEX
@ BLE_ATT_UNIT_REFRACTIVE_INDEX
Refractive index unit.
Definition: ble_att.h:170
BLE_ATT_CHAR_HEAT_INDEX
@ BLE_ATT_CHAR_HEAT_INDEX
Heat Index.
Definition: ble_att.h:377
BLE_ATT_CHAR_RSC_MEAS
@ BLE_ATT_CHAR_RSC_MEAS
RSC Measurement.
Definition: ble_att.h:345
BLE_ATT_UNIT_CELSIUS
@ BLE_ATT_UNIT_CELSIUS
Temperature unit: degree Celsius.
Definition: ble_att.h:187
BLE_ATT_SVC_LINK_LOSS
@ BLE_ATT_SVC_LINK_LOSS
Link Loss Service.
Definition: ble_att.h:115
BLE_ATT_UNIT_OHM
@ BLE_ATT_UNIT_OHM
Electric resistance unit: ohm.
Definition: ble_att.h:182
BLE_ATT_SVC_CYCLING_SPEED_CADENCE
@ BLE_ATT_SVC_CYCLING_SPEED_CADENCE
Cycling Speed and Cadence Service.
Definition: ble_att.h:131
BLE_ATT_CHAR_SC_CNTL_PT
@ BLE_ATT_CHAR_SC_CNTL_PT
SC Control Point.
Definition: ble_att.h:347
BLE_ATT_CHAR_USER_CONTROL_POINT
@ BLE_ATT_CHAR_USER_CONTROL_POINT
User Control Point.
Definition: ble_att.h:413
BLE_ATT_SVC_HEALTH_THERMOM
@ BLE_ATT_SVC_HEALTH_THERMOM
Health Thermometer Service.
Definition: ble_att.h:121
BLE_ATT_CHAR_THREE_ZONE_HEART_RATE_LIMITS
@ BLE_ATT_CHAR_THREE_ZONE_HEART_RATE_LIMITS
Three Zone Heart Rate Limits.
Definition: ble_att.h:402
BLE_ATT_CHAR_TIME_ACCURACY
@ BLE_ATT_CHAR_TIME_ACCURACY
Time Accuracy.
Definition: ble_att.h:294
BLE_ATT_UNIT_CANDELA
@ BLE_ATT_UNIT_CANDELA
Luminous intensity unit: candela.
Definition: ble_att.h:156
BLE_ATT_FORMAT_UINT32
@ BLE_ATT_FORMAT_UINT32
Unsigned 32-bit integer.
Definition: ble_att.h:457
BLE_ATT_CHAR_CTE_ADV_TRANS_DUR
@ BLE_ATT_CHAR_CTE_ADV_TRANS_DUR
Advertising Constant Tone Extension Transmit Duration.
Definition: ble_att.h:435
BLE_ATT_UNIT_UNITLESS
@ BLE_ATT_UNIT_UNITLESS
No defined unit.
Definition: ble_att.h:149
BLE_ATT_FORMAT_FLOAT64
@ BLE_ATT_FORMAT_FLOAT64
IEEE-754 64-bit floating point.
Definition: ble_att.h:470
BLE_ATT_UNIT_WATT_PER_SQ_METRE_STERADIAN
@ BLE_ATT_UNIT_WATT_PER_SQ_METRE_STERADIAN
Radiance unit: watt per square meter steradian.
Definition: ble_att.h:216
BLE_ATT_UNIT_PARSEC
@ BLE_ATT_UNIT_PARSEC
Length unit: parsec.
Definition: ble_att.h:236
BLE_ATT_CHAR_EMAIL_ADDRESS
@ BLE_ATT_CHAR_EMAIL_ADDRESS
Email Address.
Definition: ble_att.h:389
BLE_ATT_CHAR_PLX_SPOT_CHECK_MEASUREMENT_LOC
@ BLE_ATT_CHAR_PLX_SPOT_CHECK_MEASUREMENT_LOC
PLX Spot-Check Measurement.
Definition: ble_att.h:351
BLE_ATT_SVC_TRANSPORT_DISCOVERY
@ BLE_ATT_SVC_TRANSPORT_DISCOVERY
Transport Discovery Service.
Definition: ble_att.h:144
BLE_ATT_FORMAT_UINT24
@ BLE_ATT_FORMAT_UINT24
Unsigned 24-bit integer.
Definition: ble_att.h:456
BLE_ATT_UNIT_DENS_KG_PER_CUBIC_METRE
@ BLE_ATT_UNIT_DENS_KG_PER_CUBIC_METRE
Density unit: kilogram per cubic meter.
Definition: ble_att.h:162
BLE_ATT_CHAR_LN_FEAT
@ BLE_ATT_CHAR_LN_FEAT
LN Feature.
Definition: ble_att.h:361
BLE_ATT_UNIT_RADIAN
@ BLE_ATT_UNIT_RADIAN
Plane angle unit: radian.
Definition: ble_att.h:172
BLE_ATT_CHAR_IRRADIANCE
@ BLE_ATT_CHAR_IRRADIANCE
Irradiance.
Definition: ble_att.h:374
BLE_ATT_CHAR_MAGN_DECLINE
@ BLE_ATT_CHAR_MAGN_DECLINE
Magnetic Declination.
Definition: ble_att.h:315
BLE_ATT_UNIT_METRE
@ BLE_ATT_UNIT_METRE
Length unit: meter.
Definition: ble_att.h:150
BLE_ATT_SVC_USER_DATA
@ BLE_ATT_SVC_USER_DATA
User Data Service.
Definition: ble_att.h:136
BLE_ATT_CHAR_SUP_NEW_ALERT_CAT
@ BLE_ATT_CHAR_SUP_NEW_ALERT_CAT
Supported New Alert Category.
Definition: ble_att.h:333
BLE_ATT_CHAR_HID_INFO
@ BLE_ATT_CHAR_HID_INFO
HID Information.
Definition: ble_att.h:336
BLE_ATT_CHAR_SRV_SUP_FEAT
@ BLE_ATT_CHAR_SRV_SUP_FEAT
Server Supported Features.
Definition: ble_att.h:442
BLE_ATT_CHAR_LN_CNTL_PT
@ BLE_ATT_CHAR_LN_CNTL_PT
LN Control Point.
Definition: ble_att.h:362
BLE_ATT_CHAR_MODEL_NB
@ BLE_ATT_CHAR_MODEL_NB
Model Number String.
Definition: ble_att.h:307
BLE_ATT_CHAR_PLX_FEATURES_LOC
@ BLE_ATT_CHAR_PLX_FEATURES_LOC
PLX Features.
Definition: ble_att.h:353
BLE_ATT_CHAR_OTS_OACP
@ BLE_ATT_CHAR_OTS_OACP
Object Action Control Point.
Definition: ble_att.h:427
BLE_ATT_DECL_INCLUDE
@ BLE_ATT_DECL_INCLUDE
Include Declaration.
Definition: ble_att.h:260
BLE_ATT_UNIT_HENRY_PER_METRE
@ BLE_ATT_UNIT_HENRY_PER_METRE
Permeability unit: henry per meter.
Definition: ble_att.h:210
BLE_ATT_CHAR_OTS_LF
@ BLE_ATT_CHAR_OTS_LF
Object List Filter.
Definition: ble_att.h:429
BLE_ATT_UNIT_POUND_FORCE_PER_SQ_INCH
@ BLE_ATT_UNIT_POUND_FORCE_PER_SQ_INCH
Pressure unit: pound-force per square inch.
Definition: ble_att.h:240
BLE_ATT_CHAR_LOCAL_TIME_INFO
@ BLE_ATT_CHAR_LOCAL_TIME_INFO
Local time Information.
Definition: ble_att.h:292
BLE_ATT_DESC_SERVER_CHAR_CFG
@ BLE_ATT_DESC_SERVER_CHAR_CFG
Server characteristic configuration.
Definition: ble_att.h:267
BLE_ATT_CHAR_WEIGHT_SCALE_FEATURE
@ BLE_ATT_CHAR_WEIGHT_SCALE_FEATURE
Weight Scale Feature.
Definition: ble_att.h:412
BLE_ATT_CHAR_DATE_OF_BIRTH
@ BLE_ATT_CHAR_DATE_OF_BIRTH
Date of Birth.
Definition: ble_att.h:387
BLE_ATT_SVC_BODY_COMPOSITION
@ BLE_ATT_SVC_BODY_COMPOSITION
Body Composition Service.
Definition: ble_att.h:135
BLE_ATT_CHAR_FW_REV
@ BLE_ATT_CHAR_FW_REV
Firmware Revision String.
Definition: ble_att.h:309
BLE_ATT_CHAR_RECONNECTION_ADDR
@ BLE_ATT_CHAR_RECONNECTION_ADDR
Reconnection address.
Definition: ble_att.h:281
BLE_ATT_CHAR_TIME_UPDATE_CNTL_POINT
@ BLE_ATT_CHAR_TIME_UPDATE_CNTL_POINT
Time Update Control Point.
Definition: ble_att.h:297
BLE_ATT_CHAR_DEW_POINT
@ BLE_ATT_CHAR_DEW_POINT
Dew Point.
Definition: ble_att.h:378
BLE_ATT_CHAR_OTS_OBJECT_LAST_MODIFIED
@ BLE_ATT_CHAR_OTS_OBJECT_LAST_MODIFIED
Object Last Modified.
Definition: ble_att.h:424
BLE_ATT_SVC_GENERIC_ATTRIBUTE
@ BLE_ATT_SVC_GENERIC_ATTRIBUTE
Attribute Profile.
Definition: ble_att.h:113
BLE_ATT_UNIT_HOUR
@ BLE_ATT_UNIT_HOUR
Time unit: hour.
Definition: ble_att.h:219
BLE_ATT_CHAR_RSLV_PRIV_ADDR_ONLY
@ BLE_ATT_CHAR_RSLV_PRIV_ADDR_ONLY
Resolvable Private Address only.
Definition: ble_att.h:431
BLE_ATT_UNIT_KATAL
@ BLE_ATT_UNIT_KATAL
Catalytic activity unit: katal.
Definition: ble_att.h:193
BLE_ATT_UNIT_SIEVERT
@ BLE_ATT_UNIT_SIEVERT
Dose equivalent unit: sievert.
Definition: ble_att.h:192
BLE_ATT_CHAR_DAY_DATE_TIME
@ BLE_ATT_CHAR_DAY_DATE_TIME
Day Date Time.
Definition: ble_att.h:288
BLE_ATT_CHAR_TX_POWER_LEVEL
@ BLE_ATT_CHAR_TX_POWER_LEVEL
Tx Power Level.
Definition: ble_att.h:285
BLE_ATT_CHAR_ANAEROBIC_HEART_RATE_LOWER_LIMIT
@ BLE_ATT_CHAR_ANAEROBIC_HEART_RATE_LOWER_LIMIT
Anaerobic Heart Rate Lower Limit.
Definition: ble_att.h:383
BLE_ATT_CHAR_MANUF_NAME
@ BLE_ATT_CHAR_MANUF_NAME
Manufacturer Name String.
Definition: ble_att.h:312
BLE_ATT_UNIT_JOULE_PER_MOLE_KELVIN
@ BLE_ATT_UNIT_JOULE_PER_MOLE_KELVIN
Molar entropy unit: joule per mole kelvin.
Definition: ble_att.h:212
BLE_ATT_CHAR_DATABASE_CHANGE_INCREMENT
@ BLE_ATT_CHAR_DATABASE_CHANGE_INCREMENT
Database Change Increment.
Definition: ble_att.h:407
BLE_ATT_CHAR_SERVICE_CHANGED
@ BLE_ATT_CHAR_SERVICE_CHANGED
Service handles changed.
Definition: ble_att.h:283
BLE_ATT_FORMAT_NIBBLE
@ BLE_ATT_FORMAT_NIBBLE
Unsigned 4-bit integer.
Definition: ble_att.h:452
BLE_ATT_UNIT_FARAD_PER_METRE
@ BLE_ATT_UNIT_FARAD_PER_METRE
Permittivity unit: farad per meter.
Definition: ble_att.h:209
BLE_ATT_UNIT_GRAY_PER_SECOND
@ BLE_ATT_UNIT_GRAY_PER_SECOND
Absorbed dose rate unit: gray per second.
Definition: ble_att.h:214
BLE_ATT_UNIT_AMPERE
@ BLE_ATT_UNIT_AMPERE
Electric current unit: ampere.
Definition: ble_att.h:153
BLE_ATT_CHAR_CSC_FEAT
@ BLE_ATT_CHAR_CSC_FEAT
CSC Feature.
Definition: ble_att.h:349
BLE_ATT_UNIT_PASCAL
@ BLE_ATT_UNIT_PASCAL
Pressure unit: pascal.
Definition: ble_att.h:176
BLE_ATT_CHAR_FAT_BURN_HEART_RATE_LOWER_LIMIT
@ BLE_ATT_CHAR_FAT_BURN_HEART_RATE_LOWER_LIMIT
Fat Burn Heart Rate Lower Limit.
Definition: ble_att.h:390
BLE_ATT_FORMAT_SINT32
@ BLE_ATT_FORMAT_SINT32
Signed 32-bit integer.
Definition: ble_att.h:465
BLE_ATT_UNIT_CUBIC_METRE_PER_KG
@ BLE_ATT_UNIT_CUBIC_METRE_PER_KG
Specific volume unit: cubic meter per kilogram.
Definition: ble_att.h:164
BLE_ATT_UNIT_MILE
@ BLE_ATT_UNIT_MILE
Length unit: mile.
Definition: ble_att.h:239
BLE_ATT_CHAR_LOC_SPEED
@ BLE_ATT_CHAR_LOC_SPEED
Location and Speed.
Definition: ble_att.h:358
BLE_ATT_FORMAT_SINT12
@ BLE_ATT_FORMAT_SINT12
Signed 12-bit integer.
Definition: ble_att.h:462
BLE_ATT_SVC_GENERIC_ACCESS
@ BLE_ATT_SVC_GENERIC_ACCESS
Generic Access Profile.
Definition: ble_att.h:112
BLE_ATT_SVC_WEIGHT_SCALE
@ BLE_ATT_SVC_WEIGHT_SCALE
Weight Scale Service.
Definition: ble_att.h:137
BLE_ATT_SVC_NEXT_DST_CHANGE
@ BLE_ATT_SVC_NEXT_DST_CHANGE
Next DST Change Service.
Definition: ble_att.h:119
BLE_ATT_CHAR_TIME_ZONE
@ BLE_ATT_CHAR_TIME_ZONE
Time zone.
Definition: ble_att.h:291
att_format_t
att_format_t
Format for Characteristic Presentation.
Definition: ble_att.h:449
BLE_ATT_DECL_CHARACTERISTIC
@ BLE_ATT_DECL_CHARACTERISTIC
Characteristic Declaration.
Definition: ble_att.h:261
BLE_ATT_CHAR_CP_VECTOR
@ BLE_ATT_CHAR_CP_VECTOR
CP Vector.
Definition: ble_att.h:355
BLE_ATT_CHAR_ELEVATION
@ BLE_ATT_CHAR_ELEVATION
Elevation.
Definition: ble_att.h:363
BLE_ATT_CHAR_AGE
@ BLE_ATT_CHAR_AGE
Age.
Definition: ble_att.h:382
BLE_ATT_CHAR_GLUCOSE_FEATURE
@ BLE_ATT_CHAR_GLUCOSE_FEATURE
Glucose Feature.
Definition: ble_att.h:343
BLE_ATT_UNIT_SURF_COULOMB_PER_SQ_METRE
@ BLE_ATT_UNIT_SURF_COULOMB_PER_SQ_METRE
Surface charge density unit: coulomb per square meter.
Definition: ble_att.h:207
BLE_ATT_SVC_HID
@ BLE_ATT_SVC_HID
HID Service.
Definition: ble_att.h:128
BLE_ATT_CHAR_OTS_OBJECT_ID
@ BLE_ATT_CHAR_OTS_OBJECT_ID
Object ID.
Definition: ble_att.h:425
BLE_ATT_CHAR_HEIGHT
@ BLE_ATT_CHAR_HEIGHT
Height.
Definition: ble_att.h:396
BLE_ATT_CHAR_FIVE_ZONE_HEART_RATE_LIMITS
@ BLE_ATT_CHAR_FIVE_ZONE_HEART_RATE_LIMITS
Five Zone Heart Rate Limits.
Definition: ble_att.h:393
BLE_ATT_CHAR_HEART_RATE_CNTL_POINT
@ BLE_ATT_CHAR_HEART_RATE_CNTL_POINT
Heart Rate Control Point.
Definition: ble_att.h:324
BLE_ATT_UNIT_KM_PER_HOUR
@ BLE_ATT_UNIT_KM_PER_HOUR
Velocity unit: kilometre per hour.
Definition: ble_att.h:241
BLE_ATT_CHAR_TIME_SOURCE
@ BLE_ATT_CHAR_TIME_SOURCE
Time Source.
Definition: ble_att.h:295
BLE_ATT_UNIT_RECIPROCAL_METRE
@ BLE_ATT_UNIT_RECIPROCAL_METRE
Wavenumber unit: reciprocal meter.
Definition: ble_att.h:161
BLE_ATT_CHAR_REPORT_MAP
@ BLE_ATT_CHAR_REPORT_MAP
Report Map.
Definition: ble_att.h:337
BLE_ATT_CHAR_ALERT_CAT_ID
@ BLE_ATT_CHAR_ALERT_CAT_ID
Alert Category ID.
Definition: ble_att.h:329
BLE_ATT_UNIT_MONTH
@ BLE_ATT_UNIT_MONTH
Time unit: month.
Definition: ble_att.h:255
BLE_ATT_UNIT_ANGLE_MINUTE
@ BLE_ATT_UNIT_ANGLE_MINUTE
Plane angle unit: minute.
Definition: ble_att.h:222
BLE_ATT_UNIT_WEBER
@ BLE_ATT_UNIT_WEBER
Magnetic flux unit: weber.
Definition: ble_att.h:184
BLE_ATT_CHAR_UV_INDEX
@ BLE_ATT_CHAR_UV_INDEX
UV Index.
Definition: ble_att.h:373
BLE_ATT_UNIT_KG
@ BLE_ATT_UNIT_KG
Mass unit: kilogram.
Definition: ble_att.h:151
BLE_ATT_UNIT_AMPERE_HOURS
@ BLE_ATT_UNIT_AMPERE_HOURS
Electric charge unit: ampere hours.
Definition: ble_att.h:251
BLE_ATT_CHAR_OTS_OBJECT_SIZE
@ BLE_ATT_CHAR_OTS_OBJECT_SIZE
Object Size.
Definition: ble_att.h:422
BLE_ATT_CHAR_HIP_CIRCUMFERENCE
@ BLE_ATT_CHAR_HIP_CIRCUMFERENCE
Hip Circumference.
Definition: ble_att.h:397
BLE_ATT_CHAR_NAVIGATION
@ BLE_ATT_CHAR_NAVIGATION
Navigation.
Definition: ble_att.h:359
BLE_ATT_UNIT_NEWTON_METRE
@ BLE_ATT_UNIT_NEWTON_METRE
Moment of force unit: newton meter.
Definition: ble_att.h:195
BLE_ATT_SVC_BOND_MANAGEMENT
@ BLE_ATT_SVC_BOND_MANAGEMENT
Bond Management Service.
Definition: ble_att.h:138
BLE_ATT_CHAR_AEROBIC_HEART_RATE_LOWER_LIMIT
@ BLE_ATT_CHAR_AEROBIC_HEART_RATE_LOWER_LIMIT
Aerobic Heart Rate Lower Limit.
Definition: ble_att.h:380
BLE_ATT_CHAR_PERIPH_PREF_CON_PARAM
@ BLE_ATT_CHAR_PERIPH_PREF_CON_PARAM
Peripheral preferred connection parameters.
Definition: ble_att.h:282
BLE_ATT_CHAR_APRNT_WIND_DIRECTION
@ BLE_ATT_CHAR_APRNT_WIND_DIRECTION
Apparent Wind Direction.
Definition: ble_att.h:370
BLE_ATT_CHAR_AEROBIC_THRESHOLD
@ BLE_ATT_CHAR_AEROBIC_THRESHOLD
Aerobic Threshold.
Definition: ble_att.h:381
BLE_ATT_SVC_PULSE_OXIMETER
@ BLE_ATT_SVC_PULSE_OXIMETER
Pulse Oximeter Service.
Definition: ble_att.h:142
BLE_ATT_DESC_CHAR_AGGREGATE_FORMAT
@ BLE_ATT_DESC_CHAR_AGGREGATE_FORMAT
Characteristic Aggregate Format.
Definition: ble_att.h:269
BLE_ATT_CHAR_SENSOR_LOC
@ BLE_ATT_CHAR_SENSOR_LOC
Sensor Location.
Definition: ble_att.h:350
BLE_ATT_UNIT_BEL
@ BLE_ATT_UNIT_BEL
Logarithmic radio quantity unit: bel.
Definition: ble_att.h:234
BLE_ATT_CHAR_TRUE_WIND_DIR
@ BLE_ATT_CHAR_TRUE_WIND_DIR
True Wind Direction.
Definition: ble_att.h:368
BLE_ATT_UNIT_BARN
@ BLE_ATT_UNIT_BARN
Area unit: barn.
Definition: ble_att.h:231
BLE_ATT_UNIT_KILOWATT_HOUR
@ BLE_ATT_UNIT_KILOWATT_HOUR
Energy unit: kilowatt hour.
Definition: ble_att.h:246
BLE_ATT_SVC_SCAN_PARAMETERS
@ BLE_ATT_SVC_SCAN_PARAMETERS
Scan Parameters Service.
Definition: ble_att.h:129
BLE_ATT_FORMAT_UINT16
@ BLE_ATT_FORMAT_UINT16
Unsigned 16-bit integer.
Definition: ble_att.h:455
BLE_ATT_UNIT_ANGSTROM
@ BLE_ATT_UNIT_ANGSTROM
Length unit: angstrom.
Definition: ble_att.h:229
BLE_ATT_SVC_PHONE_ALERT_STATUS
@ BLE_ATT_SVC_PHONE_ALERT_STATUS
Phone Alert Status Service.
Definition: ble_att.h:124
BLE_ATT_SVC_BLOOD_PRESSURE
@ BLE_ATT_SVC_BLOOD_PRESSURE
Blood Pressure Service.
Definition: ble_att.h:126
BLE_ATT_UNIT_RELATIVE_PERMEABILITY
@ BLE_ATT_UNIT_RELATIVE_PERMEABILITY
Relative permeability unit.
Definition: ble_att.h:171
BLE_ATT_CHAR_BATTERY_LEVEL
@ BLE_ATT_CHAR_BATTERY_LEVEL
Battery Level.
Definition: ble_att.h:300
BLE_ATT_CHAR_PRIVACY_FLAG
@ BLE_ATT_CHAR_PRIVACY_FLAG
Privacy flag.
Definition: ble_att.h:280
BLE_ATT_UNIT_ANGLE_SECOND
@ BLE_ATT_UNIT_ANGLE_SECOND
Plane angle unit: second.
Definition: ble_att.h:223
BLE_ATT_CHAR_OTS_OBJECT_CHANGED
@ BLE_ATT_CHAR_OTS_OBJECT_CHANGED
Object Changed.
Definition: ble_att.h:430
BLE_ATT_FORMAT_SINT48
@ BLE_ATT_FORMAT_SINT48
Signed 48-bit integer.
Definition: ble_att.h:466
BLE_ATT_CHAR_ALERT_NTF_CTNL_PT
@ BLE_ATT_CHAR_ALERT_NTF_CTNL_PT
Alert Notification Control Point.
Definition: ble_att.h:330
BLE_ATT_DECL_PRIMARY_SERVICE
@ BLE_ATT_DECL_PRIMARY_SERVICE
Primary service Declaration.
Definition: ble_att.h:258
BLE_ATT_CHAR_CP_FEAT
@ BLE_ATT_CHAR_CP_FEAT
CP Feature.
Definition: ble_att.h:356
BLE_ATT_CHAR_ANAEROBIC_THRESHHOLD
@ BLE_ATT_CHAR_ANAEROBIC_THRESHHOLD
Anaerobic Threshhold.
Definition: ble_att.h:385
BLE_ATT_CHAR_TIME_WITH_DST
@ BLE_ATT_CHAR_TIME_WITH_DST
Time with DST.
Definition: ble_att.h:293
BLE_ATT_DESC_ES_TRIGGER_SETTING
@ BLE_ATT_DESC_ES_TRIGGER_SETTING
Environmental Sensing Trigger Setting.
Definition: ble_att.h:275
BLE_ATT_UNIT_HENRY
@ BLE_ATT_UNIT_HENRY
Inductance unit: henry.
Definition: ble_att.h:186
BLE_ATT_SVC_HTTP_PROXY
@ BLE_ATT_SVC_HTTP_PROXY
HTTP Proxy Service.
Definition: ble_att.h:143
BLE_ATT_SVC_CONTINUOUS_GLUCOSE_MONITORING
@ BLE_ATT_SVC_CONTINUOUS_GLUCOSE_MONITORING
Continuous Glucose Monitoring Service.
Definition: ble_att.h:139
BLE_ATT_UNIT_METRES_PER_SEC_SQ
@ BLE_ATT_UNIT_METRES_PER_SEC_SQ
Acceleration unit: meter per second squared.
Definition: ble_att.h:160
BLE_ATT_FORMAT_SINT64
@ BLE_ATT_FORMAT_SINT64
Signed 64-bit integer.
Definition: ble_att.h:467
BLE_ATT_UNIT_WATT_PER_METRE_KELVIN
@ BLE_ATT_UNIT_WATT_PER_METRE_KELVIN
Thermal conductivity unit: watt per meter Kelvin.
Definition: ble_att.h:203
BLE_ATT_UNIT_WATT_PER_STERADIAN
@ BLE_ATT_UNIT_WATT_PER_STERADIAN
Radiant intensity unit: watt per steradian.
Definition: ble_att.h:215
BLE_ATT_UNIT_NEWTON_PER_METRE
@ BLE_ATT_UNIT_NEWTON_PER_METRE
Surface tension unit: newton per meter.
Definition: ble_att.h:196
BLE_ATT_CHAR_RESTING_HEART_RATE
@ BLE_ATT_CHAR_RESTING_HEART_RATE
Resting Heart Rate.
Definition: ble_att.h:400
BLE_ATT_CHAR_WIND_CHILL
@ BLE_ATT_CHAR_WIND_CHILL
Wind Chill.
Definition: ble_att.h:376
BLE_ATT_UNIT_KNOT
@ BLE_ATT_UNIT_KNOT
Velocity unit: knot.
Definition: ble_att.h:232
BLE_ATT_CHAR_DST_OFFSET
@ BLE_ATT_CHAR_DST_OFFSET
DST Offset.
Definition: ble_att.h:290
BLE_ATT_CHAR_LANGUAGE
@ BLE_ATT_CHAR_LANGUAGE
Language string.
Definition: ble_att.h:416
BLE_ATT_SVC_TX_POWER
@ BLE_ATT_SVC_TX_POWER
TX Power Service.
Definition: ble_att.h:116
BLE_ATT_CHAR_APPEARANCE
@ BLE_ATT_CHAR_APPEARANCE
Appearance.
Definition: ble_att.h:279
BLE_ATT_UNIT_JOULE_PER_MOLE
@ BLE_ATT_UNIT_JOULE_PER_MOLE
Molar energy unit: joule per mole.
Definition: ble_att.h:211
BLE_ATT_DESC_REPORT_REF
@ BLE_ATT_DESC_REPORT_REF
Report Reference.
Definition: ble_att.h:272
BLE_ATT_SVC_BATTERY_SERVICE
@ BLE_ATT_SVC_BATTERY_SERVICE
Battery Service.
Definition: ble_att.h:125
BLE_ATT_SVC_CURRENT_TIME
@ BLE_ATT_SVC_CURRENT_TIME
Current Time Service.
Definition: ble_att.h:117
BLE_ATT_SVC_RUNNING_SPEED_CADENCE
@ BLE_ATT_SVC_RUNNING_SPEED_CADENCE
Running Speed and Cadence Service.
Definition: ble_att.h:130
BLE_ATT_CHAR_BOOT_KB_OUT_REPORT
@ BLE_ATT_CHAR_BOOT_KB_OUT_REPORT
Boot Keyboard Output Report.
Definition: ble_att.h:317
BLE_ATT_UNIT_VOLT_PER_METRE
@ BLE_ATT_UNIT_VOLT_PER_METRE
Electric field strength unit: volt per meter.
Definition: ble_att.h:205
BLE_ATT_UNIT_STERADIAN
@ BLE_ATT_UNIT_STERADIAN
Solid angle unit: steradian.
Definition: ble_att.h:173
BLE_ATT_DESC_CHAR_USER_DESCRIPTION
@ BLE_ATT_DESC_CHAR_USER_DESCRIPTION
Characteristic user description.
Definition: ble_att.h:265
BLE_ATT_FORMAT_UINT12
@ BLE_ATT_FORMAT_UINT12
Unsigned 12-bit integer.
Definition: ble_att.h:454
BLE_ATT_CHAR_DEVICE_NAME
@ BLE_ATT_CHAR_DEVICE_NAME
Device name.
Definition: ble_att.h:278
BLE_ATT_CHAR_TIME_UPDATE_STATE
@ BLE_ATT_CHAR_TIME_UPDATE_STATE
Time Update State.
Definition: ble_att.h:298
BLE_ATT_CHAR_CTE_ADV_PHY
@ BLE_ATT_CHAR_CTE_ADV_PHY
Advertising Constatn Tone Extension PHY.
Definition: ble_att.h:437
BLE_ATT_CHAR_PLX_CONTINUOUS_MEASUREMENT_LOC
@ BLE_ATT_CHAR_PLX_CONTINUOUS_MEASUREMENT_LOC
PLX Continuous Measurement.
Definition: ble_att.h:352
BLE_ATT_CHAR_HID_CTNL_PT
@ BLE_ATT_CHAR_HID_CTNL_PT
HID Control Point.
Definition: ble_att.h:338
BLE_ATT_CHAR_CT_TIME
@ BLE_ATT_CHAR_CT_TIME
CT Time.
Definition: ble_att.h:314
BLE_ATT_CHAR_IEEE_CERTIF
@ BLE_ATT_CHAR_IEEE_CERTIF
IEEE Regulatory Certification Data List.
Definition: ble_att.h:313
BLE_ATT_CHAR_WEIGHT
@ BLE_ATT_CHAR_WEIGHT
Weight.
Definition: ble_att.h:406
BLE_ATT_UNIT_AMPERE_PER_METRE
@ BLE_ATT_UNIT_AMPERE_PER_METRE
Magnetic field strength unit: ampere per meter.
Definition: ble_att.h:166
BLE_ATT_FORMAT_LAST
@ BLE_ATT_FORMAT_LAST
Last format.
Definition: ble_att.h:477
BLE_ATT_SVC_HEART_RATE
@ BLE_ATT_SVC_HEART_RATE
Heart Rate Service.
Definition: ble_att.h:123
BLE_ATT_CHAR_ANAEROBIC_HEART_RATE_UPPER_LIMIT
@ BLE_ATT_CHAR_ANAEROBIC_HEART_RATE_UPPER_LIMIT
Anaerobic Heart Rate Upper Limit.
Definition: ble_att.h:384
BLE_ATT_UNIT_HERTZ
@ BLE_ATT_UNIT_HERTZ
Frequency unit: hertz.
Definition: ble_att.h:174
BLE_ATT_UNIT_MILLIMOLE_PER_LITRE
@ BLE_ATT_UNIT_MILLIMOLE_PER_LITRE
Mass density unit: millimole per litre.
Definition: ble_att.h:253
BLE_ATT_SVC_ALERT_NTF
@ BLE_ATT_SVC_ALERT_NTF
Alert Notification Service.
Definition: ble_att.h:127
BLE_ATT_CHAR_MAGN_FLUX_2D
@ BLE_ATT_CHAR_MAGN_FLUX_2D
Flux Density - 2D.
Definition: ble_att.h:414
BLE_ATT_CHAR_GLUCOSE_MEAS_CTX
@ BLE_ATT_CHAR_GLUCOSE_MEAS_CTX
Glucose Measurement Context.
Definition: ble_att.h:319
BLE_ATT_CHAR_MAGN_FLUX_3D
@ BLE_ATT_CHAR_MAGN_FLUX_3D
Magnetic Flux Density - 3D.
Definition: ble_att.h:415
BLE_ATT_SVC_IMMEDIATE_ALERT
@ BLE_ATT_SVC_IMMEDIATE_ALERT
Immediate Alert Service.
Definition: ble_att.h:114
BLE_ATT_UNIT_NEWTON
@ BLE_ATT_UNIT_NEWTON
Force unit: newton.
Definition: ble_att.h:175
BLE_ATT_CHAR_SW_REV
@ BLE_ATT_CHAR_SW_REV
Software Revision String.
Definition: ble_att.h:311
BLE_ATT_CHAR_TWO_ZONE_HEART_RATE_LIMIT
@ BLE_ATT_CHAR_TWO_ZONE_HEART_RATE_LIMIT
Two Zone Heart Rate Limits.
Definition: ble_att.h:403
BLE_ATT_DESC_VALID_RANGE
@ BLE_ATT_DESC_VALID_RANGE
Valid Range.
Definition: ble_att.h:270
BLE_ATT_SVC_IP_SUPPORT
@ BLE_ATT_SVC_IP_SUPPORT
Internet Protocol Support Service.
Definition: ble_att.h:140
BLE_ATT_SVC_LOCATION_AND_NAVIGATION
@ BLE_ATT_SVC_LOCATION_AND_NAVIGATION
Location and Navigation Service.
Definition: ble_att.h:133
BLE_ATT_CHAR_POS_QUALITY
@ BLE_ATT_CHAR_POS_QUALITY
Position Quality.
Definition: ble_att.h:360
BLE_ATT_UNIT_DAY
@ BLE_ATT_UNIT_DAY
Time unit: day.
Definition: ble_att.h:220
BLE_ATT_CHAR_GENDER
@ BLE_ATT_CHAR_GENDER
Gender.
Definition: ble_att.h:394
BLE_ATT_FORMAT_SINT8
@ BLE_ATT_FORMAT_SINT8
Signed 8-bit integer.
Definition: ble_att.h:461
BLE_ATT_CHAR_LAST_NAME
@ BLE_ATT_CHAR_LAST_NAME
Last Name.
Definition: ble_att.h:398
BLE_ATT_UNIT_COULOMB_PER_KG
@ BLE_ATT_UNIT_COULOMB_PER_KG
Exposure unit: coulomb per kilogram.
Definition: ble_att.h:213
BLE_ATT_UNIT_PASCAL_SECOND
@ BLE_ATT_UNIT_PASCAL_SECOND
Synamic viscosity unit: pascal second.
Definition: ble_att.h:194
BLE_ATT_UNIT_RADIAN_PER_SECOND_SQ
@ BLE_ATT_UNIT_RADIAN_PER_SECOND_SQ
Angular acceleration unit: radian per second squared.
Definition: ble_att.h:198
BLE_ATT_CHAR_CLI_SUP_FEAT
@ BLE_ATT_CHAR_CLI_SUP_FEAT
Client Supported Features.
Definition: ble_att.h:439
BLE_ATT_UNIT_TONNE
@ BLE_ATT_UNIT_TONNE
Mass unit: tonne.
Definition: ble_att.h:226
BLE_ATT_UNIT_GRAY
@ BLE_ATT_UNIT_GRAY
Absorbed dose unit: gray.
Definition: ble_att.h:191
BLE_ATT_CHAR_REC_ACCESS_CTRL_PT
@ BLE_ATT_CHAR_REC_ACCESS_CTRL_PT
Record access control point.
Definition: ble_att.h:344
BLE_ATT_CHAR_DATE_OF_THRESHOLD_ASSESSMENT
@ BLE_ATT_CHAR_DATE_OF_THRESHOLD_ASSESSMENT
Date of Threshold Assessment.
Definition: ble_att.h:388
BLE_ATT_UNIT_TESLA
@ BLE_ATT_UNIT_TESLA
Magnetic flux density unit: Tesla.
Definition: ble_att.h:185
BLE_ATT_CHAR_SCAN_REFRESH
@ BLE_ATT_CHAR_SCAN_REFRESH
Scan Refresh.
Definition: ble_att.h:316
BLE_ATT_UNIT_COULOMB
@ BLE_ATT_UNIT_COULOMB
Electric Charge unit: coulomb.
Definition: ble_att.h:179
BLE_ATT_CHAR_BLOOD_PRESSURE_MEAS
@ BLE_ATT_CHAR_BLOOD_PRESSURE_MEAS
Blood Pressure Measurement.
Definition: ble_att.h:320
BLE_ATT_UNIT_LITRE
@ BLE_ATT_UNIT_LITRE
Volume unit: litre.
Definition: ble_att.h:225
BLE_ATT_CHAR_ALERT_STATUS
@ BLE_ATT_CHAR_ALERT_STATUS
Alert Status.
Definition: ble_att.h:325
BLE_ATT_FORMAT_FLOAT32
@ BLE_ATT_FORMAT_FLOAT32
IEEE-754 32-bit floating point.
Definition: ble_att.h:469
BLE_ATT_UNIT_REVOLUTION_PER_MINUTE
@ BLE_ATT_UNIT_REVOLUTION_PER_MINUTE
Angular velocity unit: revolution per minute.
Definition: ble_att.h:243
BLE_ATT_UNIT_MILLIGRAM_PER_DECILITRE
@ BLE_ATT_UNIT_MILLIGRAM_PER_DECILITRE
Mass density unit: milligram per decilitre.
Definition: ble_att.h:252
BLE_ATT_UNIT_SECOND
@ BLE_ATT_UNIT_SECOND
Time unit: second.
Definition: ble_att.h:152
BLE_ATT_FORMAT_SFLOAT
@ BLE_ATT_FORMAT_SFLOAT
IEEE-11073 16-bit SFLOAT.
Definition: ble_att.h:471
BLE_ATT_CHAR_CTL_ADDR_RESOL_SUPP
@ BLE_ATT_CHAR_CTL_ADDR_RESOL_SUPP
Central Address Resolution Support.
Definition: ble_att.h:418
BLE_ATT_UNIT_NAUTICAL_MILE
@ BLE_ATT_UNIT_NAUTICAL_MILE
Length unit: nautical mile.
Definition: ble_att.h:230
BLE_ATT_CHAR_AEROBIC_HEART_RATE_UPPER_LIMIT
@ BLE_ATT_CHAR_AEROBIC_HEART_RATE_UPPER_LIMIT
Aerobic Heart Rate Upper Limit.
Definition: ble_att.h:386
BLE_ATT_CHAR_GUST_FACTOR
@ BLE_ATT_CHAR_GUST_FACTOR
Gust Factor.
Definition: ble_att.h:371
BLE_ATT_CHAR_TRUE_WIND_SPEED
@ BLE_ATT_CHAR_TRUE_WIND_SPEED
True Wind Speed.
Definition: ble_att.h:367
BLE_ATT_CHAR_EXACT_TIME_256
@ BLE_ATT_CHAR_EXACT_TIME_256
Exact time 256.
Definition: ble_att.h:289
BLE_ATT_FORMAT_BOOL
@ BLE_ATT_FORMAT_BOOL
Unsigned 1-bit: true or false.
Definition: ble_att.h:450
BLE_ATT_CHAR_BOOT_KB_IN_REPORT
@ BLE_ATT_CHAR_BOOT_KB_IN_REPORT
Boot Keyboard Input Report.
Definition: ble_att.h:305
BLE_ATT_UNIT_FLUX_COULOMB_PER_SQ_METRE
@ BLE_ATT_UNIT_FLUX_COULOMB_PER_SQ_METRE
Electric flux density unit: coulomb per square meter.
Definition: ble_att.h:208
BLE_ATT_CHAR_RSC_FEAT
@ BLE_ATT_CHAR_RSC_FEAT
RSC Feature.
Definition: ble_att.h:346
BLE_ATT_DESC_ES_CONFIGURATION
@ BLE_ATT_DESC_ES_CONFIGURATION
Environmental Sensing Configuration.
Definition: ble_att.h:273
BLE_ATT_SVC_OBJECT_TRANSFER
@ BLE_ATT_SVC_OBJECT_TRANSFER
Object Transfer Service.
Definition: ble_att.h:145
BLE_ATT_FORMAT_UTF8S
@ BLE_ATT_FORMAT_UTF8S
UTF-8 string.
Definition: ble_att.h:474
BLE_ATT_UNIT_SIEMENS
@ BLE_ATT_UNIT_SIEMENS
Electric conductance unit: siemens.
Definition: ble_att.h:183
BLE_ATT_CHAR_CTE_ADV_MIN_LEN
@ BLE_ATT_CHAR_CTE_ADV_MIN_LEN
Advertising Constant Tone Extension Minimum Length.
Definition: ble_att.h:433
BLE_ATT_UNIT_COULOMB_PER_CUBIC_METRE
@ BLE_ATT_UNIT_COULOMB_PER_CUBIC_METRE
Electric charge density unit: coulomb per cubic meter.
Definition: ble_att.h:206
BLE_ATT_CHAR_INTERMEDIATE_CUFF_PRESSURE
@ BLE_ATT_CHAR_INTERMEDIATE_CUFF_PRESSURE
Intermediate Cuff Pressure.
Definition: ble_att.h:321
BLE_ATT_CHAR_SERIAL_NB
@ BLE_ATT_CHAR_SERIAL_NB
Serial Number String.
Definition: ble_att.h:308
BLE_ATT_SVC_DEVICE_INFO
@ BLE_ATT_SVC_DEVICE_INFO
Device Information Service.
Definition: ble_att.h:122
BLE_ATT_CHAR_NEW_ALERT
@ BLE_ATT_CHAR_NEW_ALERT
New Alert.
Definition: ble_att.h:332
BLE_ATT_UNIT_JOULE_PER_KG
@ BLE_ATT_UNIT_JOULE_PER_KG
Specific Energy unit: joule per kilogram.
Definition: ble_att.h:202
BLE_ATT_UNIT_MOLE_PER_CUBIC_METRE
@ BLE_ATT_UNIT_MOLE_PER_CUBIC_METRE
Amount concentration unit: mole per cubic meter.
Definition: ble_att.h:167
BLE_ATT_FORMAT_SINT128
@ BLE_ATT_FORMAT_SINT128
Signed 128-bit integer.
Definition: ble_att.h:468
BLE_ATT_CHAR_SCAN_INTV_WD
@ BLE_ATT_CHAR_SCAN_INTV_WD
Scan Interval Window.
Definition: ble_att.h:341
BLE_ATT_UNIT_VOLT
@ BLE_ATT_UNIT_VOLT
Electric potential difference unit: Volt.
Definition: ble_att.h:180
BLE_ATT_CHAR_BODY_SENSOR_LOCATION
@ BLE_ATT_CHAR_BODY_SENSOR_LOCATION
Body Sensor Location.
Definition: ble_att.h:323
BLE_ATT_SVC_GLUCOSE
@ BLE_ATT_SVC_GLUCOSE
Glucose Service.
Definition: ble_att.h:120
BLE_ATT_UNIT_PER_MILLE
@ BLE_ATT_UNIT_PER_MILLE
Unit: per mille.
Definition: ble_att.h:249
BLE_ATT_CHAR_VO2_MAX
@ BLE_ATT_CHAR_VO2_MAX
Vo2 Max.
Definition: ble_att.h:404
BLE_ATT_FORMAT_2BIT
@ BLE_ATT_FORMAT_2BIT
Unsigned 2-bit integer.
Definition: ble_att.h:451
BLE_ATT_CHAR_CTE_ADV_MIN_TRANS_CNT
@ BLE_ATT_CHAR_CTE_ADV_MIN_TRANS_CNT
Advertising Constant Tone Extension Minimum Transmit Count.
Definition: ble_att.h:434
BLE_ATT_CHAR_DATE_TIME
@ BLE_ATT_CHAR_DATE_TIME
Date Time.
Definition: ble_att.h:286
BLE_ATT_CHAR_REPORT
@ BLE_ATT_CHAR_REPORT
Report.
Definition: ble_att.h:339
BLE_ATT_CHAR_CP_CNTL_PT
@ BLE_ATT_CHAR_CP_CNTL_PT
CP Control Point.
Definition: ble_att.h:357
BLE_ATT_UNIT_PERCENTAGE
@ BLE_ATT_UNIT_PERCENTAGE
Unit: Percentage.
Definition: ble_att.h:248
BLE_ATT_CHAR_OTS_FEATURES
@ BLE_ATT_CHAR_OTS_FEATURES
OTS Service Feature.
Definition: ble_att.h:419
BLE_ATT_UNIT_SQ_METRE
@ BLE_ATT_UNIT_SQ_METRE
Area unit: square meter.
Definition: ble_att.h:157
BLE_ATT_CHAR_APRNT_WIND_SPEED
@ BLE_ATT_CHAR_APRNT_WIND_SPEED
Apparent Wind Speed.
Definition: ble_att.h:369
BLE_ATT_DESC_CLIENT_CHAR_CFG
@ BLE_ATT_DESC_CLIENT_CHAR_CFG
Client characteristic configuration.
Definition: ble_att.h:266
BLE_ATT_CHAR_OTS_OBJECT_NAME
@ BLE_ATT_CHAR_OTS_OBJECT_NAME
Object Name.
Definition: ble_att.h:420
BLE_ATT_CHAR_OTS_OLCP
@ BLE_ATT_CHAR_OTS_OLCP
Object List Control Point.
Definition: ble_att.h:428
BLE_ATT_CHAR_SPORT_TYPE_FOR_AEROBIC_AND_ANAEROBIC_THRESHOLDS
@ BLE_ATT_CHAR_SPORT_TYPE_FOR_AEROBIC_AND_ANAEROBIC_THRESHOLDS
Sport Type For Aerobic And Anaerobic Thresholds.
Definition: ble_att.h:401