2 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4 * Licensed under the Flora License, Version 1.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://floralicense.org/license/
10 * Unless required by applicable law or agreed to in writing,
11 * software distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #ifndef __BT_DBUS_METHOD_H__
18 #define __BT_DBUS_METHOD_H__
25 #include <dbus/dbus.h>
26 #include <dbus/dbus-glib-bindings.h>
28 #define BT_ADAPTER_PATH_LEN 50
30 #define BLUEZ_DBUS_NAME "org.bluez"
31 #define MANAGER_INTERFACE "org.bluez.Manager"
32 #define ADAPTER_INTERFACE "org.bluez.Adapter"
33 #define HID_INTERFACE "org.bluez.Input"
34 #define HEADSET_INTERFACE "org.bluez.Headset"
35 #define SYNK_INTERFACE "org.bluez.AudioSink"
37 #define AGENT_NAME "org.projectx.bt"
38 #define AGENT_PATH "/org/tizen/adapter_agent"
39 #define AGENT_INTERFACE "org.bluez.Agent"
41 #define BT_CORE_NAME "org.projectx.bt_core"
42 #define BT_CORE_PATH "/org/projectx/bt_core"
43 #define BT_CORE_INTERFACE "org.projectx.btcore"
45 DBusGProxy *_bt_get_adapter_proxy(DBusGConnection *conn);
47 void _bt_reset_environment(void);
49 gboolean _bt_is_profile_connected(int connected_type,
50 DBusGConnection *conn,
56 #endif /* __BT_DBUS_METHOD_H__ */