Incorrect APN
Hello Modem Manager team,
Could you help us understand whether there's bug in MM for the issue being encountered on a Quectel EG25G modem?
- ModemManager version 1.14
- NetworkManager version 1.22.10
- Modem firmware version EG25GGBR07A07M2G
The issue is that device is unable to establish internet connectivity on a Mexico roaming network with AT&T as the home network. The current lead is that the modem is using the wrong APN when connecting to the roaming network. From the modem manager logs, we see that MM sends QMI message with APN - attiotdemo
Nov 13 19:48:42 P1002260-S00000141 ModemManager[471]: [/dev/cdc-wdm0] sent message... <<<<<< RAW: <<<<<< length = 26 <<<<<< data = 01:19:00:00:01:11:00:73:01:20:00:0D:00:14:0A:00:61:74:74:69:6F:74:64:65:6D:6F
Nov 13 19:48:42 P1002260-S00000141 ModemManager[471]: [/dev/cdc-wdm0] sent generic request (translated)... <<<<<< QMUX: <<<<<< length = 25 <<<<<< flags = 0x00 <<<<<< service = "wds" <<<<<< client = 17 <<<<<< QMI: <<<<<< flags = "none" <<<<<< transaction = 371 <<<<<< tlv_length = 13 <<<<<< message = "Start Network" (0x0020) <<<<<< TLV: <<<<<< type = "APN" (0x14) <<<<<< length = 10 <<<<<< value = 61:74:74:69:6F:74:64:65:6D:6F <<<<<< translated = attiotdemo
Nov 13 19:48:42 P1002260-S00000141 ModemManager[471]: [/dev/cdc-wdm0] received message... <<<<<< RAW: <<<<<< length = 20 <<<<<< data = 01:13:00:80:01:11:04:BB:00:01:00:07:00:20:04:00:00:00:00:00
Nov 13 19:48:42 P1002260-S00000141 ModemManager[471]: [/dev/cdc-wdm0] received generic indication (translated)... <<<<<< QMUX: <<<<<< length = 19 <<<<<< flags = 0x80 <<<<<< service = "wds" <<<<<< client = 17 <<<<<< QMI: <<<<<< flags = "indication" <<<<<< transaction = 187 <<<<<< tlv_length = 7 <<<<<< message = "Event Report" (0x0001) <<<<<< TLV: <<<<<< type = "Preferred Data System" (0x20) <<<<<< length = 4 <<<<<< value = 00:00:00:00 <<<<<< translated = unknown
But from modem-network transactions, modem is using APN - nxtgenphone. When we retrieve APNs store on the modem via AT command, the modem shows:
[modem2/ttyUSB3/at] --> 'AT+CGDCONT?<CR>'
Nov 13 20:20:33 P1002260-S00000141 ModemManager[471]: [1605298833.174094] [modem2/ttyUSB3/at] <-- '<CR><LF>+CGDCONT: 1,"IPV4V6","nxtgenphone","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0<CR><LF>+CGDCONT: 2,"IPV4V6","ims","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0<CR><LF>+CGDCONT: 3,"IPV4V6","sos","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1<CR><LF>+CGDCONT: 4,"IP","broadband","0.0.0.0",0,0,0,0<CR><LF><CR><LF>OK<CR><LF>'
Quectel says that MM should use the following API to set the APN to connect to: qmi_wds_profile_modify_setting or AT+CGDCONT.
May I know what API does MM use to configure the modem with correct APN? Is there room for MM to adjust quectel plugin to use the correct API?