Skip to contentSkip to conversation

gatttool --listen not working?

DISCUSSION Urbani, Edmund 1 participant 1 message Nov 13, 2014 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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