EC25 QIACT Error

Hi, experts.

When I try to use TCP/UDP, I’m getting “Fail to active the context!” error.
What’s the reason?


/* Start AT SYNC: Send AT every 500ms, if receive OK, SYNC success, if no OK return after sending AT 10 times, SYNC fail */
[2020-03-31 18:03:32:713_S:] AT

[2020-03-31 18:03:32:733_R:] DSR:0 (CTS:1) RI:0 DCD:0
[2020-03-31 18:03:32:737_R:] AT
[2020-03-31 18:03:32:737_R:] OK

/* Use ATV1 to set the response format */
[2020-03-31 18:03:32:743_S:] ATV1
[2020-03-31 18:03:32:763_R:] ATV1
[2020-03-31 18:03:32:763_R:] OK

/* Use ATE1 to enable echo mode */
[2020-03-31 18:03:32:770_S:] ATE1
[2020-03-31 18:03:32:779_R:] ATE1
[2020-03-31 18:03:32:779_R:] OK

/* Use AT+CMEE=2 to enable result code and use verbose values */
[2020-03-31 18:03:32:785_S:] AT+CMEE=2
[2020-03-31 18:03:32:795_R:] AT+CMEE=2
[2020-03-31 18:03:32:795_R:] OK

/* Get the baudrate, if the value is 0 (auto baudrate), then it will be set to 115200 (fixed baudrate) to assure reliable communication and avoid any problems caused by undetermined baudrate between DCE and DTE, value of IPR should be saved with AT&W */
[2020-03-31 18:03:32:799_S:] AT+IPR?
[2020-03-31 18:03:32:811_R:] AT+IPR?
[2020-03-31 18:03:32:811_R:] +IPR: 115200

[2020-03-31 18:03:32:811_R:] OK

/* Use ATI to get module information of Manufacturer ID, Device module and Firmware version */
[2020-03-31 18:03:32:824_S:] ATI
[2020-03-31 18:03:32:826_R:] ATI
[2020-03-31 18:03:32:842_R:] Quectel
[2020-03-31 18:03:32:842_R:] EC25
[2020-03-31 18:03:32:842_R:] Revision: EC25EFAR06A08M4G

[2020-03-31 18:03:32:842_R:] OK

/* Use AT+GSN to query the IMEI of module */
[2020-03-31 18:03:32:954_S:] AT+GSN
[2020-03-31 18:03:32:970_R:] AT+GSN
[2020-03-31 18:03:32:970_R:] 866758045452394

[2020-03-31 18:03:32:970_R:] OK
[2020-03-31 18:03:32:972_S:] ATI
[2020-03-31 18:03:32:986_R:] ATI
[2020-03-31 18:03:32:986_R:] Quectel
[2020-03-31 18:03:32:986_R:] EC25
[2020-03-31 18:03:32:986_R:] Revision: EC25EFAR06A08M4G

[2020-03-31 18:03:32:986_R:] OK
[2020-03-31 18:03:32:994_S:] AT+QURCCFG=“URCPORT”,“uart1”
[2020-03-31 18:03:33:002_R:] AT+QURCCFG=“URCPORT”,“uart1”
[2020-03-31 18:03:33:002_R:] OK

/* Use AT+CPIN? to query the SIM card status : SIM card inserted or not, locked or unlocked */
[2020-03-31 18:03:33:509_S:] AT+CPIN?
[2020-03-31 18:03:33:513_R:] AT+CPIN?
[2020-03-31 18:03:33:513_R:] +CPIN: READY

[2020-03-31 18:03:33:529_R:] OK

/* Use AT+CIMI to query the IMSI of SIM card */
[2020-03-31 18:03:33:650_S:] AT+CIMI
[2020-03-31 18:03:33:656_R:] AT+CIMI
[2020-03-31 18:03:33:672_R:] 450050847313811

[2020-03-31 18:03:33:672_R:] OK

/* Use AT+QCCID to query ICCID number of SIM card */
[2020-03-31 18:03:33:784_S:] AT+QCCID
[2020-03-31 18:03:33:800_R:] AT+QCCID
[2020-03-31 18:03:33:800_R:] +QCCID: 8982051712401842108F

[2020-03-31 18:03:33:800_R:] OK

/* Use AT+CSQ to query current signal quality */
[2020-03-31 18:03:33:804_S:] AT+CSQ
[2020-03-31 18:03:33:816_R:] AT+CSQ
[2020-03-31 18:03:33:816_R:] +CSQ: 27,99

[2020-03-31 18:03:33:816_R:] OK

/* Use AT+CREG? /AT+CGREG? to query the network registration status. */
[2020-03-31 18:03:33:819_S:] AT+CREG?
[2020-03-31 18:03:33:832_R:] AT+CREG?
[2020-03-31 18:03:33:832_R:] +CREG: 0,1

[2020-03-31 18:03:33:832_R:] OK
[2020-03-31 18:03:33:837_S:] AT+CGREG?
[2020-03-31 18:03:33:849_R:] AT+CGREG?
[2020-03-31 18:03:33:849_R:] +CGREG: 0,1

[2020-03-31 18:03:33:849_R:] OK

/* Use AT+COPS? to query current Network Operator */
[2020-03-31 18:03:33:947_S:] AT+COPS?
[2020-03-31 18:03:33:960_R:] AT+COPS?
[2020-03-31 18:03:33:960_R:] +COPS: 0,0,“SKTelecom”,7

