UART communication
Build, push image, and notify Watchtower / build-image (push) Successful in 2m4s
Build, push image, and notify Watchtower / notify (push) Successful in 1m54s

This commit is contained in:
2026-07-18 17:01:25 +02:00
parent 987067aa1e
commit 4366abba69
7 changed files with 161 additions and 35 deletions
+2 -2
View File
@@ -112,7 +112,7 @@ else:
# La clé ajoute d'elle-même l'octet de groupe configuré dans ses registres
cmd = f"AT+SEND=1,{hex_payload},1,3\r\n"
print(f"RPI : Envoi de la commande HEX -> AT+SEND=1,[HEX_DATA],1,3")
# print(f"RPI : Envoi de la commande HEX -> AT+SEND=1,[HEX_DATA],1,3")
self.ser.write(cmd.encode('utf-8'))
time.sleep(0.2)
@@ -123,7 +123,7 @@ else:
response += self.ser.readline().decode('utf-8', errors='ignore')
time.sleep(0.05)
print(f"[RPI LA66 TX STATUS] :\n{response.strip()}")
# print(f"[RPI LA66 TX STATUS] :\n{response.strip()}")
def receive_packet(self, timeout_ms=5000):
with self.lock: