This commit is contained in:
Your Name
2025-03-05 09:29:53 +01:00
parent 5d121761e7
commit ebb0fd0a2b

View File

@@ -600,7 +600,7 @@ try:
print('</p>')
#Si non ne recoit pas de réponse UHTTPCR
#on a peut etre une ERROR de type "+CME ERROR: No connection to phone"
#on a peut etre une ERROR de type "+CME ERROR: No connection to phone" ou "Operation not allowed"
else:
print('<span style="color: red;font-weight: bold;">No UUHTTPCR response</span>')
print("Blink red LED")
@@ -639,6 +639,13 @@ try:
print('<p class="text-danger-emphasis">')
print(responseResetHTTP_profile)
print("</p>")
check_lines = responseResetHTTP_profile.strip().splitlines()
for line in check_lines:
if "+CME ERROR: Operation not allowed" in line:
print('<span style="color: red;font-weight: bold;">⚠ATTENTION: CME ERROR⚠</span>')
print('<span style="color: orange;font-weight: bold;">❓Try Reboot the module❓</span>')
#5. empty json
print("Empty SARA memory:")