public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Can I search two services at the same time?
Date: Wed, 27 Sep 2006 11:00:49 +0200	[thread overview]
Message-ID: <1159347649.22162.24.camel@localhost> (raw)
In-Reply-To: <3f5a9ba20609252330p3d14854eu7b47acc600c28daf@mail.gmail.com>

Hi,

> 
>    I have seen that there is a function named sdp_service_search_req,
>    So,I append two service uuid such as obexpush's uuid and another
> service's uuid into the search list, I want to get the two services'
> info only call search func once.

I checked with the SDP specification and the UUID list for service
search is not an OR list of UUIDs. It is an AND list of UUIDs. Which
means you are looking for service records that contain the first and the
second UUID. This is per service record and can't be used to find
service records in the whole database that match either one of these.
You have to request them sequentially.

Regards

Marcel



-------------------------------------------------------------------------
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

  parent reply	other threads:[~2006-09-27  9:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-26  6:30 [Bluez-devel] Can I search two services at the same time? Mingfan.Lu
2006-09-26  8:39 ` Marcel Holtmann
2006-09-27  1:15   ` Mingfan.Lu
2006-09-27  7:42     ` Marcel Holtmann
2006-09-27  9:00 ` Marcel Holtmann [this message]
2006-09-27 11:07   ` Mingfan.Lu
2006-09-27 11:10     ` Marcel Holtmann

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=1159347649.22162.24.camel@localhost \
    --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