* [Bluez-users] inquiry scan
@ 2006-08-12 12:05 Cris
0 siblings, 0 replies; only message in thread
From: Cris @ 2006-08-12 12:05 UTC (permalink / raw)
To: bluez-users
Hi list,
I'm trying to write a server which, among other things, also works
with bluetooth. I've got two questions:
First, is it actually true, that there is no way to perform an inquiry
scan and an obex transfer at the same time? Wouldn't there be a moment
in which the radio is idle, in which I could do other things with it?
The second question: In hci.h there is defined EVT_INQUIRY_COMPLETE
and EVT_INQUIRY_RESULT. My guess would be that, if I set the flag
O_NONBLOCK and revolve around a select, I should get notified as soon
as the inquiry is finished and a result is available. This is just
what I would like to do, but unfortunately, O_NONBLOCK after
hci_open_dev() won't cause hci_inquiry() to return before the inquiry
of the given length has finished. So, how can I get hci_inquiry to
return immediately?
Thanks,
--
Cris
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-08-12 12:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-12 12:05 [Bluez-users] inquiry scan Cris
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).