Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SDK 15.0.0 incompatible with S332

BLE_GAP_ADV_SET_DATA_SIZE_MAX is use din ble_advertising.h

This macro is defined in ble_gap.h for each softdevice  - however not in the header for S332. Also ble_gap_adv_data_t is missing. I'me using the code below to work around the defect. Can you please confirm this code is correct?

    #include <ble_gap.h>
    #ifndef BLE_GAP_ADV_SET_DATA_SIZE_MAX
    // Fix errors in SDK 15.0.0/S332
    # define BLE_GAP_ADV_SET_DATA_SIZE_MAX 31
    typedef struct
    {
    ble_data_t adv_data;
    ble_data_t scan_rsp_data;
    } ble_gap_adv_data_t;
    #endif // BLE_GAP_ADV_SET_DATA_SIZE_MAX
    #include <ble_advertising.h>

Parents
  • Hi!

    There is no support for Softdevice S332 in SDK v15.0.0, so I would advise you to roll back to an SDK version where S332 is supported.

    There might be support for S332 again in future releases of the SDK. Roadmap related questions should be directed to your RSM. If you don't know who that is, send me a PM with your location and I'll provide you with the contact information.

    I'm sorry to hear that you are not satisfied, but I appreciate the feedback and I will forward this internally.

    Be sure to let us know if you face any other issues, and we will do our best to help you.

    Best regards,
    Joakim.

     

Reply
  • Hi!

    There is no support for Softdevice S332 in SDK v15.0.0, so I would advise you to roll back to an SDK version where S332 is supported.

    There might be support for S332 again in future releases of the SDK. Roadmap related questions should be directed to your RSM. If you don't know who that is, send me a PM with your location and I'll provide you with the contact information.

    I'm sorry to hear that you are not satisfied, but I appreciate the feedback and I will forward this internally.

    Be sure to let us know if you face any other issues, and we will do our best to help you.

    Best regards,
    Joakim.

     

Children
No Data
Related