|
|
2012-09-01
, 13:52
|
|
Posts: 141 |
Thanked: 313 times |
Joined on May 2012
@ Czech Republic
|
#392
|
in the meantime, is there a way to temporarily disable the MAP BT profile? the car pops up an error dialog after a few minutes when trying to retrieve SMSes. not really an issue. i can dismiss the dialog manually but i just have to do it everytime.

# sdptool browse local | grep Message Service Name: Message Access server
Exec=/usr/lib/obex/obexd --nodaemon --symlinks --root .obex-root --root-setup /usr/bin/obex-root-setup --capability '!/usr/bin/gen-obex-capability.sh'
Exec=/usr/lib/obex/obexd --nodaemon --noplugin=mas --symlinks --root .obex-root --root-setup /usr/bin/obex-root-setup --capability '!/usr/bin/gen-obex-capability.sh'
| The Following 2 Users Say Thank You to luf For This Useful Post: | ||
|
|
2012-09-11
, 16:01
|
|
Posts: 1,200 |
Thanked: 3,020 times |
Joined on Dec 2010
|
#393
|
| The Following User Says Thank You to Android_808 For This Useful Post: | ||
|
|
2012-09-11
, 19:39
|
|
Posts: 141 |
Thanked: 313 times |
Joined on May 2012
@ Czech Republic
|
#394
|

Is it possible to swap the first/last name order? I have an Abarth with Fiat's Blue&Me system which is storing names as Surname, First Name which is quite unnatural when trying to issue voice commands to it.
3.1.6.1 Name attribute format The name attribute of the vCard-listing DTD has the same definition as the name attribute of a vCard - i.e., the N attribute. Therefore, the format to be used is the field structure “LastName;FirstName;MiddleName;Prefix;Suffix”
| The Following User Says Thank You to luf For This Useful Post: | ||
|
|
2012-09-12
, 06:44
|
|
Posts: 1,200 |
Thanked: 3,020 times |
Joined on Dec 2010
|
#395
|
|
|
2012-09-12
, 06:51
|
|
Posts: 141 |
Thanked: 313 times |
Joined on May 2012
@ Czech Republic
|
#396
|
it used to store them the other way before using pbab, so it may be the way its configured in the car so i'll try to test it later. if so, i'll just switch back to the old fashion way (petrovich).
|
|
2012-09-12
, 16:15
|
|
Posts: 1,200 |
Thanked: 3,020 times |
Joined on Dec 2010
|
#397
|
|
|
2012-09-12
, 16:54
|
|
Posts: 141 |
Thanked: 313 times |
Joined on May 2012
@ Czech Republic
|
#398
|
Ran pbab-client (from 0.47 package) on my laptop using latest versions from Arch Linux. Had to use python2 pbab-client, to avoid the system default of running v3, as the print function failed due to the syntax changes made in v3.
#!/usr/bin/python
import sys
import dbus
bus = dbus.SessionBus()
client = dbus.Interface(bus.get_object("org.openobex.client", "/"),
"org.openobex.Client")
print "Creating Session"
session_path = client.CreateSession({"Destination": sys.argv[1], "Target": "PBAP"})
pbap = dbus.Interface(bus.get_object("org.openobex.client", session_path),
"org.openobex.PhonebookAccess")
session = dbus.Interface(bus.get_object("org.openobex.client", session_path),
"org.openobex.Session")
#paths = ["PB", "ICH", "OCH", "MCH", "CCH"]
paths = ["PB"]
for path in paths:
print "\n--- Select Phonebook %s ---\n" % (path)
pbap.Select("int", path)
print "\n--- GetSize ---\n"
ret = pbap.GetSize()
print "Size = %d\n" % (ret)
print "\n--- List vCard ---\n"
ret = pbap.List()
for item in ret:
print "%s : %s" % (item[0], item[1])
pbap.SetFormat("vcard21")
# pbap.SetFilter(["VERSION", "FN", "TEL"]);
ret = pbap.Pull(item[0])
print "%s" % (ret)
print "\n--- PullAll ---\n"
pbap.SetFormat("vcard21")
# pbap.SetFilter(["VERSION", "FN", "TEL"]);
pbap.SetFilter([]);
ret = pbap.PullAll()
print "%s" % (ret)
The only differences running pbab-client for me compared to your results is that the VCARD version is reporting 3.0 and I have no PRODID field.
I haven't been able to try Petrovich with the car yet to make sure that is still working as it was previously. I have found that the v-card used by Petrovich, generated by the export contacts feature of Contacts, is different for v2.1. It seems to omit the FN: field. I'll keep testing.
|
|
2012-09-12
, 18:08
|
|
Posts: 1,200 |
Thanked: 3,020 times |
Joined on Dec 2010
|
#399
|
BEGIN:VCARD VERSION:2.1 N:Last;First;;; FN:First Last TEL;CELL:XXXXXXXXXXX END:VCARD
BEGIN:VCARD VERSION:2.1 UID:13 REV:2010-02-09T15:51:30z TEL;CELL:XXXXXXXXXXX N:Last;First;;; END:VCARD
BEGIN:VCARD VERSION:3.0 N:Last;First;;; FN:First Last TEL;TYPE=CELL:XXXXXXXXXXX END:VCARD
BEGIN:VCARD VERSION:3.0 UID:13 REV:2010-02-09T15:51:30z TEL;TYPE=CELL:XXXXXXXXXXX FN:First Last N:Last;First;;; END:VCARD
root apt-get install sysklogd start sysklogd
| The Following 2 Users Say Thank You to Android_808 For This Useful Post: | ||
|
|
2012-09-12
, 18:47
|
|
Posts: 141 |
Thanked: 313 times |
Joined on May 2012
@ Czech Republic
|
#400
|
I have to use the 0.47 version to get it to work with the installed obexd. 0.47 changes the D-Bus namespace to use org.bluez.obex, messes with the API and sets VCARD 3.0 in pbab-client. I've run with 0.47 returning 2.1 and 3.0.
Will have to wait till at least tomorrow afternoon to test with car as I'm off to sleep before long.
For syslog, is it as simple as:
Then examine /var/log/syslog?Code:root apt-get install sysklogd start sysklogd
![]() |
| Tags |
| bada rox, bluetooth, carkit, contacts, irmc sync, pbap profile |
| Thread Tools | |
|
in the meantime, is there a way to temporarily disable the MAP BT profile? the car pops up an error dialog after a few minutes when trying to retrieve SMSes. not really an issue. i can dismiss the dialog manually but i just have to do it everytime.
anyway, keep it up!!!!