Hi, I want to know if it's possible to disable ble completely and then re-enabling it converting device from peripheral to central.
Thanks.
Hi, I want to know if it's possible to disable ble completely and then re-enabling it converting device from peripheral to central.
Thanks.
Like Wojtek already answered. Only S130 can be used if you want your device to act as central and peripheral. You do not need to disable S130 softdevice
, when done with central, just stop all Central activities and start your peripheral initialization and start advertising. There are examples for this in SDK9.0
S130 has both roles simultaneously without any activation, and this cannot be configured. But it has more buffers available per link than the S120. The S120 has only 1 user buffer available per link in the central role, which is why we allow disabling/enabling a peripheral with more throughput. This is useful for e.g. DFU, and we still keep the memory footprint low. This "feature" might not have been communicated well enough, but it is there nonetheless :)
S130 has both roles simultaneously without any activation, and this cannot be configured. But it has more buffers available per link than the S120. The S120 has only 1 user buffer available per link in the central role, which is why we allow disabling/enabling a peripheral with more throughput. This is useful for e.g. DFU, and we still keep the memory footprint low. This "feature" might not have been communicated well enough, but it is there nonetheless :)