maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900... (https://talk.maemo.org/showthread.php?t=59114)

Transalp 2010-08-25 21:35

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Happy N900 User

Can confirm that http://wiki.maemo.org/Bluetooth_PBAP instructions will work fine and can import the phonebook to my Honda European Accord HFT SatNav system!!:)

andy82i 2010-08-26 21:29

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Just tested with Parrot CK3200LS.
Sync straight away, no questions asked & really quick too!

htaipale 2010-08-27 16:54

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
I can confirm that it worked on my BMW X6 -08 but it didn't work in my Range Rover Sport -10.

mdreed 2010-08-27 20:46

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
I'll confirm that it does not work on my 2006 BMW 550i. The installation of the two packages was flawless. "ps" shows the daemon running with "--pbap". It was started from /usr/lib/obex/obexd. The symlink points to obexd2. I guess that my carkit doesn't support pbap. AT commands, perhaps?

I was reading that the AT commands for phonebook access are being added to bluez. At least a patch was submitted in March of 2010. Any chance of retrofitting this patch into the bluez running on the N900 PR 1.2?

Thanks,
Mike

mirakels 2010-08-28 07:50

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
mdreed, do you have a pointer to this patch?

vriesge 2010-08-28 17:14

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
1 Attachment(s)
Quote:

Originally Posted by mdreed (Post 800335)
I'll confirm that it does not work on my 2006 BMW 550i. The installation of the two packages was flawless. "ps" shows the daemon running with "--pbap". It was started from /usr/lib/obex/obexd. The symlink points to obexd2. I guess that my carkit doesn't support pbap. AT commands, perhaps?

I was reading that the AT commands for phonebook access are being added to bluez. At least a patch was submitted in March of 2010. Any chance of retrofitting this patch into the bluez running on the N900 PR 1.2?

Thanks,
Mike

I also confirm that this method is not working on my BMW 335i Coupe (2006).

I attached a hcidump and syslog (obexd lines at EOF) to this post.

I noticed some errormessages from obexd in the syslog:

Quote:

<SNIP>
Aug 24 22:02:42 Nokia-N900 obexd[2031]: src/plugin.c:add_plugin() Plugin ftp loaded
Aug 24 22:02:42 Nokia-N900 obexd[2031]: Can't open e-book address book: Cannot open book
Aug 24 22:02:42 Nokia-N900 obexd[2031]: plugins/irmc.c:irmc_init()
Aug 24 22:02:42 Nokia-N900 obexd[2031]: Can't open e-book address book: Cannot open book
Aug 24 22:02:42 Nokia-N900 obexd[2031]: src/mimetype.c:obex_mime_type_driver_register() driver 0x2a008 mimetype (null) registered
Aug 24 22:02:42 Nokia-N900 obexd[2031]: src/service.c:obex_service_driver_register() driver 0x29fcc service OBEX server for SyncML, using SyncEvolution registered
Aug 24 22:02:42 Nokia-N900 obexd[2031]: src/plugin.c:add_plugin() Plugin syncevolution loaded
Aug 24 22:02:42 Nokia-N900 obexd[2031]: src/plugin.c:plugin_init() Loading plugins /usr/lib/obex/plugins
Aug 24 22:02:42 Nokia-N900 obexd[2031]: plugins/bluetooth.c:start() listening on channel 9
Aug 24 22:02:42 Nokia-N900 obexd[2031]: plugins/bluetooth.c:start() listening on channel 10
Aug 24 22:02:42 Nokia-N900 obexd[2031]: src/server.c:obex_server_init() No service driver registered
Aug 24 22:02:42 Nokia-N900 obexd[2031]: plugins/bluetooth.c:start() listening on channel 24
Aug 24 22:02:42 Nokia-N900 obexd[2031]: plugins/bluetooth.c:find_adapter() FindAdapter(any)
Aug 24 22:02:42 Nokia-N900 obexd[2031]: plugins/bluetooth.c:add_record_reply() Registered: Object Push server, handle: 0x10005
Aug 24 22:02:42 Nokia-N900 obexd[2031]: plugins/bluetooth.c:add_record_reply() Registered: File Transfer server, handle: 0x10006
Aug 24 22:02:42 Nokia-N900 obexd[2031]: plugins/bluetooth.c:add_record_reply() Registered: Nokia OBEX PC Suite Services </SNIP>
Any clues on this one ?

thx

mirakels 2010-08-29 10:34

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
vriesge

I had similar problems in the past "Cannot open book".
The problem is that the addressbook manager is running as root and tries to find some database stuff in the homedir, e.g. the homedir of root. But the files are actually in the homedir of user.

To fix this I created symlinks from the root homedir to the homedir. I think originally they should already have been there but somehow got lost.
The output of the below ls command should at least contain:
Code:

# ls -al /root
lrwxrwxrwx    1 root    root          22 Jul 24 18:36 .osso-abook -> /home/user/.osso-abook
lrwxrwxrwx    1 root    root          17 Jul 25 11:08 MyDocs -> /home/user/MyDocs

If not you can fix them with these commadns(as root)

Code:

# cd /root
# ln -s  /home/user/.osso-abook  .
# ln -s  /home/user/MyDocs  .


mirakels 2010-08-29 10:39

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by mirakels (Post 800612)
mdreed, do you have a pointer to this patch?

already foud the patch, but this is for implementing the AT commands for a different device. In principle it should be easy to port to the n900.
But this implementation uses dbus links to a contact/addressbook manager.
I tried to look for something similar on the n900 but cannot find anything.

I tried to find a dbus interface to osso-addressbook. There is a dbus service for oss-addressbook but I cannot find any info about that so don;t know if it is possible to retrieve contacts osso-addressbook via dbus.

If anyone knows more about this we could try implement it.

vriesge 2010-08-29 13:20

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by mirakels (Post 801318)
I had similar problems in the past "Cannot open book".

To fix this I created symlinks from the root homedir to the homedir.

Thank you, this solved the obexd errors. syslog is looking fine now;

Code:

Aug 29 15:09:56 Nokia-N900 obexd[1696]: OBEX daemon 0.30
Aug 29 15:09:56 Nokia-N900 obexd[1696]: src/main.c:main() Entering main loop
Aug 29 15:09:56 Nokia-N900 obexd[1696]: src/manager.c:manager_init()
Aug 29 15:09:56 Nokia-N900 obexd[1696]: src/plugin.c:plugin_init() Loading builtin plugins
Aug 29 15:09:56 Nokia-N900 obexd[1696]: src/transport.c:obex_transport_driver_register() driver 0x29ca0 transport bluetooth registered
Aug 29 15:09:56 Nokia-N900 obexd[1696]: src/plugin.c:add_plugin() Plugin bluetooth loaded
Aug 29 15:09:56 Nokia-N900 obexd[1696]: src/transport.c:obex_transport_driver_register() driver 0x29cbc transport usb registered
Aug 29 15:09:56 Nokia-N900 obexd[1696]: src/plugin.c:add_plugin() Plugin usb loaded
Aug 29 15:09:56 Nokia-N900 obexd[1696]: src/mimetype.c:obex_mime_type_driver_register() driver 0x29cd8 mimetype x-obex/folder-listing registered
Aug 29 15:09:56 Nokia-N900 obexd[1696]: src/mimetype.c:obex_mime_type_driver_register() driver 0x29d04 mimetype x-obex/capability registered
Aug 29 15:09:56 Nokia-N900 obexd[1696]: src/mimetype.c:obex_mime_type_driver_register() driver 0x29d5c mimetype x-obex/capability registered
Aug 29 15:09:56 Nokia-N900 obexd[1696]: src/mimetype.c:obex_mime_type_driver_register() driver 0x29d88 mimetype x-obex/folder-listing registered
Aug 29 15:09:56 Nokia-N900 obexd[1696]: src/mimetype.c:obex_mime_type_driver_register() driver 0x29d30 mimetype (null) registered
Aug 29 15:09:56 Nokia-N900 obexd[1696]: src/plugin.c:add_plugin() Plugin filesystem loaded
Aug 29 15:09:56 Nokia-N900 obexd[1696]: src/service.c:obex_service_driver_register() driver 0x29dc0 service Object Push server registered
Aug 29 15:09:56 Nokia-N900 obexd[1696]: src/plugin.c:add_plugin() Plugin opp loaded
Aug 29 15:09:56 Nokia-N900 obexd[1696]: src/service.c:obex_service_driver_register() driver 0x29e08 service File Transfer server registered
Aug 29 15:09:56 Nokia-N900 obexd[1696]: src/service.c:obex_service_driver_register() driver 0x29e44 service Nokia OBEX PC Suite Services registered
Aug 29 15:09:56 Nokia-N900 obexd[1696]: src/plugin.c:add_plugin() Plugin ftp loaded
Aug 29 15:09:58 Nokia-N900 obexd[1696]: src/mimetype.c:obex_mime_type_driver_register() driver 0x29ec8 mimetype x-bt/phonebook registered
Aug 29 15:09:58 Nokia-N900 obexd[1696]: src/mimetype.c:obex_mime_type_driver_register() driver 0x29ef4 mimetype x-bt/vcard-listing registered
Aug 29 15:09:58 Nokia-N900 obexd[1696]: src/mimetype.c:obex_mime_type_driver_register() driver 0x29f20 mimetype x-bt/vcard registered
Aug 29 15:09:58 Nokia-N900 obexd[1696]: src/service.c:obex_service_driver_register() driver 0x29e8c service Phonebook Access server registered
Aug 29 15:09:58 Nokia-N900 obexd[1696]: src/plugin.c:add_plugin() Plugin pbap loaded
Aug 29 15:09:58 Nokia-N900 obexd[1696]: plugins/irmc.c:irmc_init()
Aug 29 15:09:58 Nokia-N900 obexd[1696]: src/mimetype.c:obex_mime_type_driver_register() driver 0x29f94 mimetype (null) registered
Aug 29 15:09:58 Nokia-N900 obexd[1696]: src/service.c:obex_service_driver_register() driver 0x29f58 service IRMC Sync server registered
Aug 29 15:09:58 Nokia-N900 obexd[1696]: src/plugin.c:add_plugin() Plugin irmc loaded
Aug 29 15:09:58 Nokia-N900 obexd[1696]: src/mimetype.c:obex_mime_type_driver_register() driver 0x2a008 mimetype (null) registered
Aug 29 15:09:58 Nokia-N900 obexd[1696]: src/service.c:obex_service_driver_register() driver 0x29fcc service OBEX server for SyncML, using SyncEvolution registered
Aug 29 15:09:58 Nokia-N900 obexd[1696]: src/plugin.c:add_plugin() Plugin syncevolution loaded
Aug 29 15:09:58 Nokia-N900 obexd[1696]: src/plugin.c:plugin_init() Loading plugins /usr/lib/obex/plugins
Aug 29 15:09:58 Nokia-N900 obexd[1696]: plugins/bluetooth.c:start() listening on channel 9
Aug 29 15:09:58 Nokia-N900 obexd[1696]: plugins/bluetooth.c:start() listening on channel 10
Aug 29 15:09:58 Nokia-N900 obexd[1696]: plugins/bluetooth.c:start() listening on channel 15
Aug 29 15:09:58 Nokia-N900 obexd[1696]: plugins/bluetooth.c:start() listening on channel 24
Aug 29 15:09:58 Nokia-N900 obexd[1696]: plugins/bluetooth.c:find_adapter() FindAdapter(any)
Aug 29 15:09:58 Nokia-N900 obexd[1696]: plugins/bluetooth.c:add_record_reply() Registered: Object Push server, handle: 0x10007
Aug 29 15:09:58 Nokia-N900 obexd[1696]: plugins/bluetooth.c:add_record_reply() Registered: File Transfer server, handle: 0x10008
Aug 29 15:09:58 Nokia-N900 obexd[1696]: plugins/bluetooth.c:add_record_reply() Registered: Phonebook Access server, handle: 0x10009
Aug 29 15:09:58 Nokia-N900 obexd[1696]: plugins/bluetooth.c:add_record_reply() Registered: Nokia OBEX PC Suite Services, handle: 0x1000a

I will check later today if this makes any difference when syncing in the car and report back.
Since i probably have the same system in my car as you have, i expect it will fail, but i'll try anyway! ;-)

BigTony 2010-08-31 10:46

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Just like to say thanks, great work.

BT


All times are GMT. The time now is 04:56.

vBulletin® Version 3.8.8