s16 Creg_Handler(adl_atResponse_t *paras)
adl_atSendResponse(ADL_AT_UNS, “\r\nThis is the feedback from AT+CREG=1\r\n”);
void adl_main(adl_InitType_e InitType)
adl_atCmdCreate(“AT+CREG=1”, FALSE, (adl_atRspHandler_t)Creg_Handler, “*”, NULL);
When run this program the feedback is:
This is the feedback from AT+CREG=1
Then I checked the result by manually input AT+CREG?, it still work as +CREG:0,1, NOT work as +CREG: 1,1.
So I have to manually input AT+CREG=1 to let module run on +CREG: 1,1.
Anyone can tell me what’s happened?