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

Can't restore Bonding

Hi,

I have a problem at restoring the bonding that is saved on Android EEPROM. I'm using Nordic 8001

I'm using the example from proximity. I modified the services.h using NRFGO to support ANCS and i added 2 characteristic for talking with the iOS phone. At some point everything worked fine, but now i have a big problem at restoring the Bond. The restore bonding functions are the functions from proximity template, so i don't thing there is a problem at the code. I think there is a problem at the NRGO settings. What can cause problem at bonding process?

I attached the setup.xml file for NRFGO.

Thank you!

proximity_setup.xml

Parents
  • Looks like the Write Dynamic data failed with a CRC mismatch

    E3 :3, 84, 8, 88,

    Event : Length = 3 bytes (in decimal) Length = 0x03 (Hex) Event opcode = 0x84 (Hex) Command code for which this event is associated with = 0x08 (Write Dynamic Data) Status code = 0x88 = ACI Status Error CRC Mis match (See appendix in nRF8001 PS v1.2)

    = I can also see that the last message used in the Read Dynamic data is different from the last message in Write Dynamic Data

    Read Dynamic Data

    C1 :1, 7, E28 :1C, 84, 7, 2, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 2, 91, 59,

    Write Dynamic Data

    C26 :1A, 8, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 2, 89, 1C, E3 :3, 84, 8, 88,

    As you can clearly see the last 2 bytes alone are different and this, I suspect , is the reason for the CRC failure.

  • Thank you! I changed some settings in NRFGo and now it works...

Reply Children
No Data
Related