Added minor printout in example.
@@ -24,6 +24,7 @@ async def show_disconnect_handling(mac_addr: str, loop: asyncio.AbstractEventLoo
client.set_disconnected_callback(disconnect_callback)
print("Sleeping until device disconnects according to BlueZ...")
await disconnected_event.wait()
+ print("Connected: {0}".format(await client.is_connected()))
await asyncio.sleep(0.5) # Sleep a bit longer to allow _cleanup to remove all BlueZ notifications nicely...