[2020-03-31 18:03:33:960_R:] OK

/Use AT+CEREG? to query current EPS Network Registration Status/
[2020-03-31 18:03:34:053_S:] AT+CEREG?
[2020-03-31 18:03:34:073_R:] AT+CEREG?
[2020-03-31 18:03:34:073_R:] +CEREG: 0,1

[2020-03-31 18:03:34:073_R:] OK
[2020-03-31 18:03:34:156_S:] AT+CLVL=?
[2020-03-31 18:03:34:169_R:] AT+CLVL=?
[2020-03-31 18:03:34:169_R:] +CLVL: (0-5)

[2020-03-31 18:03:34:169_R:] OK

/* use AT+CPIN? to query the SIM card status : SIM card inserted or not, locked or unlocked */
[2020-03-31 18:04:11:172_S:] AT+CPIN?
[2020-03-31 18:04:11:185_R:] AT+CPIN?
[2020-03-31 18:04:11:185_R:] +CPIN: READY

[2020-03-31 18:04:11:185_R:] OK

/Use AT+CEREG? to query current EPS Network Registration Status/
[2020-03-31 18:04:11:188_S:] AT+CEREG?
[2020-03-31 18:04:11:199_R:] AT+CEREG?
[2020-03-31 18:04:11:199_R:] +CEREG: 0,1

[2020-03-31 18:04:11:199_R:] OK

/* use AT+CSQ to query current signal quality */
[2020-03-31 18:04:11:295_S:] AT+CSQ
[2020-03-31 18:04:11:311_R:] AT+CSQ
[2020-03-31 18:04:11:311_R:] +CSQ: 27,99

[2020-03-31 18:04:11:311_R:] OK

/* use AT+CREG? /AT+CGREG? to query the network registration status, if the return value is [0,1] or [0,5], it is successfully registered, other value is fail to register */
[2020-03-31 18:04:11:316_S:] AT+CREG?
[2020-03-31 18:04:11:327_R:] AT+CREG?
[2020-03-31 18:04:11:327_R:] +CREG: 0,1

[2020-03-31 18:04:11:327_R:] OK
[2020-03-31 18:04:11:329_S:] AT+CGREG?
[2020-03-31 18:04:11:343_R:] AT+CGREG?
[2020-03-31 18:04:11:343_R:] +CGREG: 0,1

[2020-03-31 18:04:11:343_R:] OK

/* Use AT+CPIN? to query the SIM status */
[2020-03-31 18:04:31:745_S:] AT+CPIN?
[2020-03-31 18:04:31:759_R:] AT+CPIN?
[2020-03-31 18:04:31:759_R:] +CPIN: READY

[2020-03-31 18:04:31:759_R:] OK

/* Use AT+CREG?/AT+CGREG? to query network registration status */
[2020-03-31 18:04:31:762_S:] AT+CREG?
[2020-03-31 18:04:31:775_R:] AT+CREG?
[2020-03-31 18:04:31:775_R:] +CREG: 0,1

[2020-03-31 18:04:31:775_R:] OK
[2020-03-31 18:04:31:778_S:] AT+CGREG?
[2020-03-31 18:04:31:791_R:] AT+CGREG?
[2020-03-31 18:04:31:791_R:] +CGREG: 0,1

[2020-03-31 18:04:31:791_R:] OK

/* Use AT+QICSGP=1,1,“SKTELECOM”,"","",0 to set APN as “SKTELECOM”,user name as “”,password as “”*/
[2020-03-31 18:04:31:795_S:] AT+QICSGP=1,1,“SKTELECOM”,"","",0
[2020-03-31 18:04:31:807_R:] AT+QICSGP=1,1,“SKTELECOM”,"","",0
[2020-03-31 18:04:31:823_R:] OK

/* Query the status of the context profile */
[2020-03-31 18:04:31:825_S:] AT+QIACT?
[2020-03-31 18:04:31:839_R:] AT+QIACT?
[2020-03-31 18:04:31:839_R:] OK

/* Activate context profile */
[2020-03-31 18:04:31:841_S:] AT+QIACT=1
[2020-03-31 18:04:31:855_R:] AT+QIACT=1
[2020-03-31 18:04:32:079_R:] ERROR

/* Query the status of the context profile */
[2020-03-31 18:04:32:092_S:] AT+QIACT?
[2020-03-31 18:04:32:110_R:] AT+QIACT?
[2020-03-31 18:04:32:110_R:] OK

/* Close the context */
[2020-03-31 18:05:11:230_S:] AT+QIDEACT=1
[2020-03-31 18:05:11:249_R:] AT+QIDEACT=1
[2020-03-31 18:05:11:249_R:] OK

Thanks.

Manually enter the required commands at QCOM
then try changing
AT+QICSGP=1,1,“SKTELECOM”,"","",0
to
AT+QICSGP=1,2,“SKTELECOM”,"","",0
then
AT+QIACT=1
if this still throws ERROR then try changing it back.
No idea why this would work, but this worked for me.

Dear Ihuijae,
Thanks for your inquiry in Quectel forum.
For your issue, you can refer to the following flow Chart of Using TCP/IP AT Commands. If QIACT failed, you can try deactivate the PDP with AT+QIDEACT firstly, then try activate it again, if it still failed for three times, you can try reboot the module to have a try again. Or you also can change another PDP to have a try. Thanks!