hci_for_each_dev() return value?
Hello all,
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.
Please CC me when replying. I'm not subscribed to the list.
Regards
Michal Sojka
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Michal,
Quoted 4 lines
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.
Quoted 1 line
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel