Reply
Thread Tools
Posts: 159 | Thanked: 122 times | Joined on Nov 2009
#51
Originally Posted by Ossman View Post
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.
 
Posts: 36 | Thanked: 11 times | Joined on Dec 2009
#52
Originally Posted by hschmitt View Post
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?
Attached Files
File Type: zip irmc.zip (4.2 KB, 89 views)
 
Posts: 36 | Thanked: 11 times | Joined on Dec 2009
#53
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
 
Posts: 197 | Thanked: 101 times | Joined on Dec 2009 @ Netherlands
#54
any progress on irmc yet?
 
Posts: 36 | Thanked: 11 times | Joined on Dec 2009
#55
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.
 
Posts: 23 | Thanked: 0 times | Joined on Jun 2010
#56
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
 
Posts: 159 | Thanked: 122 times | Joined on Nov 2009
#57
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.
 

The Following 3 Users Say Thank You to hschmitt For This Useful Post:
Posts: 163 | Thanked: 21 times | Joined on Feb 2010 @ London UK
#58
If you can tell me what to do with the files and which files to get I can try it in my Audi.
 
Posts: 23 | Thanked: 0 times | Joined on Jun 2010
#59
Originally Posted by hschmitt View Post
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.
 
Posts: 12 | Thanked: 1 time | Joined on Jun 2010
#60
Originally Posted by hschmitt View Post
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,
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 21:18.