Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...

    Reply
    Page 38 of 57 | Prev | 28   36     37   38   39     40   48 | Next | Last
    crnkoj | # 371 | 2012-07-31, 13:18 | Report

    Originally Posted by luf View Post
    How did you enable the debug and how is the syslog configured?
    (I think you can try --debug='*' instead of only --debug)
    I miss more info in the syslog.

    I get something like:
    Code:
    Jul 18 21:25:44 Nokia-N900 obexd[1618]: src/obex.c:obex_session_start() 
    Jul 18 21:25:44 Nokia-N900 obexd[1618]: src/obex.c:cmd_connect() 
    Jul 18 21:25:44 Nokia-N900 obexd[1618]: CONNECT(0x0), (null)(0xffffffff)
    Jul 18 21:25:44 Nokia-N900 obexd[1618]: src/obex.c:cmd_connect() Selected driver: Phonebook Access server
    Jul 18 21:25:44 Nokia-N900 obexd[1618]: CONNECT(0x0), (null)(0x0)
    Jul 18 21:25:44 Nokia-N900 obexd[1618]: src/obex.c:cmd_setpath() 
    Jul 18 21:25:44 Nokia-N900 obexd[1618]: SETPATH(0x5), (null)(0xffffffff)
    As you can see you logged only some of the lines ...
    Yes you are right, im sorry for that confusion, i have added the --debug line wrongly to obexd.services, i believe i added it properly now, this is the syslog with it http://pastebin.com/Hykb1j4B
    seems like it starts at line 18 and goes until something like line 91. I dont really understand the errors/messages though, it seems like its trying to get the stuff from the pbap server but cant, anyone has an idea?
    thanks

    Edit | Forward | Quote | Quick Reply | Thanks

     
    luf | # 372 | 2012-07-31, 14:27 | Report

    Originally Posted by crnkoj View Post
    I dont really understand the errors/messages though, it seems like its trying to get the stuff from the pbap server but cant, anyone has an idea?
    thanks
    BTW it seems to me like outgoing call.
    What about contact list? Does HF support contact list?

    I have bad news for you. I may be wrong as I don't take a look into N9 code but I'm looking inside 0.46 code.

    From your log:
    Code:
    Jul 31 15:04:07 (2012) obexd[1319]: plugins/pbap.c:parse_aparam() o 0 sa 1 sv xxxxxxxxxx fil 0 for 0 max 2 off 0
    order = 0 - no sort
    search attribute = 1 - number
    search value = 'xxxxxxxxxx' - what is looking for
    filter = 0 - no filter - returns all
    format = 0 - ???
    maxlistcount = 2 - maximum two entires
    offset = 0 - get it from the begin of the list

    There is no support for search value in tracker phonebook.
    So it seems your HF is using feature which isn't supported.

    Code:
    [sbox-FREMANTLE_ARMEL: ~/Devel/obexd/0.46/obexd-0.46] > grep searchval plugins/phonebook-tracker.c 
    [sbox-FREMANTLE_ARMEL: ~/Devel/obexd/0.46/obexd-0.46] >

    Edit | Forward | Quote | Quick Reply | Thanks

     
    frank63 | # 373 | 2012-07-31, 15:58 | Report

    Originally Posted by frank63 View Post
    With release 0.37 phonebook works fine on my Renault scenic xmod, but it doesn't work well for the calls log (history). In received, missed, answered calls i have the first 10 voices of the phone book.
    Let me know how i can do to help to understand what's happened...
    On Renault XMOD with release 0.46 it works fine also history!!!
    Great jobs.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to frank63 For This Useful Post:
    luf

     
    crnkoj | # 374 | 2012-07-31, 16:05 | Report

    Originally Posted by luf View Post
    BTW it seems to me like outgoing call.
    What about contact list? Does HF support contact list?

    I have bad news for you. I may be wrong as I don't take a look into N9 code but I'm looking inside 0.46 code.

    From your log:
    Code:
    Jul 31 15:04:07 (2012) obexd[1319]: plugins/pbap.c:parse_aparam() o 0 sa 1 sv xxxxxxxxxx fil 0 for 0 max 2 off 0
    order = 0 - no sort
    search attribute = 1 - number
    search value = 'xxxxxxxxxx' - what is looking for
    filter = 0 - no filter - returns all
    format = 0 - ???
    maxlistcount = 2 - maximum two entires
    offset = 0 - get it from the begin of the list

    There is no support for search value in tracker phonebook.
    So it seems your HF is using feature which isn't supported.

    Code:
    [sbox-FREMANTLE_ARMEL: ~/Devel/obexd/0.46/obexd-0.46] > grep searchval plugins/phonebook-tracker.c 
    [sbox-FREMANTLE_ARMEL: ~/Devel/obexd/0.46/obexd-0.46] >
    the xxxx in "search value = 'xxxxxxxxxx' - what is looking for" is just the phone number i have replaced with the X's for privacy reasons, yes its an outgoing call ( i doubt it makes any difference if its out or ingoing call).
    What do you mean with "contact list" ? This is the headset i have http://accessories.nokia.com/product...eadset-bh-221/ under specifications they say: HFP 1.5, PBAP 1.0, A2DP 1.2, AVRCP 1.0. Hmm i see this might be an issue if the tracker doesnt support this. I guess i cant change/force the headset/obex/pbap to use something other than "search value" and patching the phonebook tracker to support it would probably be a huge amount of work (i assume)?
    about the support of it in the phonebook tracker, you greped it on the sources of the maemo/n900 version on your pc or just straight on the n900 (i assume i should find the sources for the n9 phonebook tracker/obexd and grep it there - if so where woudl i be getting them - a quick google didnt turn up with anything useful?)?
    thanks again
    Edit: so i checked the version of obexd on my n9 and it says it has 0.42-0maemo18+0m8 , so since this is even older than yours, i assume it wont support that at all... Got any other quick and dirty ideas to fix this nokia-made mess? thanks

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by crnkoj; 2012-07-31 at 16:18.

     
    frank63 | # 375 | 2012-07-31, 16:08 | Report

    Originally Posted by luf View Post
    You have to enable debug mode for obexd and start sysklogd
    Then you can find in /var/log/syslog something like:
    Jul 12 03:01:34 Nokia-N900 obexd[1676]: src/obex.c:cmd_connect() Selected driver: Phonebook Access server

    Be sure to do it only when you know what are you doing. As keeping sysklogd enabled is definately bad idea.
    I have a lot of rows: starting with "plugins/pbap.c:"

    like this :
    Jun 19 19:42:53 Nokia-N900 obexd[1558]: plugins/pbap.c:query_result()
    and only the drive and plugin load and initi for IrMC.
    I suppose is working in PBAP...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    luf | # 376 | 2012-07-31, 17:11 | Report

    Originally Posted by crnkoj View Post
    What do you mean with "contact list" ?
    Your headset doesn't support showing/browsing "contact list".

    Originally Posted by
    Hmm i see this might be an issue if the tracker doesnt support this. I guess i cant change/force the headset/obex/pbap to use something other than "search value" and patching the phonebook tracker to support it would probably be a huge amount of work (i assume)?
    Someone has to add the support for the serachval into the obexd pbap plugin wiht tracker backend.
    But I have no N9 and N900 doesn't use tracker backend.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to luf For This Useful Post:
    crnkoj

     
    luf | # 377 | 2012-07-31, 17:16 | Report

    Originally Posted by frank63 View Post
    On Renault XMOD with release 0.46 it works fine also history!!!
    Thanks for the report!
    What about speed? I'm thinking about setting some count limit for call history lists ...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    crnkoj | # 378 | 2012-08-01, 18:07 | Report

    Originally Posted by luf View Post
    Your headset doesn't support showing/browsing "contact list".



    Someone has to add the support for the serachval into the obexd pbap plugin wiht tracker backend.
    But I have no N9 and N900 doesn't use tracker backend.
    OK, thanks for the info and help. I dont have the knowledge or time to do that, if you would get some spare time to write it though, i can test it out on my device than.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    luf | # 379 | 2012-08-08, 11:12 | Report

    Originally Posted by hschmitt View Post
    http://git.kernel.org/?p=bluetooth/o...6f94045cb2454a
    I take a look on the patch and it conains memory leak. I mentioned it on obexd IRC (in last chunk the path is allocated but never freed). So I don't want to use.
    I also don't understand why comparing still the same parts are more sexy than the way to test it part by part.
    I mean:
    Code:
    if (!g_strcmp0(variable, "/telecom/pb"))
    else if (!g_strcmp0(variable, "/telecom/ich"))
    ...
    instead of
    Code:
    if (!strncmp(variable, "/telecom/", 9)) {
        variable += 9;
        if (!g_strcmp0(variable, "pb"))
        else if (!g_strcmp0(variable, "ich"))
        ...
    }

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to luf For This Useful Post:
    Estel, hschmitt

     
    luf | # 380 | 2012-08-10, 13:02 | Report

    New version released. The good news is that CSSU developers agree with including into CSSU so we're working on it.

    Changelog:
    obexd (0.46-1maemo3+0cssu1)
    * Rewrite call history using asynchronous calls (reduce obexd patches)
    - this speeds up vcard-listing
    * Fix removal of filter after last filter_data
    * Fix incorrectly discarded signals
    * Fix not printing debug messages when GOBEX_DEBUG is set
    * Fix client PBAP setpath using absolute path with known locations
    * Add cleanup of '.pcsuite' file on init
    * Add call history support to IrMC profile

    For async support new packages are needed. Also patched evolution-data-server package is recommended (you can download it from previous release).

    You can find all packages (and more) with sources on merlin's server.


    For next release I plan porting MAP support (for SMS) from meego.

    Newer version is available. You can find more info here http://talk.maemo.org/showpost.php?p...&postcount=436

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by luf; 2012-10-03 at 09:33.
    The Following 7 Users Say Thank You to luf For This Useful Post:
    don_falcone, droll, fw190, hschmitt, peterleinchen, PUNK, sixwheeledbeast

     
    Page 38 of 57 | Prev | 28   36     37   38   39     40   48 | Next | Last
vBulletin® Version 3.8.8
Normal Logout