Conflict with GPRS API and AT

Hello.
When I use GPRS API in following step:

  1. Ql_GPSR_Register - Ok
  2. Ql_GPRS_Config - Ok
  3. Ql_GPRS_Activate - through CallBack - Ok
    Next I get the locall IP and everything looks good.
    But:
  4. RIL_NW_GetIPStatus (AT+QISTATE) is always says - IP INITIAL
  5. RIL_NTP_START (AT+QNTP =…) is always says - ERROR.

Why when I activate GPRS use APIs the GPRS AT+ command do not see the activated GPRS context?

     API and RIL are different, and these two methods cannot be mixed.
     When you want to use RIL_NW_GetIPStatus&RIL_NTP_START, you need to use the following command to activate:
     RIL_NW_GetGPRSState
     RIL_NW_SetAPN
     RIL_NW_OpenPDPContext