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

s130 softdevice as central.

Hi I need use s130 softdevice as a central. So i am getting error with my existing code that works fine with s120 softdevice as central.

nordic_sdk_10/components/softdevice/common/softdevice_handler/softdevice_handler.c:257:22: error: 'ble_enable_params_t' has no member named 'gap_enable_params'

ble_enable_params.gap_enable_params.role=BLE_GAP_ROLE_CENTRAL;

here is the piece of code.

#ifdef SER_CONNECTIVITY                                              
    ble_enable_params.gap_enable_params.role=BLE_GAP_ROLE_CENTRAL;
    sd_ble_enable(&ble_enable_params);                              
#endif

Apart from the above any changes need to configure s130 as total central?

Parents Reply Children
No Data
Related