update
This commit is contained in:
@@ -600,7 +600,7 @@ try:
|
|||||||
print('</p>')
|
print('</p>')
|
||||||
|
|
||||||
#Si non ne recoit pas de réponse UHTTPCR
|
#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:
|
else:
|
||||||
print('<span style="color: red;font-weight: bold;">No UUHTTPCR response</span>')
|
print('<span style="color: red;font-weight: bold;">No UUHTTPCR response</span>')
|
||||||
print("Blink red LED")
|
print("Blink red LED")
|
||||||
@@ -639,6 +639,13 @@ try:
|
|||||||
print('<p class="text-danger-emphasis">')
|
print('<p class="text-danger-emphasis">')
|
||||||
print(responseResetHTTP_profile)
|
print(responseResetHTTP_profile)
|
||||||
print("</p>")
|
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
|
#5. empty json
|
||||||
print("Empty SARA memory:")
|
print("Empty SARA memory:")
|
||||||
|
|||||||
Reference in New Issue
Block a user