Switch the role between observer and peripheral dynamically
Hi,
I have an scenario which need to switch the device role between observer and peripheral, because the device need to accept a connection and listen the broadcast packet both. Now I use a button to do the role switch. I have do the modification base on the ble_peripheral sample project accodring to guidehttps://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bl....