From: Pierre-Yves Paulus <py@idlum.be>
To: Bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] Extracting full SDP database from device at once using DBus API
Date: Mon, 20 Nov 2006 17:54:22 +0100 [thread overview]
Message-ID: <4561DDBE.6040508@idlum.be> (raw)
Hello,
At the moment, to perform a full extraction of the SDP database of a
device, 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 ti
interpret myself.
1) Is it the right way to do this, or is there a way to get that all at
once?
2) As ServiceRecords are extracted "one at a time", is Bluez connecting
and disconnecting to the device each time? Is there a performance
penalty in doing so? If I understand the output of hcidump well, it does
not close he ACL link each time, but there is a L2CAP
connection/disconnection for each ServiceRecord.
Thanks a lot,
Best Regards
Pierre-Yves
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next reply other threads:[~2006-11-20 16:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-20 16:54 Pierre-Yves Paulus [this message]
2006-11-20 17:03 ` [Bluez-devel] Extracting full SDP database from device at once using DBus API Marcel Holtmann
2006-11-21 9:58 ` 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=4561DDBE.6040508@idlum.be \
--to=py@idlum.be \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.