From c7fb474f66dae4b4bc9754ff2aa94b52d06e0589 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 25 Feb 2025 14:40:44 +0100 Subject: [PATCH] update --- loop/SARA_send_data_v2.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/loop/SARA_send_data_v2.py b/loop/SARA_send_data_v2.py index d82104f..7a13040 100755 --- a/loop/SARA_send_data_v2.py +++ b/loop/SARA_send_data_v2.py @@ -552,8 +552,9 @@ try: 3 HTTP Protocol error class 10 Wrong HTTP API USAGE - error_code (for error_class 3) + error_code (for error_class 3 and 10) 0 No error + 4 Invalid server Hostname 11 Server connection error 73 Secure socket connect error ''' @@ -709,7 +710,7 @@ try: led_thread.start() # Get error code - print("Getting error code (11->Server connection error, 73->Secure socket connect error)") + print("Getting error code (4-> Invalid server Hostname, 11->Server connection error, 73->Secure socket connect error)") command = f'AT+UHTTPER={uSpot_profile_id}\r' ser_sara.write(command.encode('utf-8')) response_SARA_9 = read_complete_response(ser_sara, wait_for_lines=["OK"], debug=False) @@ -727,6 +728,7 @@ try: error_code (for error_class 3) 0 No error + 4 Invalid server Hostname 11 Server connection error 73 Secure socket connect error '''