Maxim Integrated / MaximBLE

Dependents:   BLE_Thermometer MAXWSNENV_demo

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers att_uuid.h Source File

att_uuid.h

Go to the documentation of this file.
00001 /*************************************************************************************************/
00002 /*!
00003  *  \file   att_uuid.h
00004  *        
00005  *  \brief  Attribute protocol UUIDs from the Bluetooth specification.
00006  *
00007  *          $Date: 2014-08-11 17:41:56 -0500 (Mon, 11 Aug 2014) $
00008  *          $Revision: 14613 $
00009  *  
00010  *  Copyright (c) 2011-2016 ARM Limited. All rights reserved.
00011  *
00012  *  SPDX-License-Identifier: LicenseRef-PBL
00013  *
00014  *  Licensed under the Permissive Binary License, Version 1.0 (the "License"); you may not use
00015  *  this file except in compliance with the License.  You may obtain a copy of the License at
00016  *
00017  *  https://www.mbed.com/licenses/PBL-1.0
00018  *
00019  *  See the License for the specific language governing permissions and limitations under the License.
00020  */
00021 /*************************************************************************************************/
00022 #ifndef ATT_UUID_H
00023 #define ATT_UUID_H
00024 
00025 #include "att_defs.h"
00026 
00027 #ifdef __cplusplus
00028 extern "C" {
00029 #endif
00030 
00031 /**************************************************************************************************
00032   Macros
00033 **************************************************************************************************/
00034 
00035 /*! Service UUIDs */
00036 #define ATT_UUID_GAP_SERVICE                0x1800    /*! Generic Access Profile Service */
00037 #define ATT_UUID_GATT_SERVICE               0x1801    /*! Generic Attribute Profile Service */
00038 #define ATT_UUID_IMMEDIATE_ALERT_SERVICE    0x1802    /*! Immediate Alert Service */
00039 #define ATT_UUID_LINK_LOSS_SERVICE          0x1803    /*! Link Loss Service */
00040 #define ATT_UUID_TX_POWER_SERVICE           0x1804    /*! Tx Power Service */
00041 #define ATT_UUID_CURRENT_TIME_SERVICE       0x1805    /*! Current Time Service */
00042 #define ATT_UUID_REF_TIME_UPDATE_SERVICE    0x1806    /*! Reference Time Update Service */
00043 #define ATT_UUID_DST_CHANGE_SERVICE         0x1807    /*! Next DST Change Service */
00044 #define ATT_UUID_GLUCOSE_SERVICE            0x1808    /*! Glucose Service */
00045 #define ATT_UUID_HEALTH_THERM_SERVICE       0x1809    /*! Health Thermometer Service */
00046 #define ATT_UUID_DEVICE_INFO_SERVICE        0x180A    /*! Device Information Service */
00047 #define ATT_UUID_NETWORK_AVAIL_SERVICE      0x180B    /*! Network Availability Service */
00048 #define ATT_UUID_WATCHDOG_SERVICE           0x180C    /*! Watchdog Service */
00049 #define ATT_UUID_HEART_RATE_SERVICE         0x180D    /*! Heart Rate Service */
00050 #define ATT_UUID_PHONE_ALERT_SERVICE        0x180E    /*! Phone Alert Status Service */
00051 #define ATT_UUID_BATTERY_SERVICE            0x180F    /*! Battery Service */
00052 #define ATT_UUID_BLOOD_PRESSURE_SERVICE     0x1810    /*! Blood Pressure Service */
00053 #define ATT_UUID_ALERT_NOTIF_SERVICE        0x1811    /*! Alert Notification Service */
00054 #define ATT_UUID_HID_SERVICE                0x1812    /*! Human Interface Device Service */
00055 #define ATT_UUID_SCAN_PARAM_SERVICE         0x1813    /*! Scan Parameter Service */
00056 #define ATT_UUID_WEIGHT_SCALE_SERVICE       0x181D    /*! Weight Scale Service */
00057 
00058 /*! GATT UUIDs */
00059 #define ATT_UUID_PRIMARY_SERVICE            0x2800    /*! Primary Service */
00060 #define ATT_UUID_SECONDARY_SERVICE          0x2801    /*! Secondary Service */
00061 #define ATT_UUID_INCLUDE                    0x2802    /*! Include */
00062 #define ATT_UUID_CHARACTERISTIC             0x2803    /*! Characteristic */
00063 
00064 /*! Descriptor UUIDs */
00065 #define ATT_UUID_CHARACTERISTIC_EXT         0x2900    /*! Characteristic Extended Properties */
00066 #define ATT_UUID_CHAR_USER_DESC             0x2901    /*! Characteristic User Description */
00067 #define ATT_UUID_CLIENT_CHAR_CONFIG         0x2902    /*! Client Characteristic Configuration */
00068 #define ATT_UUID_SERVER_CHAR_CONFIG         0x2903    /*! Server Characteristic Configuration */
00069 #define ATT_UUID_CHAR_PRES_FORMAT           0x2904    /*! Characteristic Presentation Format */
00070 #define ATT_UUID_AGGREGATE_FORMAT           0x2905    /*! Characteristic Aggregate Format */
00071 #define ATT_UUID_VALID_RANGE                0x2906    /*! Valid Range */
00072 #define ATT_UUID_HID_REPORT_ID_MAPPING      0x2908    /*! HID Report ID Mapping */
00073 
00074 /*! Characteristic UUIDs */
00075 #define ATT_UUID_DEVICE_NAME                0x2A00    /*! Device Name */
00076 #define ATT_UUID_APPEARANCE                 0x2A01    /*! Appearance */
00077 #define ATT_UUID_PERIPH_PRIVACY_FLAG        0x2A02    /*! Peripheral Privacy Flag */
00078 #define ATT_UUID_RECONN_ADDR                0x2A03    /*! Reconnection Address */
00079 #define ATT_UUID_PREF_CONN_PARAM            0x2A04    /*! Peripheral Preferred Connection Parameters */
00080 #define ATT_UUID_SERVICE_CHANGED            0x2A05    /*! Service Changed */
00081 #define ATT_UUID_ALERT_LEVEL                0x2A06    /*! Alert Level */
00082 #define ATT_UUID_TX_POWER_LEVEL             0x2A07    /*! Tx Power Level */
00083 #define ATT_UUID_DATE_TIME                  0x2A08    /*! Date Time */
00084 #define ATT_UUID_DAY_OF_WEEK                0x2A09    /*! Day of Week */
00085 #define ATT_UUID_DAY_DATE_TIME              0x2A0A    /*! Day Date Time */
00086 #define ATT_UUID_EXACT_TIME_100             0x2A0B    /*! Exact Time 100 */
00087 #define ATT_UUID_EXACT_TIME_256             0x2A0C    /*! Exact Time 256 */
00088 #define ATT_UUID_DST_OFFSET                 0x2A0D    /*! DST Offset */
00089 #define ATT_UUID_TIME_ZONE                  0x2A0E    /*! Time Zone */
00090 #define ATT_UUID_LOCAL_TIME_INFO            0x2A0F    /*! Local Time Information */
00091 #define ATT_UUID_SECONDARY_TIME_ZONE        0x2A10    /*! Secondary Time Zone */
00092 #define ATT_UUID_TIME_WITH_DST              0x2A11    /*! Time with DST */
00093 #define ATT_UUID_TIME_ACCURACY              0x2A12    /*! Time Accuracy */
00094 #define ATT_UUID_TIME_SOURCE                0x2A13    /*! Time Source */
00095 #define ATT_UUID_REFERENCE_TIME_INFO        0x2A14    /*! Reference Time Information */
00096 #define ATT_UUID_TIME_BROADCAST             0x2A15    /*! Time Broadcast */
00097 #define ATT_UUID_TIME_UPDATE_CP             0x2A16    /*! Time Update Control Point */
00098 #define ATT_UUID_TIME_UPDATE_STATE          0x2A17    /*! Time Update State */
00099 #define ATT_UUID_GLUCOSE_MEAS               0x2A18    /*! Glucose Measurement */
00100 #define ATT_UUID_BATTERY_LEVEL              0x2A19    /*! Battery Level */
00101 #define ATT_UUID_BATTERY_POWER_STATE        0x2A1A    /*! Battery Power State */
00102 #define ATT_UUID_BATTERY_LEVEL_STATE        0x2A1B    /*! Battery Level State */
00103 #define ATT_UUID_TEMP_MEAS                  0x2A1C    /*! Temperature Measurement */
00104 #define ATT_UUID_TEMP_TYPE                  0x2A1D    /*! Temperature Type */
00105 #define ATT_UUID_INTERMEDIATE_TEMP          0x2A1E    /*! Intermediate Temperature */
00106 #define ATT_UUID_TEMP_C                     0x2A1F    /*! Temperature Celsius */
00107 #define ATT_UUID_TEMP_F                     0x2A20    /*! Temperature Fahrenheit */
00108 #define ATT_UUID_MEAS_INTERVAL              0x2A21    /*! Measurement Interval */
00109 #define ATT_UUID_HID_BOOT_REPORT_MAP        0x2A22    /*! HID Boot Report Mapping */
00110 #define ATT_UUID_SYSTEM_ID                  0x2A23    /*! System ID */
00111 #define ATT_UUID_MODEL_NUMBER               0x2A24    /*! Model Number String */
00112 #define ATT_UUID_SERIAL_NUMBER              0x2A25    /*! Serial Number String */
00113 #define ATT_UUID_FIRMWARE_REV               0x2A26    /*! Firmware Revision String */
00114 #define ATT_UUID_HARDWARE_REV               0x2A27    /*! Hardware Revision String */
00115 #define ATT_UUID_SOFTWARE_REV               0x2A28    /*! Software Revision String */
00116 #define ATT_UUID_MANUFACTURER_NAME          0x2A29    /*! Manufacturer Name String */
00117 #define ATT_UUID_11073_CERT_DATA            0x2A2A    /*! IEEE 11073-20601 Regulatory Certification Data List */
00118 #define ATT_UUID_CURRENT_TIME               0x2A2B    /*! Current Time */
00119 #define ATT_UUID_ELEVATION                  0x2A2C    /*! Elevation */
00120 #define ATT_UUID_LATITUDE                   0x2A2D    /*! Latitude */
00121 #define ATT_UUID_LONGITUDE                  0x2A2E    /*! Longitude */
00122 #define ATT_UUID_POSITION_2D                0x2A2F    /*! Position 2D */
00123 #define ATT_UUID_POSITION_3D                0x2A30    /*! Position 3D */
00124 #define ATT_UUID_VENDOR_ID                  0x2A31    /*! Vendor ID */
00125 #define ATT_UUID_PRODUCT_ID                 0x2A32    /*! Product ID */
00126 #define ATT_UUID_HID_VERSION                0x2A33    /*! HID Version */
00127 #define ATT_UUID_GLUCOSE_MEAS_CONTEXT       0x2A34    /*! Glucose Measurement Context */
00128 #define ATT_UUID_BP_MEAS                    0x2A35    /*! Blood Pressure Measurement */
00129 #define ATT_UUID_INTERMEDIATE_BP            0x2A36    /*! Intermediate Cuff Pressure */
00130 #define ATT_UUID_HR_MEAS                    0x2A37    /*! Heart Rate Measurement */
00131 #define ATT_UUID_HR_SENSOR_LOC              0x2A38    /*! Body Sensor Location */
00132 #define ATT_UUID_HR_CP                      0x2A39    /*! Heart Rate Control Point */
00133 #define ATT_UUID_REMOVABLE                  0x2A3A    /*! Removable */
00134 #define ATT_UUID_SERVICE_REQ                0x2A3B    /*! Service Required */
00135 #define ATT_UUID_SCI_TEMP_C                 0x2A3C    /*! Scientific Temperature in Celsius */
00136 #define ATT_UUID_STRING                     0x2A3D    /*! String */
00137 #define ATT_UUID_NETWORK_AVAIL              0x2A3E    /*! Network Availability */
00138 #define ATT_UUID_ALERT_STATUS               0x2A3F    /*! Alert Status */
00139 #define ATT_UUID_RINGER_CP                  0x2A40    /*! Ringer Control Point */
00140 #define ATT_UUID_RINGER_SETTING             0x2A41    /*! Ringer Setting */
00141 #define ATT_UUID_ALERT_CAT_ID_MASK          0x2A42    /*! Alert Category ID Bit Mask */
00142 #define ATT_UUID_ALERT_CAT_ID               0x2A43    /*! Alert Category ID */
00143 #define ATT_UUID_ALERT_NOTIF_CP             0x2A44    /*! Alert Notification Control Point */
00144 #define ATT_UUID_UNREAD_ALERT_STATUS        0x2A45    /*! Unread Alert Status */
00145 #define ATT_UUID_NEW_ALERT                  0x2A46    /*! New Alert */
00146 #define ATT_UUID_SUP_NEW_ALERT_CAT          0x2A47    /*! Supported New Alert Category */
00147 #define ATT_UUID_SUP_UNREAD_ALERT_CAT       0x2A48    /*! Supported Unread Alert Category */
00148 #define ATT_UUID_BP_FEATURE                 0x2A49    /*! Blood Pressure Feature */
00149 #define ATT_UUID_HID_INFO                   0x2A4A    /*! HID Information */            
00150 #define ATT_UUID_REPORT_MAP                 0x2A4B    /*! Report Map */                
00151 #define ATT_UUID_HID_CP                     0x2A4C    /*! HID Control Point */          
00152 #define ATT_UUID_REPORT                     0x2A4D    /*! Report */                    
00153 #define ATT_UUID_PROTOCOL_MODE              0x2A4E    /*! Protocol Mode */              
00154 #define ATT_UUID_SCAN_INT_WIND              0x2A4F    /*! Scan Interval Window */       
00155 #define ATT_UUID_PNP_ID                     0x2A50    /*! PnP ID */                     
00156 #define ATT_UUID_GLUCOSE_FEATURE            0x2A51    /*! Glucose Feature */            
00157 #define ATT_UUID_RACP                       0x2A52    /*! Record Access Control Point */
00158 #define ATT_UUID_WEIGHT_MEAS                0x2A9D    /*! Weight Measurement */
00159 #define ATT_UUID_WEIGHT_SCALE_FEATURE       0x2A9E    /*! Weight Scale Feature */
00160 
00161 /* remove when adopted */
00162 #define ATT_UUID_GENERIC_CTRL_SERVICE       0xF011
00163 #define ATT_UUID_COMMAND_ENUM               0xE010    /*! Command Enumeration */
00164 #define ATT_UUID_GENERIC_COMMAND_CP         0xE011    /*! Generic Command Control Point */
00165 
00166 /*! Unit UUIDs */
00167 #define ATT_UUID_UNITLESS                   0x2700    /*! unitless */
00168 #define ATT_UUID_LENGTH_M                   0x2701    /*! length metre */
00169 #define ATT_UUID_MASS_KG                    0x2702    /*! mass kilogram */
00170 #define ATT_UUID_TIME_SEC                   0x2703    /*! time second */
00171 #define ATT_UUID_ELECTRIC_CURRENT_AMP       0x2704    /*! electric current ampere */
00172 #define ATT_UUID_THERMO_TEMP_K              0x2705    /*! thermodynamic temperature kelvin */
00173 #define ATT_UUID_AMOUNT_OF_SUBSTANCE_MOLE   0x2706    /*! amount of substance mole */
00174 #define ATT_UUID_LUMINOUS_INTENSITY_CAND    0x2707    /*! luminous intensity candela */
00175 #define ATT_UUID_AREA_SQ_M                  0x2710    /*! area square metres */
00176 #define ATT_UUID_VOLUME_CU_M                0x2711    /*! volume cubic metres */
00177 #define ATT_UUID_VELOCITY_MPS               0x2712    /*! velocity metres per second */
00178 #define ATT_UUID_ACCELERATION_MPS_SQ        0x2713    /*! acceleration metres per second squared */
00179 #define ATT_UUID_WAVENUMBER_RECIPROCAL_M    0x2714    /*! wavenumber reciprocal metre */
00180 #define ATT_UUID_DENSITY_KG_PER_CU_M        0x2715    /*! density kilogram per cubic metre */
00181 #define ATT_UUID_SURFACE_DENS_KG_PER_SQ_M   0x2716    /*! surface density kilogram per square metre */
00182 #define ATT_UUID_SPECIFIC_VOL_CU_M_PER_KG   0x2717    /*! specific volume cubic metre per kilogram */
00183 #define ATT_UUID_CURRENT_DENS_AMP_PER_SQ_M  0x2718    /*! current density ampere per square metre */
00184 #define ATT_UUID_MAG_FIELD_STR_AMP_PER_M    0x2719    /*! magnetic field strength ampere per metre */
00185 #define ATT_UUID_AMOUNT_CONC_MOLE_PER_CU_M  0x271A    /*! amount concentration mole per cubic metre */
00186 #define ATT_UUID_MASS_CONC_KG_PER_CU_M      0x271B    /*! mass concentration kilogram per cubic metre */
00187 #define ATT_UUID_LUM_CAND_PER_SQ_M          0x271C    /*! luminance candela per square metre */
00188 #define ATT_UUID_REFRACTIVE_INDEX           0x271D    /*! refractive index */
00189 #define ATT_UUID_RELATIVE_PERMEABILITY      0x271E    /*! relative permeability */
00190 #define ATT_UUID_PLANE_ANGLE_R              0x2720    /*! plane angle radian */
00191 #define ATT_UUID_SOLID_ANGLE_STER           0x2721    /*! solid angle steradian */
00192 #define ATT_UUID_FREQUENCY_HERTZ            0x2722    /*! frequency hertz */
00193 #define ATT_UUID_FORCE_NEWT                 0x2723    /*! force newton */
00194 #define ATT_UUID_PRESSURE_PASCAL            0x2724    /*! pressure pascal */
00195 #define ATT_UUID_ENERGY_J                   0x2725    /*! energy joule */
00196 #define ATT_UUID_POWER_W                    0x2726    /*! power watt */
00197 #define ATT_UUID_ELECTRIC_CHG_C             0x2727    /*! electric charge coulomb */
00198 #define ATT_UUID_ELECTRIC_POTENTIAL_VOLT    0x2728    /*! electric potential difference volt */
00199 #define ATT_UUID_CAPACITANCE_F              0x2729    /*! capacitance farad */
00200 #define ATT_UUID_ELECTRIC_RESISTANCE_OHM    0x272A    /*! electric resistance ohm */
00201 #define ATT_UUID_ELECTRIC_COND_SIEMENS      0x272B    /*! electric conductance siemens */
00202 #define ATT_UUID_MAGNETIC_FLEX_WEBER        0x272C    /*! magnetic flex weber */
00203 #define ATT_UUID_MAGNETIC_FLEX_DENS_TESLA   0x272D    /*! magnetic flex density tesla */
00204 #define ATT_UUID_INDUCTANCE_H               0x272E    /*! inductance henry */
00205 #define ATT_UUID_C_TEMP_DEG_C               0x272F    /*! Celsius temperature degree Celsius */
00206 #define ATT_UUID_LUMINOUS_FLUX_LUMEN        0x2730    /*! luminous flux lumen */
00207 #define ATT_UUID_ILLUMINANCE_LUX            0x2731    /*! illuminance lux */
00208 #define ATT_UUID_RADIONUCLIDE_BECQUEREL     0x2732    /*! activity referred to a radionuclide becquerel */
00209 #define ATT_UUID_ABSORBED_DOSE_GRAY         0x2733    /*! absorbed dose gray */
00210 #define ATT_UUID_DOSE_EQUIVALENT_SIEVERT    0x2734    /*! dose equivalent sievert */
00211 #define ATT_UUID_CATALYTIC_ACTIVITY_KATAL   0x2735    /*! catalytic activity katal */
00212 #define ATT_UUID_DYNAMIC_VISC_PASCAL_SEC    0x2740    /*! dynamic viscosity pascal second */
00213 #define ATT_UUID_MOMENT_OF_FORCE_NEWT_M     0x2741    /*! moment of force newton metre */
00214 #define ATT_UUID_SURFACE_TENSION_NEWT_PER_M 0x2742    /*! surface tension newton per metre */
00215 #define ATT_UUID_ANG_VELOCITY_R_PER_SEC     0x2743    /*! angular velocity radian per second */
00216 #define ATT_UUID_ANG_ACCEL_R_PER_SEC_SQD    0x2744    /*! angular acceleration radian per second squared */
00217 #define ATT_UUID_HEAT_FLUX_DEN_W_PER_SQ_M   0x2745    /*! heat flux density watt per square metre */
00218 #define ATT_UUID_HEAT_CAP_J_PER_K           0x2746    /*! heat capacity joule per kelvin */
00219 #define ATT_UUID_SPEC_HEAT_CAP_J_PER_KG_K   0x2747    /*! specific heat capacity joule per kilogram kelvin */
00220 #define ATT_UUID_SPEC_ENERGY_J_PER_KG       0x2748    /*! specific energy joule per kilogram */
00221 #define ATT_UUID_THERMAL_COND_W_PER_M_K     0x2749    /*! thermal conductivity watt per metre kelvin */
00222 #define ATT_UUID_ENERGY_DENSITY_J_PER_CU_M  0x274A    /*! energy density joule per cubic metre */
00223 #define ATT_UUID_ELEC_FIELD_STR_VOLT_PER_M  0x274B    /*! electric field strength volt per metre */
00224 #define ATT_UUID_ELEC_CHG_DENS_C_PER_CU_M   0x274C    /*! electric charge density coulomb per cubic metre */
00225 #define ATT_UUID_SURF_CHG_DENS_C_PER_SQ_M   0x274D    /*! surface charge density coulomb per square metre */
00226 #define ATT_UUID_ELEC_FLUX_DENS_C_PER_SQ_M  0x274E    /*! electric flux density coulomb per square metre */
00227 #define ATT_UUID_PERMITTIVITY_F_PER_M       0x274F    /*! permittivity farad per metre */
00228 #define ATT_UUID_PERMEABILITY_H_PER_M       0x2750    /*! permeability henry per metre */
00229 #define ATT_UUID_MOLAR_ENERGY_J_PER_MOLE    0x2751    /*! molar energy joule per mole */
00230 #define ATT_UUID_MOLAR_ENTROPY_J_PER_MOLE_K 0x2752    /*! molar entropy joule per mole kelvin */
00231 #define ATT_UUID_EXPOSURE_C_PER_KG          0x2753    /*! exposure coulomb per kilogram */
00232 #define ATT_UUID_DOSE_RATE_GRAY_PER_SEC     0x2754    /*! absorbed dose rate gray per second */
00233 #define ATT_UUID_RT_INTENSITY_W_PER_STER    0x2755    /*! radiant intensity watt per steradian */
00234 #define ATT_UUID_RCE_W_PER_SQ_METER_STER    0x2756    /*! radiance watt per square meter steradian */
00235 #define ATT_UUID_CATALYTIC_KATAL_PER_CU_M   0x2757    /*! catalytic activity concentration katal per cubic metre */
00236 #define ATT_UUID_TIME_MIN                   0x2760    /*! time minute */
00237 #define ATT_UUID_TIME_HR                    0x2761    /*! time hour */
00238 #define ATT_UUID_TIME_DAY                   0x2762    /*! time day */
00239 #define ATT_UUID_PLANE_ANGLE_DEG            0x2763    /*! plane angle degree */
00240 #define ATT_UUID_PLANE_ANGLE_MIN            0x2764    /*! plane angle minute */
00241 #define ATT_UUID_PLANE_ANGLE_SEC            0x2765    /*! plane angle second */
00242 #define ATT_UUID_AREA_HECTARE               0x2766    /*! area hectare */
00243 #define ATT_UUID_VOLUME_L                   0x2767    /*! volume litre */
00244 #define ATT_UUID_MASS_TONNE                 0x2768    /*! mass tonne */
00245 #define ATT_UUID_PRESSURE_BAR               0x2780    /*! pressure bar */
00246 #define ATT_UUID_PRESSURE_MM                0x2781    /*! pressure millimetre of mercury */
00247 #define ATT_UUID_LENGTH_ANGSTROM            0x2782    /*! length angstrom */
00248 #define ATT_UUID_LENGTH_NAUTICAL_MILE       0x2783    /*! length nautical mile */
00249 #define ATT_UUID_AREA_BARN                  0x2784    /*! area barn */
00250 #define ATT_UUID_VELOCITY_KNOT              0x2785    /*! velocity knot */
00251 #define ATT_UUID_LOG_RADIO_QUANT_NEPER      0x2786    /*! logarithmic radio quantity neper */
00252 #define ATT_UUID_LOG_RADIO_QUANT_BEL        0x2787    /*! logarithmic radio quantity bel */
00253 #define ATT_UUID_LOG_RADIO_QUANT_DB         0x2788    /*! logarithmic radio quantity decibel */
00254 #define ATT_UUID_LENGTH_YARD                0x27A0    /*! length yard */
00255 #define ATT_UUID_LENGTH_PARSEC              0x27A1    /*! length parsec */
00256 #define ATT_UUID_LENGTH_IN                  0x27A2    /*! length inch */
00257 #define ATT_UUID_LENGTH_FOOT                0x27A3    /*! length foot */
00258 #define ATT_UUID_LENGTH_MILE                0x27A4    /*! length mile */
00259 #define ATT_UUID_PRESSURE_POUND_PER_SQ_IN   0x27A5    /*! pressure pound-force per square inch */
00260 #define ATT_UUID_VELOCITY_KPH               0x27A6    /*! velocity kilometre per hour */
00261 #define ATT_UUID_VELOCITY_MPH               0x27A7    /*! velocity mile per hour */
00262 #define ATT_UUID_ANG_VELOCITY_RPM           0x27A8    /*! angular velocity revolution per minute */
00263 #define ATT_UUID_ENERGY_GRAM_CALORIE        0x27A9    /*! energy gram calorie */
00264 #define ATT_UUID_ENERGY_KG_CALORIE          0x27AA    /*! energy kilogram calorie */
00265 #define ATT_UUID_ENERGY_KILOWATT_HR         0x27AB    /*! energy kilowatt hour */
00266 #define ATT_UUID_THERM_TEMP_F               0x27AC    /*! thermodynamic temperature degree Fahrenheit */
00267 #define ATT_UUID_PERCENTAGE                 0x27AD    /*! percentage */
00268 #define ATT_UUID_PER_MILLE                  0x27AE    /*! per mille */
00269 #define ATT_UUID_PERIOD_BEATS_PER_MIN       0x27AF    /*! period beats per minute */
00270 #define ATT_UUID_ELECTRIC_CHG_AMP_HRS       0x27B0    /*! electric charge ampere hours */
00271 #define ATT_UUID_MASS_DENSITY_MG_PER_DL     0x27B1    /*! mass density milligram per decilitre */
00272 #define ATT_UUID_MASS_DENSITY_MMOLE_PER_L   0x27B2    /*! mass density millimole per litre */
00273 #define ATT_UUID_TIME_YEAR                  0x27B3    /*! time year */
00274 #define ATT_UUID_TIME_MONTH                 0x27B4    /*! time month */
00275 
00276 /*! Wicentric proprietary UUIDs */
00277 
00278 /*! Base UUID:  E0262760-08C2-11E1-9073-0E8AC72EXXXX */
00279 #define ATT_UUID_WICENTRIC_BASE             0x2E, 0xC7, 0x8A, 0x0E, 0x73, 0x90, \
00280                                             0xE1, 0x11, 0xC2, 0x08, 0x60, 0x27, 0x26, 0xE0
00281 
00282 /*! Macro for building Wicentric UUIDs */
00283 #define ATT_UUID_WICENTRIC_BUILD(part)      UINT16_TO_BYTES(part), ATT_UUID_WICENTRIC_BASE
00284 
00285 /*! Partial proprietary service UUIDs */
00286 #define ATT_UUID_P1_SERVICE_PART            0x1001   /*! Proprietary service P1 */
00287 
00288 /*! Partial proprietary characteristic UUIDs */
00289 #define ATT_UUID_D1_DATA_PART               0x0001    /*! Proprietary data D1 */
00290 
00291 /* Proprietary services */
00292 #define ATT_UUID_P1_SERVICE                 ATT_UUID_WICENTRIC_BUILD(ATT_UUID_P1_SERVICE_PART)
00293 
00294 /* Proprietary characteristics */
00295 #define ATT_UUID_D1_DATA                    ATT_UUID_WICENTRIC_BUILD(ATT_UUID_D1_DATA_PART)
00296 
00297 /**************************************************************************************************
00298   Global Variables
00299 **************************************************************************************************/
00300 
00301 /*! Service UUIDs */
00302 extern const uint8_t attGapSvcUuid [ATT_16_UUID_LEN];     /*! Generic Access Profile Service */
00303 extern const uint8_t attGattSvcUuid [ATT_16_UUID_LEN];    /*! Generic Attribute Profile Service */
00304 extern const uint8_t attIasSvcUuid [ATT_16_UUID_LEN];     /*! Immediate Alert Service */
00305 extern const uint8_t attLlsSvcUuid [ATT_16_UUID_LEN];     /*! Link Loss Service */
00306 extern const uint8_t attTpsSvcUuid [ATT_16_UUID_LEN];     /*! Tx Power Service */
00307 extern const uint8_t attCtsSvcUuid [ATT_16_UUID_LEN];     /*! Current Time Service */
00308 extern const uint8_t attRtusSvcUuid [ATT_16_UUID_LEN];    /*! Reference Time Update Service */
00309 extern const uint8_t attNdcsSvcUuid [ATT_16_UUID_LEN];    /*! Next DST Change Service */
00310 extern const uint8_t attGlsSvcUuid [ATT_16_UUID_LEN];     /*! Glucose Service */
00311 extern const uint8_t attHtsSvcUuid [ATT_16_UUID_LEN];     /*! Health Thermometer Service */
00312 extern const uint8_t attDisSvcUuid [ATT_16_UUID_LEN];     /*! Device Information Service */
00313 extern const uint8_t attNwaSvcUuid [ATT_16_UUID_LEN];     /*! Network Availability Service */
00314 extern const uint8_t attWdsSvcUuid [ATT_16_UUID_LEN];     /*! Watchdog Service */
00315 extern const uint8_t attHrsSvcUuid [ATT_16_UUID_LEN];     /*! Heart Rate Service */
00316 extern const uint8_t attPassSvcUuid [ATT_16_UUID_LEN];    /*! Phone Alert Status Service */
00317 extern const uint8_t attBasSvcUuid [ATT_16_UUID_LEN];     /*! Battery Service */
00318 extern const uint8_t attBpsSvcUuid [ATT_16_UUID_LEN];     /*! Blood Pressure Service */
00319 extern const uint8_t attAnsSvcUuid [ATT_16_UUID_LEN];     /*! Alert Notification Service */
00320 extern const uint8_t attHidSvcUuid [ATT_16_UUID_LEN];     /*! Human Interface Device Service */
00321 extern const uint8_t attSpsSvcUuid [ATT_16_UUID_LEN];     /*! Scan Parameter Service */
00322 extern const uint8_t attWssSvcUuid [ATT_16_UUID_LEN];     /*! Weight scale service */
00323 
00324 /*! GATT UUIDs */
00325 extern const uint8_t attPrimSvcUuid [ATT_16_UUID_LEN];    /*! Primary Service */
00326 extern const uint8_t attSecSvcUuid [ATT_16_UUID_LEN];     /*! Secondary Service */
00327 extern const uint8_t attIncUuid [ATT_16_UUID_LEN];        /*! Include */
00328 extern const uint8_t attChUuid [ATT_16_UUID_LEN];         /*! Characteristic */
00329                                                          
00330 /*! Descriptor UUIDs */                                  
00331 extern const uint8_t attChExtUuid [ATT_16_UUID_LEN];      /*! Characteristic Extended Properties */
00332 extern const uint8_t attChUserDescUuid [ATT_16_UUID_LEN]; /*! Characteristic User Description */
00333 extern const uint8_t attCliChCfgUuid [ATT_16_UUID_LEN];   /*! Client Characteristic Configuration */
00334 extern const uint8_t attSrvChCfgUuid [ATT_16_UUID_LEN];   /*! Server Characteristic Configuration */
00335 extern const uint8_t attChPresFmtUuid [ATT_16_UUID_LEN];  /*! Characteristic Presentation Format */
00336 extern const uint8_t attAggFmtUuid [ATT_16_UUID_LEN];     /*! Characteristic Aggregate Format */
00337 extern const uint8_t attValRangeUuid [ATT_16_UUID_LEN];   /*! Valid Range */
00338 extern const uint8_t attHidRimUuid [ATT_16_UUID_LEN];     /*! HID Report ID Mapping */
00339 
00340 /*! Characteristic UUIDs */
00341 extern const uint8_t attDnChUuid [ATT_16_UUID_LEN];       /*! Device Name */
00342 extern const uint8_t attApChUuid [ATT_16_UUID_LEN];       /*! Appearance */
00343 extern const uint8_t attPpfChUuid [ATT_16_UUID_LEN];      /*! Peripheral Privacy Flag */
00344 extern const uint8_t attRaChUuid [ATT_16_UUID_LEN];       /*! Reconnection Address */
00345 extern const uint8_t attPpcpChUuid [ATT_16_UUID_LEN];     /*! Peripheral Preferred Connection Parameters */
00346 extern const uint8_t attScChUuid [ATT_16_UUID_LEN];       /*! Service Changed */
00347 extern const uint8_t attAlChUuid [ATT_16_UUID_LEN];       /*! Alert Level */
00348 extern const uint8_t attTxpChUuid [ATT_16_UUID_LEN];      /*! Tx Power Level */
00349 extern const uint8_t attDtChUuid [ATT_16_UUID_LEN];       /*! Date Time */
00350 extern const uint8_t attDwChUuid [ATT_16_UUID_LEN];       /*! Day of Week */
00351 extern const uint8_t attDdtChUuid [ATT_16_UUID_LEN];      /*! Day Date Time */
00352 extern const uint8_t attEt100ChUuid [ATT_16_UUID_LEN];    /*! Exact Time 100 */
00353 extern const uint8_t attEt256ChUuid [ATT_16_UUID_LEN];    /*! Exact Time 256 */
00354 extern const uint8_t attDstoChUuid [ATT_16_UUID_LEN];     /*! DST Offset */
00355 extern const uint8_t attTzChUuid [ATT_16_UUID_LEN];       /*! Time Zone */
00356 extern const uint8_t attLtiChUuid [ATT_16_UUID_LEN];      /*! Local Time Information */
00357 extern const uint8_t attStzChUuid [ATT_16_UUID_LEN];      /*! Secondary Time Zone */
00358 extern const uint8_t attTdstChUuid [ATT_16_UUID_LEN];     /*! Time with DST */
00359 extern const uint8_t attTaChUuid [ATT_16_UUID_LEN];       /*! Time Accuracy */
00360 extern const uint8_t attTsChUuid [ATT_16_UUID_LEN];       /*! Time Source */
00361 extern const uint8_t attRtiChUuid [ATT_16_UUID_LEN];      /*! Reference Time Information */
00362 extern const uint8_t attTbChUuid [ATT_16_UUID_LEN];       /*! Time Broadcast */
00363 extern const uint8_t attTucpChUuid [ATT_16_UUID_LEN];     /*! Time Update Control Point */
00364 extern const uint8_t attTusChUuid [ATT_16_UUID_LEN];      /*! Time Update State */
00365 extern const uint8_t attGlmChUuid [ATT_16_UUID_LEN];      /*! Glucose Measurement */
00366 extern const uint8_t attBlChUuid [ATT_16_UUID_LEN];       /*! Battery Level */
00367 extern const uint8_t attBpsChUuid [ATT_16_UUID_LEN];      /*! Battery Power State */
00368 extern const uint8_t attBlsChUuid [ATT_16_UUID_LEN];      /*! Battery Level State */
00369 extern const uint8_t attTmChUuid [ATT_16_UUID_LEN];       /*! Temperature Measurement */
00370 extern const uint8_t attTtChUuid [ATT_16_UUID_LEN];       /*! Temperature Type */
00371 extern const uint8_t attItChUuid [ATT_16_UUID_LEN];       /*! Intermediate Temperature */
00372 extern const uint8_t attTcelChUuid [ATT_16_UUID_LEN];     /*! Temperature Celsius */
00373 extern const uint8_t attTfahChUuid [ATT_16_UUID_LEN];     /*! Temperature Fahrenheit */
00374 extern const uint8_t attMiChUuid [ATT_16_UUID_LEN];       /*! Measurement Interval */
00375 extern const uint8_t attHbrpChUuid [ATT_16_UUID_LEN];     /*! HID Boot Report Mapping */
00376 extern const uint8_t attSidChUuid [ATT_16_UUID_LEN];      /*! System ID */
00377 extern const uint8_t attMnsChUuid [ATT_16_UUID_LEN];      /*! Model Number String */
00378 extern const uint8_t attSnsChUuid [ATT_16_UUID_LEN];      /*! Serial Number String */
00379 extern const uint8_t attFrsChUuid [ATT_16_UUID_LEN];      /*! Firmware Revision String */
00380 extern const uint8_t attHrsChUuid [ATT_16_UUID_LEN];      /*! Hardware Revision String */
00381 extern const uint8_t attSrsChUuid [ATT_16_UUID_LEN];      /*! Software Revision String */
00382 extern const uint8_t attMfnsChUuid [ATT_16_UUID_LEN];     /*! Manufacturer Name String */
00383 extern const uint8_t attIeeeChUuid [ATT_16_UUID_LEN];     /*! IEEE 11073-20601 Regulatory Certification Data List */
00384 extern const uint8_t attCtChUuid [ATT_16_UUID_LEN];       /*! Current Time */
00385 extern const uint8_t attElChUuid [ATT_16_UUID_LEN];       /*! Elevation */
00386 extern const uint8_t attLatChUuid [ATT_16_UUID_LEN];      /*! Latitude */
00387 extern const uint8_t attLongChUuid [ATT_16_UUID_LEN];     /*! Longitude */
00388 extern const uint8_t attP2dChUuid [ATT_16_UUID_LEN];      /*! Position 2D */
00389 extern const uint8_t attP3dChUuid [ATT_16_UUID_LEN];      /*! Position 3D */
00390 extern const uint8_t attVidChUuid [ATT_16_UUID_LEN];      /*! Vendor ID */
00391 extern const uint8_t attPidChUuid [ATT_16_UUID_LEN];      /*! Product ID */
00392 extern const uint8_t attHidvChUuid [ATT_16_UUID_LEN];     /*! HID Version */
00393 extern const uint8_t attGlmcChUuid [ATT_16_UUID_LEN];     /*! Glucose Measurement Context */
00394 extern const uint8_t attBpmChUuid [ATT_16_UUID_LEN];      /*! Blood Pressure Measurement */
00395 extern const uint8_t attIcpChUuid [ATT_16_UUID_LEN];      /*! Intermediate Cuff Pressure */
00396 extern const uint8_t attHrmChUuid [ATT_16_UUID_LEN];      /*! Heart Rate Measurement */
00397 extern const uint8_t attBslChUuid [ATT_16_UUID_LEN];      /*! Body Sensor Location */
00398 extern const uint8_t attHrcpChUuid [ATT_16_UUID_LEN];     /*! Heart Rate Control Point */
00399 extern const uint8_t attRemChUuid [ATT_16_UUID_LEN];      /*! Removable */
00400 extern const uint8_t attSrChUuid [ATT_16_UUID_LEN];       /*! Service Required */
00401 extern const uint8_t attStcChUuid [ATT_16_UUID_LEN];      /*! Scientific Temperature in Celsius */
00402 extern const uint8_t attStrChUuid [ATT_16_UUID_LEN];      /*! String */
00403 extern const uint8_t attNwaChUuid [ATT_16_UUID_LEN];      /*! Network Availability */
00404 extern const uint8_t attAsChUuid [ATT_16_UUID_LEN];       /*! Alert Status */
00405 extern const uint8_t attRcpChUuid [ATT_16_UUID_LEN];      /*! Ringer Control Point */
00406 extern const uint8_t attRsChUuid [ATT_16_UUID_LEN];       /*! Ringer Setting */
00407 extern const uint8_t attAcbmChUuid [ATT_16_UUID_LEN];     /*! Alert Category ID Bit Mask */
00408 extern const uint8_t attAcChUuid [ATT_16_UUID_LEN];       /*! Alert Category ID */
00409 extern const uint8_t attAncpChUuid [ATT_16_UUID_LEN];     /*! Alert Notification Control Point */
00410 extern const uint8_t attUasChUuid [ATT_16_UUID_LEN];      /*! Unread Alert Status */
00411 extern const uint8_t attNaChUuid [ATT_16_UUID_LEN];       /*! New Alert */
00412 extern const uint8_t attSnacChUuid [ATT_16_UUID_LEN];     /*! Supported New Alert Category */
00413 extern const uint8_t attSuacChUuid [ATT_16_UUID_LEN];     /*! Supported Unread Alert Category */
00414 extern const uint8_t attBpfChUuid [ATT_16_UUID_LEN];      /*! Blood Pressure Feature */
00415 extern const uint8_t attHidiChUuid [ATT_16_UUID_LEN];     /*! HID Information */            
00416 extern const uint8_t attRmChUuid [ATT_16_UUID_LEN];       /*! Report Map */                
00417 extern const uint8_t attHidcpChUuid [ATT_16_UUID_LEN];    /*! HID Control Point */          
00418 extern const uint8_t attRepChUuid [ATT_16_UUID_LEN];      /*! Report */                    
00419 extern const uint8_t attPmChUuid [ATT_16_UUID_LEN];       /*! Protocol Mode */              
00420 extern const uint8_t attSiwChUuid [ATT_16_UUID_LEN];      /*! Scan Interval Window */       
00421 extern const uint8_t attPnpChUuid [ATT_16_UUID_LEN];      /*! PnP ID */                     
00422 extern const uint8_t attGlfChUuid [ATT_16_UUID_LEN];      /*! Glucose Feature */            
00423 extern const uint8_t attRacpChUuid [ATT_16_UUID_LEN];     /*! Record Access Control Point */
00424 extern const uint8_t attWmChUuid [ATT_16_UUID_LEN];       /*! Weight measurement */
00425 extern const uint8_t attWsfChUuid [ATT_16_UUID_LEN];      /*! Weight scale feature */
00426 
00427 #ifdef __cplusplus
00428 };
00429 #endif
00430 
00431 #endif /* ATT_UUID_H */