Activate specific PDP context on EM7430

I am using EM7430 module. For data connection the module is always using the first PDP context to make connection with cell operator other than Verizon (for Verizon 3). I have tried this command “AT!SCACT=1,2” to activate PDP context 2, but its get failed.

In the following cases with Airtel SIM inserted, for case#1 there is an active connection, whereas for case#2 connection is not established. How to activate PDP context 2 (or specific PDP context other than default) instead of 1 to make use of multiple SIM cards re-inserted with different APNs configured at PDP contexts.

Case 1:

AT+CGDCONT?
+CGDCONT: 1,“IPV4V6”,“airtelgprs.com”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0
+CGDCONT: 2,“IPV4V6”,“jionet”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0

OK
AT+CGCONTRDP
+CGCONTRDP: 1,5,airtelgprs.com,100.93.104.161,36.1.73.0.78.46.177.213.185.247.124.160.100.242.174.15,9.0.80.0 254.128.0.0.0.0.0.0.0.0.0.0.0.0.0.1,117.96.122.70 36.1.73.0.0.80.0.9.0.0.0.0.0.0.2.10,122.175.1.5 36.1.73.0.0.80.0.9.0.0.0.0.0.0.0.117

OK
AT!SCACT?
!SCACT: 1,1
!SCACT: 2,0

OK

Case 2:

AT+CGDCONT?
+CGDCONT: 1,“IPV4V6”,“jionet”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0
+CGDCONT: 2,“IPV4V6”,“airtelgprs.com”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0

OK

AT+CGCONTRDP
OK

AT!SCACT?
!SCACT: 1,0
!SCACT: 2,0

OK

AT!SCACT=1,2
ERROR

AT+CGACT?
+CGACT: 1,0
+CGACT: 2,0

OK

AT+CGACT=1
+CME ERROR: no network service

AT+CGATT?
+CGATT: 0

OK

AT+CGATT=1
+CME ERROR: no network service

how about setting both APN of profile 1 and 2 to “airtelgprs.com”?
BTW, have you verified AT!GSTATUS? for case 2?

If I set APN of both profiles to “airtelgprs.com” then the connection is established. Is there a way that I make connection for case#2 without modification in APN of profiles?

This was the output of AT!GSTATUS? for case#2:
AT!GSTATUS?
!GSTATUS:
Current Time: 83056 Temperature: 44
Reset Counter: 1 Mode: ONLINE
System mode: WCDMA PS state: Not attached
WCDMA band: WCDMA 2100
WCDMA channel: 10782
GMM (PS) state:DEREGISTERED LIMITED SERVICE
MM (CS) state: IDLE LIMITED SERVICE

WCDMA L1 state:L1M_PCH_SLEEP LAC: 0D09 (3337)
RRC state: DISCONNECTED UTRAN Cell ID: 01517A5B (22116955)
RxM RSSI C0: -93 RxD RSSI C0: —
RxM RSSI C1: — RxD RSSI C1: —

OK

I think jionet is not a correct apn in your environment

“jionet” is APN for Jio operator. How to get connection for Airtel SIM with case#2 scenario, where its APN is defined as profile 2

but in your case 2, once you set up jionet in profile 1, it cannot even get IP address.
And from AT!GSTATUS of case 2, it cannot even register network…

Yes, what could be the reason for not getting connection in case#2, does modem try establishing connection with only profile 1, or will it try with profile 2 as well? The same Airtel SIM is functional with case#1 scenario, where its APN is defined at profile 1

i think it would connect with profile 1 first, as from your testing, if you change the APN of profile 1, it cannot even register network

It means there should not be any wrong profile defined before correct profile. How should I delete profile 1 completely and then the result should show like below (in other way I just want to use only profile 2)
AT+CGDCONT?
+CGDCONT: 2,“IPV4V6”,“airtelgprs.com”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0

OK

why don’t you just set profile 1 APN to be “airtelgprs.com”?

There is another use case where if it has following profiles defined for Verizon SIM, then the active connection is being created on class 1 instead of 3 (as mentioned in UG verizon uses PDP context 3)
+CGDCONT: 1,“IPV4V6”,“”,“0.0.0.0”,0,0,0,0
+CGDCONT: 3,“IPV4V6”,“vzwinternet”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0

+CGCONTRDP: 1,5,vzwinternet,100.111.206.139,198.224.169.135,198.224.171.135

EM7430 does not have VZW carrier setting:

https://source.sierrawireless.com/resources/airprime/minicard/74xx/em_mc74xx-approved-fw-packages/#sthash.K14Rq2n1.dpbs

Better use EM7455 to test VZW