Question regarding rfcomm-timeout
Hello, there !
I'm using the rfcomm executable from bluez-utils to connect to a bluetooth device. It looks like this:
rfcomm connect 0 xx:xx:xx:xx:xx:xx 1
If the remote device is not present the rfcomm-connect ends with a timeout after ~20s with the error-message: "Can't connect..... ...Host is down."
Where can i push this 20s-timeout down to a lower value ???
I see in the source-code that a socket-connection is made, so possibly there may be a parameter that can be configured through the proc-filesystem ?!?
Regards,
Tom
Signature · 16 lines
--------------------------- Thomas Eller [email protected] ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Bluez-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Thomas,
Quoted 9 lines
I'm using the rfcomm executable from bluez-utils to connect to a bluetooth device. It looks like this:
rfcomm connect 0 xx:xx:xx:xx:xx:xx 1
If the remote device is not present the rfcomm-connect ends with a timeout after ~20s with the error-message: "Can't connect..... ...Host is down."
Quoted 5 lines
Where can i push this 20s-timeout down to a lower value ???
I see in the source-code that a socket-connection is made, so possibly there may be a parameter that can be configured through the proc-filesystem ?!?
the timeout you talk about is the page timeout and it is a HCI specific parameter.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users