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 GATT request characteristic UUID.
34 #define CA_GATT_REQUEST_CHRC_UUID "AD7B334F-4637-4B86-90B6-9D787F03D218"
37 * Standard Bluetooth GATT characteristic user description descriptor
40 * @note Used by both the OIC GATT request and response
43 #define CA_GATT_CHRC_USER_DESCRIPTION_DESC_UUID "2901"
46 * OIC Transport Profile GATT request characteristic user description
49 #define CA_GATT_REQUEST_USER_DESCRIPTION "OCF Node Request"
51 /// OIC Transport Profile GATT response characteristic UUID.
52 #define CA_GATT_RESPONSE_CHRC_UUID "E9241982-4580-42C4-8831-95048216B256"
55 * OIC Transport Profile GATT response characteristic user description
58 #define CA_GATT_RESPONSE_USER_DESCRIPTION "OCF Node Response"
61 * Standard Bluetooth GATT client characteristic configuration
64 * @note Only used by the OIC GATT response characteristic.
66 #define CA_GATT_CONFIGURATION_DESC_UUID "2902"
69 * OIC Transport Profile GATT response client characteristic
70 * configuration descriptor value.
72 #define CA_GATT_RESPONSE_CONFIG_DESC "0001"
76 #endif // CA_GATT_SERVICE_H