update
This commit is contained in:
@@ -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
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user