Reply
Thread Tools
Posts: 50 | Thanked: 21 times | Joined on Oct 2009 @ Helsinki, Finland
#161
btw, I was looking my hcidumpfiles and I noticed that all attributes are separated by hex 0d 0a (like new line), but there is no separator between END:VCARD and BEGIN:VCARD. Is this a bug? This could lead to a situation where vcard boundaries are not detected and only buffer size would limit detection. This could result the situation I am seeing.

Eg the output is now something like this

BEGIN:VCARD
VERSION:2.1
TEL;CELL;VOICE:+358501589
N:Rosenqvist;Jarmo;;;
FN:Rosenqvist Jarmo
END:VCARDBEGIN:VCARD
VERSION:2.1
TEL;CELL;VOICE:+358501872984
N:Viskari;Esko;;;
FN:Viskari Esko
END:VCARD

To my mind it should be

BEGIN:VCARD
VERSION:2.1
TEL;CELL;VOICE:+358501589
N:Rosenqvist;Jarmo;;;
FN:Rosenqvist Jarmo
END:VCARD
BEGIN:VCARD
VERSION:2.1
TEL;CELL;VOICE:+358501872984
N:Viskari;Esko;;;
FN:Viskari Esko
END:VCARD

What do you think?
 

The Following 2 Users Say Thank You to jarmo2 For This Useful Post:
Banned | Posts: 138 | Thanked: 45 times | Joined on Feb 2010
#162
this is *OLD* news

n900 cant sync over BT

nothing to see here, move along please
 
Posts: 163 | Thanked: 21 times | Joined on Feb 2010 @ London UK
#163
Originally Posted by garyc2010 View Post
this is *OLD* news

n900 cant sync over BT

nothing to see here, move along please
We know were working on fixing it... so you best move along....
 

The Following User Says Thank You to crsnwby For This Useful Post:
Posts: 29 | Thanked: 30 times | Joined on Oct 2009 @ Jyväskylä, Finland
#164
Originally Posted by jarmo2 View Post
btw, I was looking my hcidumpfiles and I noticed that all attributes are separated by hex 0d 0a (like new line), but there is no separator between END:VCARD and BEGIN:VCARD. Is this a bug? This could lead to a situation where vcard boundaries are not detected and only buffer size would limit detection. This could result the situation I am seeing.

******

What do you think?
Jarmo, few days ago when I checked your HCI dumps I watched those too. I tried to find some sort of information about it but I didn't find anything else than Microsoft Navready's documentation, which might be valid for other PBAP implementations too. It says for example that:

A vCard is considered valid if all the following are true:

1.It contains at least one phone number with 2 or more digits.

2.Each line is exited only by using a carriage return and line feed (CRLF) character.

3.The character set used is either ASCII, UTF-8, or ISO 8859-1.

4.The vCard size does not exceed 400 KB.

5.If an encoding other than quoted-printable or 8-bit is not used.

****
So the current maemo implementation might work with some car kits, but some (like BMW) might be little picky about the format and CRLF character is needed to make it operational. It is easy to try thou...
 

The Following 2 Users Say Thank You to loukkis For This Useful Post:
Posts: 20 | Thanked: 17 times | Joined on Jun 2010 @ Landstuhl, Germany
#165
Jarmo/Loukkis:

Looked at the vcard plugin, and it is definitely missing any kind of CR or LF or anything at all to break two vcards apart. I put together a few binaries that I'll test momentarily to see if they still work here. If they do, I'll post the different HCIDUMPs and get the binaries to you guys.

browncaravan:

It looks like your installation of openobex 1.5 might have failed because of the mp-fremantle-205-pr package. If you remove it, apt should stop complaining about unmet dependencies (and stop the erroneous "update" notification). This may be a step that I completed, but forgot about. Let me know if it fixes the problem...If you still want to downgrade, try enabling the extras repo.

garyc:

It may be old news that it can't be done, but the *NEW* news is that it can. Perhaps reading through the thread, rather than dismissing it out-of-hand, would be more beneficial to you...especially if you are some one who wants PBAP to be available and work...



Drew

Last edited by drdrewusaf; 2010-07-13 at 06:55.
 

The Following User Says Thank You to drdrewusaf For This Useful Post:
Posts: 29 | Thanked: 30 times | Joined on Oct 2009 @ Jyväskylä, Finland
#166
Originally Posted by browncaravan View Post
I've just noticed there is an update available for maemo in the application manager. Unfortunately, it states that this update has to be performed via the PC suite. The phone also states that there are problems due to application packages missing:
obexd (0.18) and libopenobex1 (1.4)

