[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] Several ioctl() at the same time ?


I try to send a ioctl() with HCIPINCODEREPLY to the stack from a home-make
userland program. But when I send that, the stack doesn't do anything
because he is already dealing with  a BTCONNECT ioctl(). But it is in idle
mode (until timeout or CONNECTION_COMPLETE happen).
After a certain time, the BTCONNECT recieve an error return code (because of
the timeout), and
finaly, my ioctl with HCIPINCODEREPLY is treated by the stack. But of course
it is too late.

I need to send a ioctl command when the stack is already treating another
one. Is it possible ?

If it isn't, what is the goal of the HCIPINCODEREPLY which is in the
__bt_ioctl() function ?

Thank you for any information about that.
Alain Paschoud                      SMARTDATA SA
alain.paschoud@xxxxxxx.ch         PSE-A
http://www.smartdata.ch             1015 Lausanne
Phone +41-21-693'84'98              
Fax   +41-27-693'84'91              
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com