Currently I am searching for s130
example code. I know it's in alpha stage, but I think it should be possible to start to experiment with it, isn't it?
In the past I've been going through S110 v5, S110 v6, and S110 v7 which can be found in github.com/.../CMakeBuild.config.default.
The recommendations for v7 for example are incorporated in my code:
#if(NORDIC_SDK_VERSION >= 7)
BLE_CALL(sd_ble_gap_enable);
ble_gap_addr_t addr;
BLE_CALL(sd_ble_gap_address_get, (&addr));
BLE_CALL(sd_ble_gap_address_set, (BLE_GAP_ADDR_CYCLE_MODE_NONE, &addr));
#endif
I don't know if these recommendations are still valid for the S130.
My current configuration:
NRF51822_DIR=/opt/nrf51_sdk/v6/nrf51822
NORDIC_SDK_VERSION=6
SOFTDEVICE=s130_nrf51822_0.5.0-1.alpha
SOFTDEVICE_NO_SEPARATE_UICR_SECTION=1
APPLICATION_START_ADDRESS=0x00020000
APPLICATION_LENGTH=0x2a000
The application start address is from the S130 SoftDevice Specification, but I haven't found out what I need to change in my code.
So, an example with the S130 would be greatly appreciated!