Hello!
I’m working with MC7455 module and working with both AT commands and mbim. The module is working with a double APN SIM and i’m having some trouble during activation on data traffic of the activated data APN in LTE.
The sequence of commands are:
at+cgdcont=1,"IP",""
at+cgdcont=3,"IP","APN_DATA_1"
ip link set wwan0 up
ip link add link wwan0 name wwan0.1 type vlan id 1
ip link add link wwan0 name wwan0.2 type vlan id 2
mbimcli -d /dev/cdc-wdm0 --query-device-caps --no-close
mbimcli -d /dev/cdc-wdm0 --query-subscriber-ready-status --no-close
mbimcli -d /dev/cdc-wdm0 --attach-packet-service --no-open=X --no-close
mbimcli -d /dev/cdc-wdm0 --connect=session-id=**2**,apn="APN_DATA_1",auth="CHAP",username="XXXX",password="YYYYY" --no-open=x --no-close
AT+CGACT?
+CGACT: 1,1
+CGACT: 3,1
AT+CGCONTRDP
+CGCONTRDP: 1,5,DEFAULT_APN,ip_addr,
+CGCONTRDP: 3,6,APN_DATA_1,
AT+CGDCONT?
+CGDCONT: 1,“IPV4V6”,"","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0"
+CGDCONT: 3,“IP”,“APN_DATA_1”,“0.0.0.0”,0,0,0,0
at+cgdcont=2,“IP”,“APN_DATA_2”
mbimcli -d /dev/cdc-wdm0 --connect=session-id=1,apn=“APN_DATA_2” --no-open=X --no-close
AT+CGDCONT?
+CGDCONT: 1,“IPV4V6”,“APN_DATA_2”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0
+CGDCONT: 3,“IP”,“APN_DATA_1”,“0.0.0.0”,0,0,0,0
+CGDCONT: 2,“IP”,“APN_DATA_2”,“0.0.0.0”,0,0,0,0
AT+CGCONTRDP
+CGCONTRDP: 1,5,APN_DATA_2,ip_addr,
After done this sequence and mounted properly the VLANs, added the IP and routed properly. The result is that the data traffic is correctly routed on the first connected APN (APN_DATA_1) but to the second connected (APN_DATA_2) on session 1 no data traffic is routed.
What i’m doing wrong on this sequence?
Thanks in advance!!
Kliti