update
This commit is contained in:
@@ -853,6 +853,8 @@ try:
|
||||
# si c'est le cas on essaie de se reconnecter
|
||||
if signal_quality == 99:
|
||||
print('<span style="color: red;font-weight: bold;">⚠️ATTENTION: Signal Quality indicates no signal (99)⚠️</span>')
|
||||
|
||||
#Pas besoin d'essayer de se reconnecter car reconnection automatique
|
||||
print("TRY TO RECONNECT:")
|
||||
command = f'AT+COPS=1,2,{selected_networkID}\r'
|
||||
#command = f'AT+COPS=0\r'
|
||||
@@ -1004,7 +1006,7 @@ try:
|
||||
print('<p class="text-success">No error detected</p>')
|
||||
# INVALID SERVER HOSTNAME
|
||||
elif error_code == 4:
|
||||
print('<p class="text-danger">Error 4: Invalid server Hostname</p>')
|
||||
print('<p class="text-danger">Error 4: AirCarto - Invalid server Hostname</p>')
|
||||
send_error_notification(device_id, "UHTTPER (error n°4) -> AirCarto Invalid Server Hostname")
|
||||
server_hostname_resets = reset_server_hostname(aircarto_profile_id)
|
||||
if server_hostname_resets:
|
||||
@@ -1304,7 +1306,7 @@ try:
|
||||
print('<p class="text-success">No error detected</p>')
|
||||
# INVALID SERVER HOSTNAME
|
||||
elif error_code == 4:
|
||||
print('<p class="text-danger">Error 4: Invalid server Hostname</p>', end="")
|
||||
print('<p class="text-danger">Error 4: uSpot - Invalid server Hostname</p>', end="")
|
||||
send_error_notification(device_id, "UHTTPER (4) uSpot Invalid server Hostname")
|
||||
server_hostname_resets = reset_server_hostname_https(uSpot_profile_id)
|
||||
if server_hostname_resets:
|
||||
|
||||
Reference in New Issue
Block a user