AT+QIREGAPP, PDP context

Hello,
I’m using the M66 module. In my application i want to use the internal TCP/IP stack.

According to the application note, following sequence will activate the PDP context:
sequence 1:
AT+QIREGAPP
AT+QIACT

There is also another possibility to activate a self-defined PDP context
sequence 2:
AT+CGCONT
AT+CGATT
AT+CGACT

In my application I need to observe the status of the PDP context. It seems to me that with sequence 1 I’m not getting the unsolicited event reporting of AT+CGEREP. Only if i explicitly define the context like in sequence 2 I will get them.

Is there any possiblity to get the event reporting of AT+CGEREP with sequence 1? And also can you explain which context is being used with QIREGAPP? Somewhere I read that it is kind of a default context, but I’m not sure. Can I use a self-defined context with QIREGAPP?

Thank you!

Hi,
When using a module’s embedded stacks like TCP and UDP protocol, you need to use AT+QIACT to activate GPRS Context.


AT+QIFGCNT can configure which context to use.
The URC is reported if the context is deactivated:

Hello,

thank you for your reply!
Which command enables the URC?

This does not require at command to enable.By default it is reported when the context is deactivated.