Active Topics

 



Notices


Reply
Thread Tools
Posts: 1 | Thanked: 1 time | Joined on Aug 2010
#171
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!!
 

The Following User Says Thank You to Transalp For This Useful Post:
Posts: 26 | Thanked: 15 times | Joined on Mar 2010 @ Manchester UK
#172
Just tested with Parrot CK3200LS.
Sync straight away, no questions asked & really quick too!
 

The Following User Says Thank You to andy82i For This Useful Post:
Posts: 1 | Thanked: 0 times | Joined on Aug 2010
#173
I can confirm that it worked on my BMW X6 -08 but it didn't work in my Range Rover Sport -10.
 
Posts: 3 | Thanked: 0 times | Joined on Aug 2010
#174
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
 
Posts: 197 | Thanked: 101 times | Joined on Dec 2009 @ Netherlands
#175
mdreed, do you have a pointer to this patch?
 
Posts: 2 | Thanked: 0 times | Joined on Aug 2010
#176
Originally Posted by mdreed View Post
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:

<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
Attached Files
File Type: zip syslog-obexd_and_hcidump.zip (14.1 KB, 114 views)
 
Posts: 197 | Thanked: 101 times | Joined on Dec 2009 @ Netherlands
#177
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  .
 
Posts: 197 | Thanked: 101 times | Joined on Dec 2009 @ Netherlands
#178
Originally Posted by mirakels View Post
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.
 
Posts: 2 | Thanked: 0 times | Joined on Aug 2010
#179
Originally Posted by mirakels View Post
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! ;-)
 
Posts: 92 | Thanked: 9 times | Joined on May 2008
#180
Just like to say thanks, great work.

BT
 
Reply

Tags
bada rox, bluetooth, carkit, contacts, irmc sync, pbap profile


 
Forum Jump


All times are GMT. The time now is 06:10.