logout command

This commit is contained in:
Florent 2025-04-09 18:14:40 +02:00
parent 5fd4db660d
commit 17c8fe776f

View file

@ -348,6 +348,11 @@ class MeshCore:
printerr ("Timeout ...")
return False
async def send_logout(self, dst):
self.login_resp = asyncio.Future()
data = b"\x1d" + dst + pwd.encode("ascii")
return await self.send(data)
async def send_statusreq(self, dst):
self.status_resp = asyncio.Future()
data = b"\x1b" + dst