I can't seem to find anyone who has had this issue. I'm trying to listen to notifications using gatttool. On most devices, this is fine, I type in
gatttool -b mydevice --char-write-req -a enablebdaddr -n enablingvalue --listen
and I just sit and listen to notifications.
Now, I got myself a new device which works slightly differently. As soon as it connects, it bursts its notifications and then goes quiet again. If I use an I-Phone, there doesn't seem to be any problems. I enable notifications and connect the phone. Done. I can read the notifications.
But it doesn't seem to work with the bluez-stack. There doesn't seem to be such a thing as
gatttool -b mydevice --do-nothing --listen
Any suggestions how I'd go about catching notifications without using a write command first?
EDIT: My bad. It seems that when IOS registers a handler, it enables the CCC automatically. So, yeah, I needed to do that too. Sorry for the interruption.