more logs

This commit is contained in:
PaulVua
2026-01-14 14:43:00 +01:00
parent 5777b35770
commit 4c552e4a31

View File

@@ -1133,6 +1133,11 @@ try:
print(response_SARA_2) print(response_SARA_2)
print("</p>", end="") print("</p>", end="")
#parfois ici on peut avoir une erreur ERROR
if "+CME ERROR" in response_SARA_2 or "ERROR" in response_SARA_2:
print('<span style="color: red;font-weight: bold;">⚠ATTENTION: Error while sending data⚠</span>')
#Read reply from server (USORD) #Read reply from server (USORD)
#print("Read reply:", end="") #print("Read reply:", end="")
#command = f'AT+USORD=0,100\r' #command = f'AT+USORD=0,100\r'