Hi,
i have a problem with adl_atCmdCreate() too. My intention is to get the response of at+cced=1,7 into an ascii string for further processing.
The response looks as follows:
+CCED: 262,02,0319,03fd,25,73,35,,,0,,,0,262,02,0319,2581,28,10,15,262,02,0319,03ff,30,76,14,262,02,0319,,63,105,11,2
What i tried is as follows:
static ascii *resp
bool adl_cced_response_handler ( adl_atResponse_t *cced_pars)
{
resp = adl_strGetResponse ( cced_pars->RspID );
}
void adl_main ( adl_InitType_e InitType )
{
adl_atCmdCreate( "at+cced=1,7",FALSE,(adl_atRspHandler_t) adl_cced_response_handler,"*",NULL);
}
unfortunatly i get “OK” in my resp-pointer but +CCED:… response withstands persistantly.
can someone help?
cs