diff --git a/doc/oob-api.txt b/doc/oob-api.txt
index 8f6aac9..d838712 100644
--- a/doc/oob-api.txt
+++ b/doc/oob-api.txt
Copyright (C) 2011 Szymon Janc <szymon.janc@tieto.com> for ST-Ericsson
Service org.bluez
-Interface org.bluez.Oob
+Interface org.bluez.OutOfBand
Object path [variable prefix]/{hci0,hci1,...}
-Methods array{byte} hash, array{byte} randomizer ReadLocalOobData()
+Methods array{byte} hash, array{byte} randomizer ReadLocalData()
This method reads local OOB data from adapter. Return
value is pair of arrays 16 bytes each.
Possible errors: org.bluez.Error.Failed
org.bluez.Error.InProgress
- void AddRemoteOobData(string address, array{byte} hash,
+ void AddRemoteData(string address, array{byte} hash,
array{byte} randomizer)
This method adds new Out Of Band data for
Possible errors: org.bluez.Error.Failed
org.bluez.Error.InvalidArguments
- void RemoveRemoteOobData(string address)
+ void RemoveRemoteData(string address)
This method removes Out Of Band data for specified
address. If data for specified address does not exist
diff --git a/plugins/dbusoob.c b/plugins/dbusoob.c
index 206c4b7..8a678bb 100644
--- a/plugins/dbusoob.c
+++ b/plugins/dbusoob.c
#include "oob.h"
#define REQUEST_TIMEOUT (60 * 1000) /* 60 seconds */
-#define OOB_INTERFACE "org.bluez.Oob"
+#define OOB_INTERFACE "org.bluez.OutOfBand"
struct oob_request {
struct btd_adapter *adapter;
}
static GDBusMethodTable oob_methods[] = {
- {"AddRemoteOobData", "sayay", "", add_remote_data},
- {"RemoveRemoteOobData", "s", "", remove_remote_data},
- {"ReadLocalOobData", "", "ayay", read_local_data,
+ {"AddRemoteData", "sayay", "", add_remote_data},
+ {"RemoveRemoteData", "s", "", remove_remote_data},
+ {"ReadLocalData", "", "ayay", read_local_data,
G_DBUS_METHOD_FLAG_ASYNC},
{}
};