Change characteristic user desciption descriptor.
[platform/upstream/iotivity.git] / resource / csdk / connectivity / inc / cagattservice.h
1 /* ****************************************************************
2  *
3  * Copyright 2015 Intel Corporation All Rights Reserved.
4  *
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
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
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.
16  *
17  ******************************************************************/
18
19 #ifndef CA_GATT_SERVICE_H
20 #define CA_GATT_SERVICE_H
21
22
23 /**
24  * @name OIC GATT Transport Constants
25  *
26  * Group of constants, such as UUIDs, specific to the OIC GATT
27  * Transport Profile.
28  */
29 //@{
30 /// OIC Transport Profile GATT service UUID.
31 #define CA_GATT_SERVICE_UUID "ADE3D529-C784-4F63-A987-EB69F70EE816"
32
33 /// OIC Transport Profile GATT request characteristic UUID.
34 #define CA_GATT_REQUEST_CHRC_UUID "AD7B334F-4637-4B86-90B6-9D787F03D218"
35
36 /**
37  * Standard Bluetooth GATT characteristic user description descriptor
38  * UUID.
39  *
40  * @note Used by both the OIC GATT request and response
41  *       characteristics.
42  */
43 #define CA_GATT_CHRC_USER_DESCRIPTION_DESC_UUID "2901"
44
45 /**
46  * OIC Transport Profile GATT request characteristic user description
47  * descriptor value.
48  */
49 #define CA_GATT_REQUEST_USER_DESCRIPTION "OCF Node Request"
50
51 /// OIC Transport Profile GATT response characteristic UUID.
52 #define CA_GATT_RESPONSE_CHRC_UUID "E9241982-4580-42C4-8831-95048216B256"
53
54 /**
55  * OIC Transport Profile GATT response characteristic user description
56  * descriptor value.
57  */
58 #define CA_GATT_RESPONSE_USER_DESCRIPTION "OCF Node Response"
59
60 /**
61  * Standard Bluetooth GATT client characteristic configuration
62  * descriptor UUID.
63  *
64  * @note Only used by the OIC GATT response characteristic.
65  */
66 #define CA_GATT_CONFIGURATION_DESC_UUID "2902"
67
68 /**
69  * OIC Transport Profile GATT response client characteristic
70  * configuration descriptor value.
71  */
72 #define CA_GATT_RESPONSE_CONFIG_DESC "0001"
73 //@}
74
75
76 #endif  // CA_GATT_SERVICE_H