This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Can't Read notification in CCS

Hi,

i am working with heart rate sensor.

i can discover the serv, char and notification is enabled. But it is giving me Read Error 2. why is it so? please guide, i can see the data on ble device monitor.

  • Hello,

    Error 0x02, from att.h is ATT_ERR_READ_NOT_PERMITTED. So, somewhere you are attempting to read a characteristic that does not permit reading.
    Suggest that you check that GATT_PERMIT_READ is set for the desired characteristic.

    Best wishes