This commit is contained in:
Your Name
2025-02-25 11:55:44 +01:00
parent e3607143a1
commit 144d904813
5 changed files with 40 additions and 4 deletions

View File

@@ -128,9 +128,13 @@ try:
print(response_SARA_1)
time.sleep(1)
#2. Set uSpot URL (TODO)
#2. Set uSpot URL
uSpot_profile_id = 1
uSpot_url="api-prod.uspot.probesys.net"
command = f'AT+UHTTP={uSpot_profile_id},1,"{uSpot_url}"\r'
ser_sara.write(command.encode('utf-8'))
response_SARA_2 = read_complete_response(ser_sara, wait_for_lines=["OK"])
print(response_SARA_2)
time.sleep(1)
#3. Get localisation (CellLocate)