This commit is contained in:
Your Name
2025-03-11 16:35:49 +01:00
parent 5e7375cd4e
commit d57a47ef68

View File

@@ -431,7 +431,7 @@ try:
#Here it's possible that the SARA do not repond at all #Here it's possible that the SARA do not repond at all
#-> try to establish connection #-> try to establish connection
#-> end loop, no need to continue #-> end loop, no need to continue
if response2 is None or response2 == "": if response2 is None or response2 == "" or not any(expected in response2 for expected in ["OK", "ERROR", "+", "AT"]):
print("No answer from SARA module") print("No answer from SARA module")
print('🛑STOP LOOP🛑') print('🛑STOP LOOP🛑')
print("<hr>") print("<hr>")