maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Car kit can not access contact information... (https://talk.maemo.org/showthread.php?t=36272)

hschmitt 2010-04-22 17:32

Re: Car kit can not access contact information...
 
Quote:

Originally Posted by Ossman (Post 622172)
Indeed. I browsed through it last night and it might be possible to force a full resync everytime by pretending that the n900 has been reset at every connection. Should keep the implementation simple.

The biggest problem is finding time to implement this. I probably won't be able to look at it until next week.

Maybe I can find some time over the weekend. Can you share your irmcsync-server.c?
No need to do double work.

Ossman 2010-04-23 08:11

Re: Car kit can not access contact information...
 
1 Attachment(s)
Quote:

Originally Posted by hschmitt (Post 623044)
Maybe I can find some time over the weekend. Can you share your irmcsync-server.c?
No need to do double work.

Sure, here you go. Note that this is extremely crude and the only point of it was to see if the car kit would even try to use it.

Do you have a place to put a public git repo so that I can easily pull in any stuff you do?

Ossman 2010-04-25 12:45

Re: Car kit can not access contact information...
 
I got some time to do some basic preliminary work. There's a repo up here for people to follow:

http://git.infradead.org/users/drzeus/obexd.git

mirakels 2010-05-07 18:59

Re: Car kit can not access contact information...
 
any progress on irmc yet?

Ossman 2010-05-07 19:12

Re: Car kit can not access contact information...
 
Not really. I've been busy with hacking on MMS support, so this project has been put to the side. I'll get back to it eventually though. :p

browncaravan 2010-06-21 12:59

Re: Car kit can not access contact information...
 
Hello.

Being disappointed my N900 doesn't work with my Vauxhall (Opel) bluetooth kit due to no PBAP or rSAP, I have been trying to think of ways around it... Unfortunately the vcard thing didnt work, so....

I have no idea of how to do it, but would it be possible to put all the contacts on a Nokia phone that does work with the bluetooth kit, then modify the phones bluetooth mac address to the same as the address in the N900, get the info downloaded to the car and then hopefully the car will think that the N900 downloaded the numbers and off we go?

What do you think? Is it even possible to change the bluetooth address of a Nokia phone?

Surely, it's got to be worth a try. I was going to try and name the Bluetooth ID the same and hope that works, but I'm quite sure that will do no good due to the different addresses.

Cheers
Chris

hschmitt 2010-06-21 14:37

Re: Car kit can not access contact information...
 
What you need is the current obexd version, see:
http://www.bluez.org/
http://git.kernel.org/?p=bluetooth/obexd.git;a=summary
and openobex version 1.5 (1.4 is on N900) see:
http://git.kernel.org/?p=bluetooth/o....git;a=summary
then PBAP should be there.
Since my carkit does not support PBAP only IRMC protocol, I have no chance to test it.

crsnwby 2010-06-21 14:59

Re: Car kit can not access contact information...
 
If you can tell me what to do with the files and which files to get I can try it in my Audi.

browncaravan 2010-06-21 15:04

Re: Car kit can not access contact information...
 
Quote:

Originally Posted by hschmitt (Post 723690)
What you need is the current obexd version, see:
http://www.bluez.org/
http://git.kernel.org/?p=bluetooth/obexd.git;a=summary
and openobex version 1.5 (1.4 is on N900) see:
http://git.kernel.org/?p=bluetooth/o....git;a=summary
then PBAP should be there.
Since my carkit does not support PBAP only IRMC protocol, I have no chance to test it.

Hello.

Thanks for your reply. You think it may work if I do the above? Unfortunately, the above doesnt mean alot to me. Is there any chance you could provide me with a step by step guide of what I need to do.

Thanks again.

john_doe252 2010-06-24 22:03

Re: Car kit can not access contact information...
 
Quote:

Originally Posted by hschmitt (Post 723690)
What you need is the current obexd version, see:
http://www.bluez.org/
http://git.kernel.org/?p=bluetooth/obexd.git;a=summary
and openobex version 1.5 (1.4 is on N900) see:
http://git.kernel.org/?p=bluetooth/o....git;a=summary
then PBAP should be there.
Since my carkit does not support PBAP only IRMC protocol, I have no chance to test it.

Hello hschmitt,

I'm very grateful for your implication in solving this issues with the PBAP bluetooth profile.

I'm a tehnical guy but i've encountered some issues on the way...

I've cloned the repositories you've mentioned in your post, for both open-obex and obexd. I've cloned them on a virtual machine with the maemo devel system (Maemo_Ubuntu_Intrepid_Server_SDK_Virtual_Image.zi p)

I've added the required debian packages for development on the machine (mentioning here git-core, make, automake, autoconf, libtool, etc.) .

The problem i've encountered is with obexd compilation, because open-obex compiles ok.

The issues are at the make stage.

Here's a log of the issue i'm having...

Code:

depbase=`echo src/btio.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        gcc -DHAVE_CONFIG_H -I. -I./src -I./src -I./plugins -I./gdbus -I./gwobex  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libical -DOBEX_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib/obex/plugins"\" -Wall -O2 -D_FORTIFY_SOURCE=2 -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wmissing-declarations -Wredundant-decls -Wcast-align -g -MT src/btio.o -MD -MP -MF $depbase.Tpo -c -o src/btio.o src/btio.c &&\
        mv -f $depbase.Tpo $depbase.Po
src/btio.c: In function 'set_sec_level':
src/btio.c:368: error: storage size of 'sec' isn't known
src/btio.c:371: error: 'BT_SECURITY_LOW' undeclared (first use in this function)
src/btio.c:371: error: (Each undeclared identifier is reported only once
src/btio.c:371: error: for each function it appears in.)
src/btio.c:371: error: 'BT_SECURITY_HIGH' undeclared (first use in this function)
src/btio.c:381: error: 'BT_SECURITY' undeclared (first use in this function)
cc1: warnings being treated as errors
src/btio.c:368: error: unused variable 'sec'
src/btio.c: In function 'l2cap_get_lm':
src/btio.c:415: error: 'BT_SECURITY_LOW' undeclared (first use in this function)
src/btio.c:417: error: 'BT_SECURITY_MEDIUM' undeclared (first use in this function)
src/btio.c:419: error: 'BT_SECURITY_HIGH' undeclared (first use in this function)
src/btio.c: In function 'rfcomm_get_lm':
src/btio.c:436: error: 'BT_SECURITY_LOW' undeclared (first use in this function)
src/btio.c:438: error: 'BT_SECURITY_MEDIUM' undeclared (first use in this function)
src/btio.c:440: error: 'BT_SECURITY_HIGH' undeclared (first use in this function)
src/btio.c: In function 'get_sec_level':
src/btio.c:448: error: storage size of 'sec' isn't known
src/btio.c:454: error: 'BT_SECURITY' undeclared (first use in this function)
src/btio.c:448: error: unused variable 'sec'
src/btio.c: In function 'l2cap_get':
src/btio.c:771: error: 'BT_DEFER_SETUP' undeclared (first use in this function)
src/btio.c: In function 'rfcomm_get':
src/btio.c:878: error: 'BT_DEFER_SETUP' undeclared (first use in this function)
src/btio.c: In function 'bt_io_listen':
src/btio.c:1275: error: 'BT_DEFER_SETUP' undeclared (first use in this function)
make[1]: *** [src/btio.o] Error 1
make: *** [all] Error 2

What can be the cause of this?

Also i want to mention that the steps I've done are:

after repository cloning -> bootstrap-configure -> make

Can you please tell me if I'm on the right path?
Also if you are kind, could you guide me a little on the deployment of the openobex specially and obexd to the N900 Maemo OS, please? Obexd i think i can deploy prety easy by moving the "obexd" file to the location "/usr/lib/obex/".

If you are kind enough to provide me with your help i can test this in my car and if it works I'll write a guide for everyone here.

Thanks a lot in advance.


My regards,


All times are GMT. The time now is 17:47.

vBulletin® Version 3.8.8