Ever since I upgraded to PBAP I have been unable to use PC suite via the USB cable and therfore cannot perform the update. I therefore thought I would downgrade to the above files and then upgrade again.

I am unable to downgrade successfully...

Basically, i have done what it says in post #70, opened x terminal at root and typed:
apt-get install libopenobex1=1.4-0maemo3+m5
apt-get install obexd=0.18-0maemo5+0m5

one after another, and at the same time, but I get errors:

'Reading package lits... Done
Building dependency tree
Reading state information... Done
E: Version '1.4-0maemo3+m5' for libopenobex1' was not found'

And similar for the other file.

Any ideas?
Thanks
Silly question, but is your internet connection active while trying? It should be...
 
Reflektorfalke's Avatar
Posts: 597 | Thanked: 490 times | Joined on Dec 2009 @ Germany
#167
Hi Guys!

First of all THANKS A LOT for your efforts to make this work GREAT JOB!

I followed the instructions from drdrewusaf's legendary post #70 and tested with my 2008 (Facelifted) 3series BMW.

It was PARTIALLY SUCCESSFUL:
After the required outgoing call and a few seconds some contacts were transfered, but unfortunately by far not all of my contacts (between 20 and 30 out of 300+ contacts).

Looking at the transferred contacts it seems that there is indeed a problem with the transfered vCards format, as the entries are incomplete (entries with only name but no numbers/details, entries with missing details or cut off address entries).

Interestingly my N900 shows my car still as device type "Free Hand" and with supported profiles "HFP" and "OPP" only...

Guess I will wait for the already announced OBEX update before further testing...!?

BTW: File transfer between PC and N900 still works in both directions for me.



####
EDIT:
Get the same Maemo5 update mentioned before.
Missing packages:
obexd (= 0.18-0maemo5+om5)
libopenobex1(=1.4-0maemo3+0m5)

drdrewusaf, did I get you right? Does that mean my installation of openobex 1.5 failed???

What is mp-fremantle-205-pr package and what trouble can removal thereof cause?

Last edited by Reflektorfalke; 2010-07-13 at 13:17.
 
Posts: 20 | Thanked: 17 times | Joined on Jun 2010 @ Landstuhl, Germany
#168
Wow, what's the deal w/ BMW? How are three cars around the same model year getting three different results? Does BMW really change their hardware that often?

Anyway below is a link to the 0.29 OBEXD binaries. I found that the MeeGo developers are using the "tracker" back-end as default, but I'm not sure why. In any case, just for this round of builds, I compiled both an "ebook" and "tracker" version. From now on, however, unless specifically requested, I will only be building the "ebook" versions (the "tracker" version did NOT work w/ my head unit).

Link: http://www.mediafire.com/?sharekey=f...953e47d6c516bd

As far as this Maemo update and unmet dependency business goes, it is VERY likely that the installation of the new openobex package was not completed...at what point of the installation this happens, I don't know. I also don't know if it causes any other issues (the people reporting the problem seem to be getting results, which means openobex working well enough to get PBAP up and running). The mp-fremantle-205-pr package appears to be a dummy package that describes ALL of Fremantle. The removal of this package MIGHT cause headaches down the road when PR1.3/4/2.0/whatever comes out (or any distribution upgrade for that matter). In any case, re-installation of that dummy package and the removal of openobex1.5 would fix the problem... I just checked on my phone and I HAVE removed mp-fremantle-205-pr (like I said before, I probably forgot to document it). I have not run into any issues regarding that package yet.

Finally, I haven't had any success with the CRLF binaries yet, they refuse to transmit the phone book altogether...




Drew
 

The Following 3 Users Say Thank You to drdrewusaf For This Useful Post:
Posts: 50 | Thanked: 21 times | Joined on Oct 2009 @ Helsinki, Finland
#169
I guess that in the end Reflektorfalke's and my results are the same. If the problem is in the layout of the vcard the results could be just like that.

Current obexd also sends contacts without telephone numbers and even vcards without any name. I don't know what the car kit thinks about them.

I must try to change the addressbook just a little bit and look what kind of a change it makes to the car kit parsed data. If vcard boundaries are not detected and the whole buffer is just read like a one vcard there should be changes only to the names which occur after the change and changes should be random.

This is getting interesting.
 
Posts: 5 | Thanked: 1 time | Joined on Jul 2010
#170
Please forgive me Drew I'm a noob but how can I use those 2 files from your link (I unsuccessfully tried the app manager...)?
 
Reply

Thread Tools

 
Forum Jump


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