Re: Invalid file descriptor gatttool of bluez 5.32

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

 



Hi Tobias,

On Mon, Jul 27, 2015 at 10:14 AM, Tobias Preclik
<linux-bluetooth@xxxxxxxxxxxxxxxxx> wrote:
> Hello,
>
> it seems the cleanup process when disconnecting from a bluetooth LE device
> changed in bluez 5.32 but gatttool (attrib/interactive.c:disconnect_io)
> wasn't updated.
>
> $ ./gatttool -I
> [                 ][LE]> connect FF:A7:8C:98:46:B6 random
> Attempting to connect to FF:A7:8C:98:46:B6
> Connection successful
> [FF:A7:8C:98:46:B6][LE]> disconnect
>
> (gatttool:20949): GLib-WARNING **: Invalid file descriptor.
>
> [FF:A7:8C:98:46:B6][LE]> exit
>
> What's the right way to do it in gatttool/bluez 5.32?

There are new tools to use with GATT, bluetoothctl/bluetoothd is the
preferred since with that you have GAP, etc, but if want to use a
stand alone tool then I suggest you use btgatt-client.


-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux