Hi ,
i am using ble ancs profile in my project, i was getting internal error (error no 3) while connecting.
the error is being reported by two of the following event handlers:
gatts_c_evt_handler and ancs_c_evt_handler.
i have commented those snippet, where this error was being reported , the snippet is here:
if(m_gatts_discovered && m_ancs_discovered)
{
ret = pm_peer_data_remote_db_store(peer_id,
(ble_gatt_db_srv_t *)m_peer_srv_buf,
sizeof(m_peer_srv_buf),
NULL);
if (ret == NRF_ERROR_STORAGE_FULL)
{
ret = fds_gc();
}
APP_ERROR_CHECK(ret);
}
the same snippet in both the functions.
after that its working fine,
i just want to know what this snippet does. is it fine to comment this or it will get isse.
thanks,
Amarjeet