Return-Path: Subject: Re: [Bluez-devel] how to do inquiry with RSSI in bluetooth 1.2 devices? From: Marcel Holtmann To: albert@csail.mit.edu Cc: BlueZ Mailing List In-Reply-To: References: <1097658003.4643.17.camel@notepaq> <1097928625.4911.30.camel@pegasus> <1098222911.23046.5.camel@pegasus> Content-Type: text/plain Message-Id: <1098690211.24932.4.camel@pegasus> Mime-Version: 1.0 Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon, 25 Oct 2004 09:43:30 +0200 Hi Albert, > > Attached is a patch for bluez-libs. Two functions are added. > > please ignore previous message. That patch doesn't follow the > naming/tabbing conventions in the rest of bluez-libs. Attached is a > patch that does. the coding style is still not correct and you screwed the patch up by inserting memset() that overrides previous set values. Besides this you set the rq.rlen wrong. I implemented the hci_{read|write}_inquiry_mode() functions by myself and also changed hciconfig to use them. My version is not so different from yours, but the details matter. Please compare them and start sending in more patches to enhance the Bluetooth library. Regards Marcel ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel