Refactor to event system

This commit is contained in:
Alex Wolden 2025-04-08 22:56:16 -07:00
parent 5fd4db660d
commit 8f0ecd7d75
24 changed files with 1625 additions and 500 deletions

View file

@ -2,6 +2,7 @@
import asyncio
import json
from meshcore import MeshCore
from meshcore import SerialConnection
@ -15,6 +16,6 @@ async def main () :
mc = MeshCore(con)
await mc.connect()
print(json.dumps(await mc.get_contacts(),indent=4))
print(json.dumps(await mc.commands.get_contacts(),indent=4))
asyncio.run(main())