* [Bluez-devel] hci_for_each_dev() return value?
@ 2006-03-11 8:27 Michal Sojka x
2006-03-17 12:53 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Michal Sojka x @ 2006-03-11 8:27 UTC (permalink / raw)
To: bluez-devel
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bluez-devel] hci_for_each_dev() return value?
2006-03-11 8:27 [Bluez-devel] hci_for_each_dev() return value? Michal Sojka x
@ 2006-03-17 12:53 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2006-03-17 12:53 UTC (permalink / raw)
To: bluez-devel; +Cc: Michal Sojka x
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-03-17 12:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-11 8:27 [Bluez-devel] hci_for_each_dev() return value? Michal Sojka x
2006-03-17 12:53 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).