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

  • Hi Atlas, Could you explain a little bit more on "it cannot connect after pair 7 times" ? You meant you reconnect 7 times or you un-pair and pair again 7 times ?

    Whitelist is not obligated with ANCS as far as I know.

  • FormerMember
    0 FormerMember

    i use SDK9.0 ANCS code 1、I un-pair and pair again reconnect about eight times.it then system reset 2、I download application , the system reset again 3、I erase all, and then download the softdevice and the application,it's ok,and then ,I try that un-pair and pair again reconnect about eight times.it then system reset

  • @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()

Related