linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Extremely slow SDP extraction from phone
Date: Wed, 25 Apr 2007 21:07:46 +0200	[thread overview]
Message-ID: <1177528066.14980.21.camel@aeonflux.holtmann.net> (raw)
In-Reply-To: <462F8FCE.3090102@idlum.be>

Hi Pierre-Yves,

> I'm using BlueZ 3.9 and the DBus API from a custom application to 
> extract the SDP records from a phone. To achieve this, I first perform a 
> call to
> 
> array{uint32} GetRemoteServiceHandles(string address, string match)
> 
> with an empty "match" string. It does connect to Public Browse Group,
> and returns handles for all the ServiceRecords. I then perform a call
> 
> array{byte} GetRemoteServiceRecord(string address, uint32 handle)
> 
> for each of these handles, and I get all the data in binary form, and I 
>   deal with them myself in this form.
> 
> Problem is that I sometimes encounter very long delays to extract a 
> record using its handle.

we should implement a disconnect timeout for the SDP session. It makes
sense to keep the SDP session open for subsequent SDP request. However
this hasn't been implemented right now.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2007-04-25 19:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-25 17:28 [Bluez-devel] Extremely slow SDP extraction from phone Pierre-Yves Paulus
2007-04-25 19:07 ` Marcel Holtmann [this message]
2007-05-09 16:18   ` Pierre-Yves Paulus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1177528066.14980.21.camel@aeonflux.holtmann.net \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).