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

Can not save boot loader setting (bootloader_settings_t) when disable IS_SRVC_CHANGED_CHARACT_PRESENT 0 in bootloader

I'm using SDK 12.2.0, SofDevice 3.0 and my chip nRF52832.

In my boot-loader project i disable IS_SRVC_CHANGED_CHARACT_PRESENT by define to 0.

The dfu process is completed and firmware was tranferred but boot-loader can not jump to application because the 

bootloader_settings_t cannot saved in method bootloader_settings_save of bootloader.c file

I have another test with enable IS_SRVC_CHANGED_CHARACT_PRESENT the dfu process was successful. 

Parents Reply Children
  •  We think that disable IS_SRVC_CHANGED_CHARACT_PRESENT will improve our application performance. So we have to do the same in bootloader to support DFU process in IOS app. Everything is ok but this issue. Please reply if you have any idea about. Thanks.

  • What kind of application performance are you referring to? Setting IS_SRVC_CHANGED_CHARACT_PRESENT to 1 will simply include a characteristic in the GATT service, that's it. If you set it to 0 then you remove this characteristic. 

  • Yes, that's it. With removing Service Changed characteristic, i can also remove Generic Attribute service.  It will help improve the discovery time and improve our application performance.