update
This commit is contained in:
@@ -562,7 +562,7 @@ try:
|
||||
73 Secure socket connect error
|
||||
'''
|
||||
|
||||
#Essayer un reboot du SARA R4
|
||||
#Essayer un reboot du SARA R4 (ne fonctionne pas)
|
||||
#print("🔄SARA reboot!🔄")
|
||||
#command = f'AT+CFUN=15\r'
|
||||
#ser_sara.write(command.encode('utf-8'))
|
||||
@@ -571,6 +571,16 @@ try:
|
||||
#print(response_SARA_9r)
|
||||
#print("</p>")
|
||||
|
||||
#reset l'url
|
||||
print('<span style="color: orange;font-weight: bold;">❓Try Resetting the HTTP Profile❓</span>')
|
||||
command = f'AT+UHTTP={aircarto_profile_id},1,"data.nebuleair.fr"\r'
|
||||
ser_sara.write(command.encode('utf-8'))
|
||||
responseResetHTTP2_profile = read_complete_response(ser_sara, timeout=5, end_of_response_timeout=5, wait_for_lines=["OK", "+CME ERROR"], debug=True)
|
||||
print('<p class="text-danger-emphasis">')
|
||||
print(responseResetHTTP2_profile)
|
||||
print("</p>")
|
||||
|
||||
|
||||
# 2.2 code 1 (HHTP succeded)
|
||||
else:
|
||||
# Si la commande HTTP a réussi
|
||||
|
||||
Reference in New Issue
Block a user