Thread (3 messages) 3 messages, 2 authors, 2016-07-07

Invalid file descriptor gatttool of bluez 5.32

flat view

From: Tobias Preclik <hidden>
Date: 2015-07-27 07:14:54

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?

Best regards,
Tobias
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help