Return-Path: Message-ID: <3f5a9ba20609270407p4bcce4f6j99d073b626b916c@mail.gmail.com> Date: Wed, 27 Sep 2006 19:07:12 +0800 From: "Mingfan.Lu" To: "BlueZ development" In-Reply-To: <1159347649.22162.24.camel@localhost> MIME-Version: 1.0 References: <3f5a9ba20609252330p3d14854eu7b47acc600c28daf@mail.gmail.com> <1159347649.22162.24.camel@localhost> Subject: Re: [Bluez-devel] Can I search two services at the same time? Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1456962310==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============1456962310== Content-Type: multipart/alternative; boundary="----=_Part_25612_11300399.1159355232094" ------=_Part_25612_11300399.1159355232094 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Thank you for your nice help. But I think OR LIST is better :) 2006/9/27, Marcel Holtmann : > > 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 > -- With respects, Mingfan.Lu ------=_Part_25612_11300399.1159355232094 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Thank you for your nice help.
But I think OR LIST is better :)
 
2006/9/27, Marcel Holtmann <marcel@holtmann.org>:
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



--
With respects,
   Mingfan.Lu ------=_Part_25612_11300399.1159355232094-- --===============1456962310== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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 --===============1456962310== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============1456962310==--