Return-Path: From: Marcel Holtmann To: BlueZ development In-Reply-To: <3f5a9ba20609252330p3d14854eu7b47acc600c28daf@mail.gmail.com> References: <3f5a9ba20609252330p3d14854eu7b47acc600c28daf@mail.gmail.com> Date: Wed, 27 Sep 2006 11:00:49 +0200 Message-Id: <1159347649.22162.24.camel@localhost> Mime-Version: 1.0 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: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net 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