From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [Bluez-devel] hci_for_each_dev() return value? From: Marcel Holtmann To: bluez-devel@lists.sourceforge.net Cc: Michal Sojka x In-Reply-To: <200603110927.23055.wentasah@centrum.cz> References: <200603110927.23055.wentasah@centrum.cz> Content-Type: text/plain Message-Id: <1142600036.4392.19.camel@localhost> Mime-Version: 1.0 Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri, 17 Mar 2006 13:53:56 +0100 Hi Michal, > I'm writing a simple application that uses HCI layer for communication. I have > a question on what is the meaning of return value of hci_for_each_dev()? It > seems to me that there is a bug, because even when everything goes well, then > the return value is -1 and errno is set to ENODEV. it returns the dev_id of the first device that return where func() return a non 0 value. > Please CC me when replying. I'm not subscribed to the list. Then subscibe ;) Regards Marcel ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel