I have a BLE device which has a "audio service". I want get audio data. I use gatttool to communicate with my device. To do this, I can enable notification. Then, when microphone is 'on', I receive data but it's stop suddenly.
$ sudo gatttool -b xx:xx:xx:xx:xx:xx -I
[xx:xx:xx:xx:xx:xx][LE]> connect
Attempting to connect to xx:xx:xx:xx:xx:xx
Connection successful
[xx:xx:xx:xx:xx:xx][LE]> char-write-cmd 0x3c 0100
Notification handle = 0x002a value: 04
Notification handle = 0x002d value: 09 00 00 00 77 77 77 37 1b 09 a0 b2 91 80 09 1a 0a 99 a0 a0
...
Notification handle = 0x002d value: 09 22 ae a4 38 82 8b 93 af 91 12 77 a4 81 cd 10 1a 15 0a c0
[xx:xx:xx:xx:xx:xx][LE]>
(gatttool:5840): GLib-WARNING **: Invalid file descriptor.
I'm under Ubuntu 16.04 and I have bluez 5.37
Have you some idea ? Is it possible that problem comes from data frequency ?
Edit : With Qt (using bluez), I have the log:
qt.bluetooth.bluez: void QBluetoothSocketPrivate::_q_readNotify() 23 error: -1 "Fonction non implantée"
Cannot connect to remote device.
Controller Error: 1
Remote device disconnected