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

Software Packs uses outdated versions

device_manager_peripheral.c provided via Software Packs in Keil doesn't compile against S110 8.0.0 (or 8.1.0). Its version shows up as 1.1.1. Same thing happens with bsp.h, although its version stays current with the SDK being used.

Using a stand-alone library (non-packs) versions of these files works fine.

EDIT:

As far as I understand, the problem below is that some of the packs are stuck in the old version (1.1.1) even though there's a newer one available. Leaving them in the old version by enabling the nRF_Libraries.1.1.1 to be used causes incompatibility with the rest of the project. How should this be dealt with?

image description

EDIT-2, Workaround:

I don't know how to fix the above problem with wrong versions the right way, but modifying package versions in the project_name.uvprojx worked.

  • Hi, You can download all Packs that are part of SDK release ver.8.0.0 (which is the first supporting s110 in version 8.0.0) from here: developer.nordicsemi.com/.../nRF51_SDK_8.0.0_5fc2c3a_packs.zip When you copy an example which uses Device Manager e.g. ble_app_hrs_s110_pca10028 and open "Manage Run-Time Environment" in nRF-BLE->BLE_Modules you will see that device_manager (Peripheral) is in version 2.0.0. For SDK release ver.8.1.1 device_manager (Peripheral) is in version 3.0.0. So with S110 8.0.0 you should use Device Manager in version 2.0.0 (at least) or preferably version 3.0.0.

  • you will see that device_manager (Peripheral) is in version 2.0.0

    I don't, though, because the version displayed in "Manage Run-Time Environment" is the one I choose in "Select Software Packs..." So is there a compatibility matrix between SD and module versions?

  • Unfortunately we do not have such matrix yet. The simplest is to download all Packs for a given release in the zip format e.g. from here: developer.nordicsemi.com/.../ for SDKs in versions 8.x.x, and check in which version is every individual Pack (all modules inside a Pack inherits its version).

  • I've added an additional question on versioning in the OP. Could you take a look at it?

  • Thats a great workaround for now. We can use this until they are fixed. Ill accept your answer as a good workaround