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

Re: [bluetooth-dev] [SPAM] How to get connection state of ttyBTx



Hi Matthias,

Enable the Proc file support in the stack, and then use the file /proc/bt_status

Best regards

On Mon, 15 Apr 2002 13:48:16 +0200
Matthias Fuchs <matthias.fuchs@xxxxxxx.com> wrote:

> Hi,
> 
> is there any way to get the connection state (upper_connected, lower_connected, active, not_connected ..)
> of a ttyBTx device ? The BT_ISCONNECTED ioctl only returns information if the lower stack is connected.
> If upper and lower stack are connected (line is active), this ioctl returns a "disconnected" (meaning: active, not_connected and
> active). I need to find out if a line is complete active (upper and lower connected). Did I miss the right ioctl ?
> Or is there no way to get this info right now ?
> 
> Matthias
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
> the body of a message to majordomo@xxxxxxx.com
> 


-- 
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