This commit is contained in:
PaulVua
2025-01-13 17:51:12 +01:00
parent b411d37d01
commit 3414a0db1a
2 changed files with 38 additions and 39 deletions

View File

@@ -1,5 +1,13 @@
'''
Script to set the URL for a HTTP request
Ex:
/usr/bin/python3 /var/www/nebuleair_pro_4g/SARA/sara_setURL.py ttyAMA2 data.nebuleair.fr
To do: need to add profile id as parameter
First profile id:
AT+UHTTP=0,1,"data.nebuleair.fr"
Second profile id:
AT+UHTTP=1,1,"api-prod.uspot.probesys.net"
'''
import serial