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

cannot update notification value

Once I call sd_ble_gatts_hvx() while ble connection handle is invalid(BLE_CONN_HANDLE_INVALID), I can never update notification value using sd_ble_gatts_hvx() though function result is NRF_SUCCESS.

Is this softdevice bug?

The expected operation is that the value can be updated whenever sd_ble_gatts_hvx() return NRF_SUCCESS.

7/19 22:01 sd_ble_gatts_hvx() returns NRF_SUCCESS, but the value client get is the same as the first value I set with sd_ble_gatts_hvx() while ble connection handle is invalid.

Related