examples/detection_callback: print message each time scanner starts
This helps show that the effects of restarting the scanner (e.g. on
windows, often the fist scan doesn't return any results).
@@ -28,6 +28,7 @@ async def main(service_uuids):
scanner.register_detection_callback(simple_callback)
while True:
+ print("(re)starting scanner")
await scanner.start()
await asyncio.sleep(5.0)
await scanner.stop()
