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 '''