APN: Use the AT+CGDCONT command to set the default APN of the modem

Problem description
Use the AT+CGDCONT command to set the modem default APN (for example: CID1).

Solution
1. View device modem APN: AT+CGDCONT can be used to view or modify APN.
For example, to view the current device APN:

 AT+CGDCONT?
CGDCONT:1,“IPV4V6”,“internet”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0 APN Name “internet”
CGDCONT:2,“IPV6”,“ims”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0
CGDCONT:3,“IPV4V6”,“sos”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,1
CGDCONT: 4,“IP”,“plus.acs.jp”,“0.0.0.0”,0,0,0,0
CGDCONT: 5,“IP”,“plus.acs.jp”,“0.0.0.0”,0,0,0,0

2. Modify the modem APN to
use "AT+CGDCONT=" to modify the APN parameters,
for example:

AT+CGDCONT=1,“IP”,“internet”,“10.1.1.4”,0,0

The parameters respectively indicate [order], [IP type], [APN name], [address]

3. Export profile
Qualcomm platform uses QPST; some version user version may not open QPST.
The modem APN is stored in Data_Profiles of EFS, you can use the EFS explorer of the QPST tool to export the modified profile file.
Detailed path:
/Data_Profiles/Profile*

4. Imported to modem_proc,
each MBN has its own profile built in, and its path is modem_proc\datamodem\datacfg\efs\xxx\Profilex.
Replace the exported profile file to the above path.

5. Edit the mbn and add the corresponding profile: For
example,
at the same time, pay attention to modify the MBN version so that the MBN can be updated.

Guess you like

Origin blog.csdn.net/baidu_40808339/article/details/115259412