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

ANCS & pair

FormerMember
FormerMember

hello ,i use SDK9.0 ANCS project.when I paired it ,it can work normal. it can recive QQ,wechat,message and so on. but when I paired many times, it will be SystemReset.

1、I paired the device about eight times ,it can't work,it's SystemReset. 2、I download the application again,it's also SystemReset. 3、I erase all,and download the softdevice and the application,it‘s ok.but when i paired it and then ignore it less than ten times,it's also SystemReset again.

can you tell me how to solve this problem? thank you so much.

Parents
  • It's duplicated with your comment here devzone.nordicsemi.com/.../

    You can follow my suggestion:

    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
  • It's duplicated with your comment here devzone.nordicsemi.com/.../

    You can follow my suggestion:

    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