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
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
S120 2.x.x does in fact have both central and peripheral roles, selectable at time of enabling. It is not necessary to do this for S130 as you mention.
Ulrich: is it possible for S120 to initialize soft device as central, do some central activity, disable and inisitalize it as peripheral?
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 :)
So, S130 allows more than one packet per connection as Central? (better throughput than S120?!)
edit. According to specification it is only for peripheral role :\ I wonder if there will ever be Nordic chip that will allow receiving more than 1 notification in 7.5ms connection interval.