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>

  • Well, as a followup there's a lot more incompatibilities when you actually enable GAP, so my conclusion is SDK 15.0.0 completely breaks S332 and SDK14.2.0 has a defective fstorage. Guess my only option is to roll back and if I want work done.

    Nordic, I'm not that much of a fan of you. The problem I have is when you have defects, instead of fixing them you release a new SDK with huge differences. The last time you left us stranded with thousands of nRF51 devices in a revision where only a defective SDK was available. I clearly understand that it's more fun building new stuff than fixing it - but every time you do this hundreds of developers has to follow you. I'd very much appreciate fixes and API stability in comparison. 

    The faster we get our stuff done, the faster we'll be on the market, the more we sell and the more we buy from you. 

  • 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.

     

Related