This commit is contained in:
Your Name
2025-02-20 15:30:34 +01:00
parent d5f1acc025
commit 725ee971c7
38 changed files with 405 additions and 84 deletions

View File

@@ -2,7 +2,7 @@
Script to connect SARA-R410 to APN
AT+CGDCONT=1,"IP","data.mono"
/usr/bin/python3 /var/www/nebuleair_pro_4g/SARA/sara_setAPN.py ttyAMA2 data.mono 2
/usr/bin/python3 /var/www/moduleair_pro_4g/SARA/sara_setAPN.py ttyAMA2 data.mono 2
'''
import serial
@@ -27,7 +27,7 @@ def load_config(config_file):
return {}
# Define the config file path
config_file = '/var/www/nebuleair_pro_4g/config.json'
config_file = '/var/www/moduleair_pro_4g/config.json'
# Load the configuration data
config = load_config(config_file)
# Access the shared variables