[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bluetooth-dev] [SPAM] How to get connection state of ttyBTx
Enable the Proc file support in the stack, and then use the file /proc/bt_status
On Mon, 15 Apr 2002 13:48:16 +0200
Matthias Fuchs <email@example.com> wrote:
> 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 ?
> To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
> the body of a message to firstname.lastname@example.org
Alain Paschoud SMARTDATA SA
http://www.smartdata.ch 1015 Lausanne
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to email@example.com