That's a shame - in EspruinoHub we actually detect if no advertising data has been received for a while and restart if not. You could do that?
It might work just to try calling startScanning again if no advertising has been received for a while?
startScanning
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
That's a shame - in EspruinoHub we actually detect if no advertising data has been received for a while and restart if not. You could do that?
It might work just to try calling
startScanning
again if no advertising has been received for a while?