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_BLE_LINUX_BLUEZ_H
20 #define CA_BLE_LINUX_BLUEZ_H
23 /// BlueZ D-Bus service name.
24 #define BLUEZ_NAME "org.bluez"
26 /// BlueZ D-Bus adapter interface name.
27 static char const BLUEZ_ADAPTER_INTERFACE[] = BLUEZ_NAME ".Adapter1";
29 /// BlueZ D-Bus device interface name.
30 static char const BLUEZ_DEVICE_INTERFACE[] = BLUEZ_NAME ".Device1";
32 /// BlueZ D-Bus LE advertising manager interface.
33 static char const BLUEZ_ADVERTISING_MANAGER_INTERFACE[] =
34 BLUEZ_NAME ".LEAdvertisingManager1";
36 /// BlueZ D-Bus GATT manager interface.
37 static char const BLUEZ_GATT_MANAGER_INTERFACE[] =
38 BLUEZ_NAME ".GattManager1";
40 /// BlueZ D-Bus adapter GATT service interface name.
41 static char const BLUEZ_GATT_SERVICE_INTERFACE[] =
42 BLUEZ_NAME ".GattService1";
44 /// BlueZ D-Bus adapter GATT characteristic interface name.
45 static char const BLUEZ_GATT_CHARACTERISTIC_INTERFACE[] =
46 BLUEZ_NAME ".GattCharacteristic1";
48 /// BlueZ D-Bus adapter GATT service interface name.
49 static char const BLUEZ_GATT_DESCRIPTOR_INTERFACE[] =
50 BLUEZ_NAME ".GattDescriptor1";
53 #endif // CA_BLE_LINUX_BLUEZ_H