View Single Post
Posts: 23 | Thanked: 27 times | Joined on Jul 2010 @ Delft, Netherlands
#177
Originally Posted by jarmo2 View Post
Hi all!

I read some of the documentation and I found this

vcard = "BEGIN" ":" "VCARD" CRLF
1*contentline
"END" ":" "VCARD" CRLF
;A vCard object MUST include the VERSION and FN properties.

from http://tools.ietf.org/html/draft-iet...#section-6.5.2

So i looks like vcards should be separated with CRLF. Currently this is not the case.
OK, just checked, and adding CRLF between vcards worked for my carkit: a Peugeot Connect Nav. All contacts available after an outbound call.

The change:
[sbox-FREMANTLE_ARMEL: ~/obexd/plugins] > diff phonebook-ebook.c_old phonebook-ebook.c
168c168,169
< string = g_string_append(string, vcard);
---
> string = g_string_append(string, vcard);
> string = g_string_append(string, "\r\n");
 

The Following 2 Users Say Thank You to tuxy For This Useful Post: