This commit is contained in:
Your Name
2025-03-10 12:15:05 +01:00
parent 7b4ff011ec
commit 072f98ef95
3 changed files with 86 additions and 1 deletions

View File

@@ -49,6 +49,8 @@ ser = serial.Serial(
)
command = f'AT+CGDCONT=1,"IP","{apn_address}"\r'
#command = f'AT+CGDCONT=1,"IPV4V6","{apn_address}"\r'
#command = f'AT+CGDCONT=1,"IP","{apn_address}",0,0\r'
ser.write((command + '\r').encode('utf-8'))