From 6d3220665e7605cbea395517418e2727be7248de Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 3 Apr 2025 09:07:20 +0200 Subject: [PATCH] update --- loop/SARA_send_data_v2.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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: