This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE_ERROR_INVALID_ATTR_HANDLE using sd_ble_gatts_value_get

Hi,

I have a problem using Nrf51822 with softdevice S130 2.0.0.

It happens sometimes, not always just a few times, in an unpredictable wat that using the function sd_ble_gatts_value_get it returns a err_code which is BLE_ERROR_INVALID_ATTR_HANDLE, that should never come back in that kind of function.

As said before I call a lot of time the function sd_ble_gatts_value_get, for different characteristics, (once a minute), but some times happen for a particular characteristics that I receive that error (BLE_ERROR_INVALID_ATTR_HANDLE ).

Doyou have any ideas about what could be the reason?

Thanks

Related