Implementation of Filtered Scan for BLE android client
[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 first GATT custom UUID.
34 #define CA_GATT_CUSTOM_UUID "75004209"
35
36 /// OIC Transport Profile second GATT custom UUID.
37 #define CA_GATT_CUSTOM_UUID2 "75004204"
38
39 /// OIC Transport Profile third GATT custom UUID.
40 #define CA_GATT_CUSTOM_UUID3 "7500420C"
41
42 /// OIC Transport Profile GATT request characteristic UUID.
43 #define CA_GATT_REQUEST_CHRC_UUID "AD7B334F-4637-4B86-90B6-9D787F03D218"
44
45 /**
46  * Standard Bluetooth GATT characteristic user description descriptor
47  * UUID.
48  *
49  * @note Used by both the OIC GATT request and response
50  *       characteristics.
51  */
52 #define CA_GATT_CHRC_USER_DESCRIPTION_DESC_UUID "2901"
53
54 /**
55  * OIC Transport Profile GATT request characteristic user description
56  * descriptor value.
57  */
58 #define CA_GATT_REQUEST_USER_DESCRIPTION "OCF Node Request"
59
60 /// OIC Transport Profile GATT response characteristic UUID.
61 #define CA_GATT_RESPONSE_CHRC_UUID "E9241982-4580-42C4-8831-95048216B256"
62
63 /**
64  * OIC Transport Profile GATT response characteristic user description
65  * descriptor value.
66  */
67 #define CA_GATT_RESPONSE_USER_DESCRIPTION "OCF Node Response"
68
69 /**
70  * Standard Bluetooth GATT client characteristic configuration
71  * descriptor UUID.
72  *
73  * @note Only used by the OIC GATT response characteristic.
74  */
75 #define CA_GATT_CONFIGURATION_DESC_UUID "2902"
76
77 /**
78  * OIC Transport Profile GATT response client characteristic
79  * configuration descriptor value.
80  */
81 #define CA_GATT_RESPONSE_CONFIG_DESC "0001"
82 //@}
83
84
85 #endif  // CA_GATT_SERVICE_H