Imported Upstream version 1.1.0
[platform/upstream/iotivity.git] / resource / csdk / connectivity / src / bt_le_adapter / linux / bluez.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_BLE_LINUX_BLUEZ_H
20 #define CA_BLE_LINUX_BLUEZ_H
21
22
23 /// BlueZ D-Bus service name.
24 #define BLUEZ_NAME "org.bluez"
25
26 /// BlueZ D-Bus adapter interface name.
27 static char const BLUEZ_ADAPTER_INTERFACE[] = BLUEZ_NAME ".Adapter1";
28
29 /// BlueZ D-Bus device interface name.
30 static char const BLUEZ_DEVICE_INTERFACE[] = BLUEZ_NAME ".Device1";
31
32 /// BlueZ D-Bus LE advertising manager interface.
33 static char const BLUEZ_ADVERTISING_MANAGER_INTERFACE[] =
34     BLUEZ_NAME ".LEAdvertisingManager1";
35
36 /// BlueZ D-Bus GATT manager interface.
37 static char const BLUEZ_GATT_MANAGER_INTERFACE[] =
38     BLUEZ_NAME ".GattManager1";
39
40 /// BlueZ D-Bus adapter GATT service interface name.
41 static char const BLUEZ_GATT_SERVICE_INTERFACE[] =
42     BLUEZ_NAME ".GattService1";
43
44 /// BlueZ D-Bus adapter GATT characteristic interface name.
45 static char const BLUEZ_GATT_CHARACTERISTIC_INTERFACE[] =
46     BLUEZ_NAME ".GattCharacteristic1";
47
48 /// BlueZ D-Bus adapter GATT service interface name.
49 static char const BLUEZ_GATT_DESCRIPTOR_INTERFACE[] =
50     BLUEZ_NAME ".GattDescriptor1";
51
52
53 #endif  // CA_BLE_LINUX_BLUEZ_H