title: How to fix GATTTools GLib-WARNING **: Invalid file descriptor
body: <pre><code>gatttool -b 00:E0:4C:EF:9D:52 --interactive 
  [00:E0:4C:EF:9D:52][LE]&gt; connect 
  Attempting to connect to 00:E0:4C:EF:9D:52 
  Connection successful 
  [00:E0:4C:EF:9D:52][LE]&gt; 
  (gatttool:1446): GLib-WARNING **: Invalid file descriptor.
  </code></pre>