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

Bond manager triggers error on nRF51822

I'm trying to use the bond manager to store links. I used the ble_uart application posted in this site by a Nordic employee and tried to use the bond manager as it was done in the app_ble_proximity example.

The application compiles and runs but as soon as there is a connection, the application crashes. From debug information i could the the problem is eventually generated by this function call: return sd_ble_gatts_sys_attr_set(m_conn_handle, p_sys_attr, m_master.sys_attr.sys_attr_size);

file: ble_bondmngr.c line: 450. Error code from the trace: 0xB

I can't understand why, as I adapted the code from the proximity app and tailored it for the UART application. Any hint? Thanks.

Related