1 /* ****************************************************************
3 * Copyright 2015 Intel Corporation All Rights Reserved.
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
17 ******************************************************************/
19 #ifndef CA_GATT_SERVICE_H
20 #define CA_GATT_SERVICE_H
24 * @name OIC GATT Transport Constants
26 * Group of constants, such as UUIDs, specific to the OIC GATT
30 /// OIC Transport Profile GATT service UUID.
31 #define CA_GATT_SERVICE_UUID "ADE3D529-C784-4F63-A987-EB69F70EE816"
33 /// OIC Transport Profile first GATT custom UUID.
34 #define CA_GATT_CUSTOM_UUID "75004209"
36 /// OIC Transport Profile second GATT custom UUID.
37 #define CA_GATT_CUSTOM_UUID2 "75004204"
39 /// OIC Transport Profile third GATT custom UUID.
40 #define CA_GATT_CUSTOM_UUID3 "7500420C"
42 /// OIC Transport Profile GATT request characteristic UUID.
43 #define CA_GATT_REQUEST_CHRC_UUID "AD7B334F-4637-4B86-90B6-9D787F03D218"
46 * Standard Bluetooth GATT characteristic user description descriptor
49 * @note Used by both the OIC GATT request and response
52 #define CA_GATT_CHRC_USER_DESCRIPTION_DESC_UUID "2901"
55 * OIC Transport Profile GATT request characteristic user description
58 #define CA_GATT_REQUEST_USER_DESCRIPTION "OCF Node Request"
60 /// OIC Transport Profile GATT response characteristic UUID.
61 #define CA_GATT_RESPONSE_CHRC_UUID "E9241982-4580-42C4-8831-95048216B256"
64 * OIC Transport Profile GATT response characteristic user description
67 #define CA_GATT_RESPONSE_USER_DESCRIPTION "OCF Node Response"
70 * Standard Bluetooth GATT client characteristic configuration
73 * @note Only used by the OIC GATT response characteristic.
75 #define CA_GATT_CONFIGURATION_DESC_UUID "2902"
78 * OIC Transport Profile GATT response client characteristic
79 * configuration descriptor value.
81 #define CA_GATT_RESPONSE_CONFIG_DESC "0001"
85 #endif // CA_GATT_SERVICE_H