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

How to make the matching and binding equipment information would be stored permanently, even after the OTA upgrade is still in

HI: everyone! How to make the matching and binding equipment information would be stored permanently, even after the OTA upgrade is still in;I made with examples of the official, the program of heart rate, for now, matching, binding and OTA has achieved, but there is a problem, is when I have good matching and binding equipment information, through OTA upgrade, after the original match was gone, through the LOG print to see before binding equipment information already all clear;My English is very poor, this is through the translation software, hope you can understand; 1:my sdk version is sdk9.0; 2:sd version:sd 8.1; 3:I USE code in the bond! image description

Parents
  • I you want to preserve bonding information through a OTA DFU you have to edit the DFU_APP_DATA_RESERVED define in `dfu_types.h. This is described on this page in our Infocenter.

    Update:

    image description

  • Thank you, I described according to the change of 0 x1000, but print LOD displayed after the OTA didn't last binding information, as well as the above is cleared what should I do? after OTA ,LOG: 14:02:15.488 [DM108]: >> BLE_GAP_EVT_SEC_INFO_REQUEST [DM9:[DI 0x00: Device type 0xFF. [DM10: Device Addr 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF. [DM9:[DI 0x01: Device type 0xFF. [DM10: Device Addr 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF. [DM9:[DI 0x02: Device type 0xFF. [DM10]: Device Addr 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF. [DM9:[DI 0x03: Device type 0xFF. [DM10: Device Addr 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF. [DM9:[DI 0x04: Device type 0xFF.

Reply
  • Thank you, I described according to the change of 0 x1000, but print LOD displayed after the OTA didn't last binding information, as well as the above is cleared what should I do? after OTA ,LOG: 14:02:15.488 [DM108]: >> BLE_GAP_EVT_SEC_INFO_REQUEST [DM9:[DI 0x00: Device type 0xFF. [DM10: Device Addr 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF. [DM9:[DI 0x01: Device type 0xFF. [DM10: Device Addr 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF. [DM9:[DI 0x02: Device type 0xFF. [DM10]: Device Addr 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF. [DM9:[DI 0x03: Device type 0xFF. [DM10: Device Addr 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF. [DM9:[DI 0x04: Device type 0xFF.

Children
No Data
Related