On 12.06.2016 11:23, Marco Trapanese wrote:

Hello Georg, hello Jason!
Thank you both for your interesting answers.
As far as I understand obex is now integrated in bluez5:

https://packages.debian.org/jessie/bluez-obexd

http://www.bluez.org/page/7/

(see Release of BlueZ 5.0)

http://git.kernel.org/cgit/bluetooth/bluez.git/tree/doc/obex-api.txt


Thus my confusion about the test script in ofono!
So, if I'm running off-topic, I will move to the bluez mailing-list.

Anyway, following the hints of Jason I exported the dbus session address (because I don't use X) and set the dbus policies in bluetooth.conf. I paired and trusted my phone.

Running the bluez/test/pbap-client script or the Georg's code leads to:

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez.obex was not provided by any .service files

while the ofono/test/test-phonebook returns:

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "Import" with signature "" on interface "org.ofono.Phonebook" doesn't exist

Because obex is under org.bluez I don't think I need the obexd-client Debian package, do I?
I have bluez-obexd installed.
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to