linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Update dbusoob API
@ 2012-11-12 15:53 Szymon Janc
  2012-11-12 15:53 ` [PATCH] dbusoob: Create device object and return it when adding OOB data Szymon Janc
  2012-11-13  8:09 ` [PATCH] Update dbusoob API Johan Hedberg
  0 siblings, 2 replies; 3+ messages in thread
From: Szymon Janc @ 2012-11-12 15:53 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Szymon Janc

Hi,

This updates AddRemoteData method to create and return device object path.

With recent change on how new device objects are created it is no
longer possible to create device object from string with
org.bluez.Adapter interface. When adding OOB data for specified
address device object is created if it was not yet existing.

Path to object is returned in AddRemoteData to avoid need for extra
FindDevice() call on org.bluez.Adapter to get object maching specified
address.

Question:
Should RemoveRemoteData be updated to accept device path instead of address?
(and therefore require existing object, this method doesn't remove object or
any storage data but only deletes hash/rand kept in kernel).

Szymon Janc (1):
  dbusoob: Create device object and return it when adding OOB data

 doc/oob-api.txt   |    6 +++++-
 plugins/dbusoob.c |   28 ++++++++++++++++++++++++----
 2 files changed, 29 insertions(+), 5 deletions(-)

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-13  8:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-12 15:53 [PATCH] Update dbusoob API Szymon Janc
2012-11-12 15:53 ` [PATCH] dbusoob: Create device object and return it when adding OOB data Szymon Janc
2012-11-13  8:09 ` [PATCH] Update dbusoob API Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).