Good evening,
I had a question in respect to the exact procedure needed to read a characteristic with read permissions. I have just discovered a service i would like to read using the discovery module however I am a bit confused as to what i should do to read the values. From my understanding, after successfully discovering the services i can use the function sd_ble_gattc_char_value_by_uuid_read() to read the data. From there, the event BLE_GATTC_EVT_CHAR_VAL_BY_UUID_READ_RSP will occur someplace in the application. Is this correct? Also, once i trigger BLE_GATTC_EVT_CHAR_VAL_BY_UUID_READ_RSP which struct withing the characteristic will contain the attribute data?
Thank you any help is very much appreciated. I am using nrf52840 board with SDK 15.0. I have modified the BLE_CENTRAL_MULTILINK example. Again, i am trying to make my central application read a characteristic sent by a peripheral.