I am using a Linux computer with bluez version 4.101. I communicate with a BLE device in slave mode. I am trying to read data from a BLE device. But when I do this, the read fails with the following error: "The attribute requires authentication before reading / writing." I can read data on many other characteristics, but I endure it. The commands I use
-gatttool -b 11:22:33:44:55:66 --char-read
What do I need to do to read this data?
Note. I can read this data from my iPhone. But I need to mate, so maybe this is a mating problem.
source
share