From 46d65fa7f137bb7cfefe47889f9183500c16194f Mon Sep 17 00:00:00 2001 From: Florent Date: Thu, 20 Mar 2025 22:02:52 +0100 Subject: [PATCH] code error --- mccli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mccli.py b/mccli.py index e847d54..92628a7 100755 --- a/mccli.py +++ b/mccli.py @@ -502,7 +502,7 @@ class MeshCore: + int(0).to_bytes(1, 'little')) async def set_devicepin (self, pin): - return await self.send(b"\x37" \ + return await self.send(b"\x25" \ + int(pin).to_bytes(4, 'little')) async def get_contacts(self):