2014-11-13 12:26:54

by Urbani, Edmund

[permalink] [raw]
Subject: gatttool --listen not working?

Hello all,

I am trying to connect to a GATT service (running on an iPhone) and register a
notification listener using gatttool. I can read the attribute value with
gatttool and the --char-read argument just fine. When I add --listen, gatttool
keeps running, but I never see any notifications. Debugging on the other end
reveals that the iOS APIs didSubscribeToCharacteristic never gets called.

Any ideas why this is not working?

gatttool -i hci0 -t random --listen --char-read --handle 0x0034 -b 5C:A2:D5:C7:BF:14
Characteristic value/descriptor: 2d

.... and then. Nothing.

Kind regards,
Edmund