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

SDK7 to SDK8.x.x migration guide

Is there any document that describes what has to be done in the App code to migrate from i.e. SDK v7.2 to the latest 8.1.1? I could not find it.

Ideally it would be nice to have a more or less comprehensive guide. So far I came across the app scheduler changes, is there anything else I have to be aware of?

Parents
  • Hi

    Have you looked into the nRF51 release notes already? If you want to see what changed between SDK 7.2.0 and SDK 8.1.0, then you probably have to look into release notes for SDK 8.0.0 first and then the release notes for SDK 8.1.0 to see the complete changes.

    For the porting of an application between major SDK releases (i.e. from SDK 7.x.x to SDK 8.x.x), I find it usually easier to copy any custom code that I have in an application into an example/template in the new major SDK, instead of trying to port the whole application directly into the new SDK.

Reply
  • Hi

    Have you looked into the nRF51 release notes already? If you want to see what changed between SDK 7.2.0 and SDK 8.1.0, then you probably have to look into release notes for SDK 8.0.0 first and then the release notes for SDK 8.1.0 to see the complete changes.

    For the porting of an application between major SDK releases (i.e. from SDK 7.x.x to SDK 8.x.x), I find it usually easier to copy any custom code that I have in an application into an example/template in the new major SDK, instead of trying to port the whole application directly into the new SDK.

Children
  • Yes, I examined the release notes. My application has grown too much, and it is hard to correlate it with any of existing examples. So I'm going through the process of making it compilable first. There are many small changes here and there, for example flags in ble_advdata_t changed the type from uint8_array_t to uint8_t etc. Hopefully there will be no hidden problems and I won't need to debug the app again after I built it.

    It would make such work much easier if you published what was exactly changed in the public API... just a suggestion.

    Thanks!

  • Hi Pektusin

    I ran into the same problem, and I agree, a guide would be welcome. Have you run into problems with the flags?

    And what about the extra arguments in sd_bel_gatts_sys_attr_set, sd_ble_gap_sec_params_reply, missing member in ble_gap_evt_auth_status_t, too few arguments in sd_ble_gap_sec_info_reply, missing definition of BLE_GAP_TIMEOUT_SRC_ADVERTISEMENT?

Related