diff --git a/loop/SARA_send_data_v2.py b/loop/SARA_send_data_v2.py index 55308f8..abb7175 100755 --- a/loop/SARA_send_data_v2.py +++ b/loop/SARA_send_data_v2.py @@ -756,7 +756,7 @@ try: print("
") #Send notification (WIFI) - send_error_notification(device_id, "serial_error") + send_error_notification(device_id, "serial_error(no answer from sara)") #end loop sys.exit() @@ -1211,13 +1211,14 @@ try: print('

No error detected

') elif error_code == 4: print('

Error 4: Invalid server Hostname

') - + send_error_notification(device_id, "uSpot - Invalid server Hostname") elif error_code == 11: print('

Error 11: Server connection error

') elif error_code == 22: print('

Error 22: PSD or CSD connection not established

') elif error_code == 73: print('

Error 73: Secure socket connect error

') + send_error_notification(device_id, "uSpot - Secure socket connect error") else: print(f'

Unknown error code: {error_code}

') else: