mirror of
https://github.com/sailfishos/ofono
synced 2025-12-01 07:01:04 +08:00
bluez5: Add support for Connecting/Disconnecting per UUID
This adds supports for sending the ConnectProfile() and DisconnectProfile() messages for the org.bluez.Device1 interface.
This commit is contained in:
committed by
Denis Kenzior
parent
86224f5724
commit
22f05f7832
@@ -73,3 +73,13 @@ int bt_register_profile(DBusConnection *conn, const char *uuid,
|
||||
const char *name, const char *object);
|
||||
|
||||
void bt_unregister_profile(DBusConnection *conn, const char *object);
|
||||
|
||||
typedef void (*bt_finish_cb)(gboolean success, gpointer user_data);
|
||||
|
||||
void bt_connect_profile(DBusConnection *conn,
|
||||
const char *device, const char *uuid,
|
||||
bt_finish_cb cb, gpointer user_data);
|
||||
|
||||
void bt_disconnect_profile(DBusConnection *conn,
|
||||
const char *device, const char *uuid,
|
||||
bt_finish_cb cb, gpointer user_data);
|
||||
|
||||
Reference in New Issue
Block a user