This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SDK 6.1.0 and s120 v1.0.1 multilink peripheral example: compilation error

Hi community,

When I want to use the example multilink peripheral inside the s120 directory example of the SDK 6.1.0, I'm not able to compile the code.

The device_manager_peripheral.c file is not aligned with the header file ble_gap.h provided for s120 soft device ; some structure (ble_gap_evt_auth_status_t, ble_gap_sec_keys_t, ble_gap_evt_sec_info_request_t) don't contain the right element in the ble_gap.h in nrf51822/include/s120 directory and one function prototype (sd_ble_gap_sec_params_reply) is not the well one. If we take a look, inside s110 or s130 ble_gap.h file, everything is ok.

Why this mismatch exists or something is wrong in my setup ?

Thanks in advance

  • Hi,

    According to the documentation for the BLE Multi-link Example, the ble_app_multilink_peripheral application uses the s110 SoftDevice:

    Note:

    Although the folder ble_app_multilink_peripheral is placed under s120 folder, it needs the S110 SoftDevice to work. Its primary use is to act as helper application to test the ble_app_multilink_central example, thus it is placed in the s120 folder.

    The original setup in the example is for ble_app_multilink_peripheral to use s110, and the s120 example is ble_app_multilink_central. This means you should use the s110 SoftDevice and the s110 headers for the peripheral application.

    The s120 version 1.0.1 is central only, and can not be used for a peripheral.

    Regards, Terje

Related