Hi to all!!, im having troubles to make this work, i want to execute an AT command with the adl_atCmdCreate funtion.
This is what im doing…
adl_atCmdCreate(“AT+CPIN=1111”,FALSE,gsm_PINHandler,ADL_STR_OK,ADL_STR_ERROR,NULL);
but it never came into the handler.
if i write…
adl_atCmdCreate(“AT+CPIN=1111”,FALSE,gsm_PINHandler,"*",NULL);
the anser inside de handler is CME:ERROR 515.
Can anyone help me??.
Thanks for advance.
awneil
2
Look-up the definition of ADL_STR_ERROR in the ADL User Guide
Does “+CME ERROR: 515” match the definition of ADL_STR_ERROR
Problem solved!!! . When i get the CME ERROR i try again recieving the PING NEED event, later y send the AT+CPING=1111 and works just fine!.
Thank u all!!