I am programming board KW40Z and implementing some sample code.
In the "heart rate sensor" example, the bluetooth acts as a slaver.
However, while the ble connection is interrupted, it requires to press button SW4 to enable ble listen for new connection.
Can anyone advise me what to do in the code to let ble keep listening for new connection "automatically" as the previous connection is interrupted without pressing button SW4?
Thank you very much!