Good day.
I am using adl_atCmdSubscribe.
If connect UART1 then my command is works properly.
But if connect to GPRS , use adl_atCmdCreate (UART1):
AT - return OK
AT+CSQ - return +CSQ: 20,99
AT+IPR? - return +IPR:115200
AT+TEST - return ERROR.
Why? Where did I go wrong?
If connect UART1:
AT+TEST - return +TEST OK.
-“Developer Studio”,“2.3.2.201310241753”
-“Open AT Application Framework package”,“2.52.0.201307100830”
-“Open AT OS Package”,“6.52.0.201306271400”
-“Firmware Package”,“7.52.0.201306260837”
-“Internet Library Package”,“5.56.0.201305170830”
I did not understand your use case.
AT+TEST command is a customized command so you have to subscribe to this command using adl_atcmdsubscribe(). If you dont subscribe, it will definitely give an error.
paras->StrData - return OK if i am request AT
paras->StrData - return +IPR:115200 if i am request AT+IPR?
paras->StrData - return +CSQ: 25,99 if i am request AT+csq
paras->StrData - return +CME ERROR: 3 if i am request AT+TEST?
But if i am connected UART1 (HiperTerminal COM4)
request AT+TEST? - return OK