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

sd_ble_gatts_hvx() return error :0x3401

Hi all,

I am trying to send data(rssi+MAC address) from GATT server to GATT client using sd_ble_gatts_hvx(). I added the service and the characteristic into the ATT table. I want to send data just when the client establish a connection. So in the BLE_EVT_CONNECTED of the on_ble_evt() I call sd_ble_gatts_hvx(). In debug, this call return 0x3401. Here is my configurations:

rssi_mac_service.rar

I am not able to find the problem yet.

Related