I'm trying to test the throughput improvement of the S130 alpha softdevice vs S130 V1.
I notice a couple of changes in the API that I'm not sure how to handle:
First, ble_enable_params_t has changed and so has the number of arguments for sd_ble_enable. My old code looks like this:
ble_enable_params.gatts_enable_params.service_changed = false;
ble_enable_params.gap_enable_params.role = BLE_GAP_ROLE_CENTRAL;
err_code = sd_ble_enable(&ble_enable_params);
There is no longer a "role" field and sd_ble_enable requires more arguments. Is there an example of how to call this?
Also, is there an existing define for the alpha release headers so I can protect the old code with an #ifndef S130_ALPHA or some such macro?
At this point I should also ask what other changes need to be made to the project in order to use the S130 alpha? All I've done so far is create a new folder for the new header files and changed the ble path in the project to point to that folder.
For example, is there anything I need to do to tell the SD to accept 3 packets per connection interval or is that automatic?