Return-Path: From: Marcel Holtmann To: BlueZ users In-Reply-To: References: Date: Sun, 26 Nov 2006 11:21:09 +0100 Message-Id: <1164536469.25914.14.camel@aeonflux.holtmann.net> Mime-Version: 1.0 Subject: Re: [Bluez-users] periodic inquiry mode. Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net Hi Uichin, > I have a real quick question on a periodic inquiry mode defined in > Bluetooth spec. as of 1.1 standard. It's also called a symmetric > discovery procedure and we could initiate this by feeding feed min and > max values for inquiry intervals as well as # of inquiries to be > performed. However, it's only defined in HCI and I realized that it's > pretty tough to use it in the application layer (since we're using a > high level programming using sockets). We recently wrote a paper on > P2P file sharing using bluetooth and there, we used application layer > emulation for this periodic inquiry mode; specifically, we used > HCI_inquiry to discover nodes, but we simply used a socket to listen > to a port to make a node available for discovery (i.e., implicitly in > inquiry/page scan mode). Is there any better way that we could > actually exploit this, yet exploiting high-level programming features > of Bluez? the periodic inquiry is exposed of our new D-Bus based API and really simple to use. You only have to set the adapter into periodic inquiry mode and then you will receive RemoteDeviceFound and RemoteNameUpdated signals over D-Bus. Check the dbus-api.txt documentation and the bluez-gnome package for an example. 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-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users