I want to scan for peripheral devices in central-role and at the same time i want to broadcast in peripheral-role. How do i have to initialize the Softdevice in this case?
I want to scan for peripheral devices in central-role and at the same time i want to broadcast in peripheral-role. How do i have to initialize the Softdevice in this case?
Hi,
You simply start the SoftDevice as you normally would, and use the SoftDevice API as you would normally do for peripheral and central side functionality.
There are a couple of examples in the examples\ble_central_and_peripheral\experimental\
folder of SDK 11, one of which is the BLE Relay Example.
Regards, Terje
I tried it like that, but when i call the function sd_ble_enable() i get the err_code NRF_ERROR_SOFTDEVICE_NOT_ENABLED an the nRF51 makes a System_ReSet.
Do you know why i can't enable the Softdevice?
I tried it like that, but when i call the function sd_ble_enable() i get the err_code NRF_ERROR_SOFTDEVICE_NOT_ENABLED an the nRF51 makes a System_ReSet.
Do you know why i can't enable the Softdevice?