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