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

ANCS resets after deleting bond on dev board

Hi,

I have a problem that the ANCS keeps resetting my board, so I was able to reproduce the problem on the PCA 10028 dev board.

Conditions:

  • iOS 8.x or 9.x
  • No app needed on iOS. This is on settings->bluetooth
  • SD 110
  • ANCS nordic implementation as is on SDK 9.0
  • Check on serial port.

The steps to reproduce the problem are:

  • Bond iOS device to ANCS. Leave it connected.
  • Reset dev board with button 2 pressed, to erase all bonds
  • Watch on the serial term how ANCS keeps resetting.

What I have been able to see on the sniff is that when iOS tries to connect after the board resets, ANCS rejects the ENC request due to the bond not existing (it was erased) After that when the timeout on the ANCS to check if the line is already encrypted asks for Bonding, now it is the turn of iOS to reject the request.

After that ANCS does not responds anymore. It has not reset yet and the connection is still active, but all retries from iOS for Rcvd By Type Request are just acknowledged but not answered.

I am attaching a wireshark file with this. Bonds erased.pcapng and a print of the serial terminal...Screen Shot 2015-12-03 at 3.59.50 PM.png

HELP!!!

Parents Reply Children
No Data
Related