* discoverable vs. jaunty
@ 2009-04-29 3:55 Brad Midgley
2009-04-29 5:02 ` Brad Midgley
0 siblings, 1 reply; 2+ messages in thread
From: Brad Midgley @ 2009-04-29 3:55 UTC (permalink / raw)
To: linux-bluetooth@vger.kernel.org
Hey
Both my ubuntu jaunty systems have difficulty with the dbus commands
to make the bt adapter discoverable:
headless:~# dbus-send --system --type=method_call --print-reply
--dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.SetMode
string:discoverable
Error org.freedesktop.DBus.Error.UnknownMethod: Method "SetMode" with
signature "s" on interface "org.bluez.Adapter" doesn't exist
fullgnome:~$ dbus-send --system --type=method_call --print-reply
--dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.SetMode
string:discoverable
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez
was not provided by any .service files
Any ideas?
What I'm really interested in making the headless system into a full
bt access point, so I can't just use the gnome gui to do this. (It's
an alix x86 wifi board)
--
Brad Midgley
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: discoverable vs. jaunty
2009-04-29 3:55 discoverable vs. jaunty Brad Midgley
@ 2009-04-29 5:02 ` Brad Midgley
0 siblings, 0 replies; 2+ messages in thread
From: Brad Midgley @ 2009-04-29 5:02 UTC (permalink / raw)
To: linux-bluetooth@vger.kernel.org
Hi
> headless:~# dbus-send --system --type=method_call --print-reply
> --dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.SetMode
> string:discoverable
> Error org.freedesktop.DBus.Error.UnknownMethod: Method "SetMode" with
> signature "s" on interface "org.bluez.Adapter" doesn't exist
I see from some digging that this API was changed.
I'm finding the best source of info on this is test/ under the version
of the source matching my bluez version. The test-adapter script there
has perfectly working python example for changing discovery settings.
--
Brad Midgley
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-29 5:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-29 3:55 discoverable vs. jaunty Brad Midgley
2009-04-29 5:02 ` Brad Midgley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox