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

ANCS & Whitelist

Hi Whitelist function is in ANCS sample code. Does it require in ANCS? Can I disable whitelist? If yes, how many pairing times between Device & Apple OS? It cannot connect after pair 7 times in the same device & apple phone.

BR Atlas

Parents
  • @YangYing: Most likely the bond information reached it max capacity DEVICE_MANAGER_MAX_BONDS (=7). It will throw DM_DEVICE_CONTEXT_FULL error when it exceed max capacity. Please try to follow this debugging instruction and find out what caused the reset. Most likely it was the call to device_instance_allocate() will throw the error.

    Please try to turn on logging, or follow this guide on how to debug , to find out.

    After you got that error, you will need to think about erase the whole database with dm_device_delete_all() or delete one record with dm_device_delete()

Reply
  • @YangYing: Most likely the bond information reached it max capacity DEVICE_MANAGER_MAX_BONDS (=7). It will throw DM_DEVICE_CONTEXT_FULL error when it exceed max capacity. Please try to follow this debugging instruction and find out what caused the reset. Most likely it was the call to device_instance_allocate() will throw the error.

    Please try to turn on logging, or follow this guide on how to debug , to find out.

    After you got that error, you will need to think about erase the whole database with dm_device_delete_all() or delete one record with dm_device_delete()

Children
No Data
Related