How do I configure the chip to operate in radio mode or BLE mode on the same build?
It seems the radio mode example projects use no soft device, but the BLE project I want uses the s140.
Thanks!
How do I configure the chip to operate in radio mode or BLE mode on the same build?
It seems the radio mode example projects use no soft device, but the BLE project I want uses the s140.
Thanks!
Hi,
If you want to switch between using BLE and a custom radio protocol (without any concurrent multiprotocol support), this should be as simple as adding the radio functions from the radio examples into the BLE examples, and make sure to disable the softdevice before accessing the radio registers directly.
If you want to do concurrent multiprotocol, you can only access the radio through the softdevice's timeslot API. See Multiprotocol support in the softdevice documentation for more details.
We have a Multiprotocol Application example in the SDK, that shows switched multiprotocol operation with BLE/softdevice. This example uses the proprietary Gazell protocol, and not the radio registers directly.
Best regards,
Jørgen
Hi,
If you want to switch between using BLE and a custom radio protocol (without any concurrent multiprotocol support), this should be as simple as adding the radio functions from the radio examples into the BLE examples, and make sure to disable the softdevice before accessing the radio registers directly.
If you want to do concurrent multiprotocol, you can only access the radio through the softdevice's timeslot API. See Multiprotocol support in the softdevice documentation for more details.
We have a Multiprotocol Application example in the SDK, that shows switched multiprotocol operation with BLE/softdevice. This example uses the proprietary Gazell protocol, and not the radio registers directly.
Best regards,
Jørgen