obexd: Question about PBAP support
Hi,
i tried to write a plugin for obexd to support the phonebook of freesmartphone.org.
Browsing the device with "sdptool browse" shows Phonebook Access on channel 15, so i thing obexd is running properly. But when connecting a real PBAP device (tried Parrot Minikit and a BMW car system) the methods in my plugin aren't called. (I added some debug output at the beginning of the functions and that's not shown.)
So, did someone tried before to use PBAP with a real device? And how can i help to get this working?
Greets
Thomas
Luiz Augusto von Dentz
maintainerHi Thomas,
Quoted 9 lines · Thomas Zimmermann
Hi,
i tried to write a plugin for obexd to support the phonebook of freesmartphone.org.Browsing the device with "sdptool browse" shows Phonebook Access on channel 15, so i thing obexd is running properly. But when connecting a real PBAP device (tried Parrot Minikit and a BMW car system) the methods in my plugin aren't called. (I added some debug output at the beginning of the functions and that's not shown.)
Before running obexd you need to make sure that your driver will be linked as phonebook.c, you can select it by doing --with-phonebook=<driver name>, this will be expanded to phonebook-<driver name>.c where it should be implemented.
Quoted 2 lines
So, did someone tried before to use PBAP with a real device? And how can i help to get this working?
I got it working with obex-client + pbap-client and obexd + ebook driver, but pbap code is maybe not mature yet for real devices, the driver support was just introduced few months ago and of course patches are welcome.
Regards,
Signature · 2 lines
Luiz Augusto von Dentz Engenheiro de Computação