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

maximum centrals in ancs

Hi I am trying to overcome the problem that I have confronted, I have no buttons to delete bonds. So instead of deleteing this is what I did.

I modified the bondmanager code as follows

static uint32_t on_auth_status_from_new_central(ble_gap_evt_auth_status_t * p_auth_status) { uint32_t err_code;

if (m_centrals_in_db_count >= BLE_BONDMNGR_MAX_BONDED_CENTRALS)
{
                     m_centrals_in_db_count = 0x00;
		 //return NRF_ERROR_NO_MEM;
}

...................... Instead of a return I reset the count to zero. I don't see any problem as of now. Is this work around problematic?