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
This sounds strange. I do not know any reason for getting NRF_ERROR_SOFTDEVICE_NOT_ENABLED
from sd_ble_enable()
, it doesn't even seem possible. Are you sure this is the return code from sd_ble_enable() and not from any other call? Please consider sharing code.
This sounds strange. I do not know any reason for getting NRF_ERROR_SOFTDEVICE_NOT_ENABLED
from sd_ble_enable()
, it doesn't even seem possible. Are you sure this is the return code from sd_ble_enable() and not from any other call? Please consider sharing code.