Send AT commands

Good morning,

I am a beginner with OpenAT programming.

I cannot find how to send an AT command to my fastrack using a adl_ function ! :frowning:
This may seem obvious but I am really lost.

Can someone post a simple script showing how to send an at command (for exemple ATI3) and get the wavecom answer ?

With many thanks



Thank you but now I want to catch the answer to the AT command in my code and for example print it.

Can you please tell me how to fill in the blank (…) in the following code ?
Sorry, I have problems to handle pointers :frowning:

ascii ADC_Response_Handler (adl_atResponse_t *paras)

	return TRUE;

void adl_main ( adl_InitType_e InitType ){

adl_atCmdCreate("at+cmgf=?\x1A",  ADL_AT_PORT_TYPE( ADL_AT_UART1, TRUE ),(adl_atRspHandler_t) ADC_Response_Handler, "+CMGF: ", NULL);


With many thanks !!!

The “answer” to the command is delivered to your response handler.

There is no need for you to print it yourself - just follow the instructions and the response will be passed through to the external application…

That is a really basic skill essential to any kind of ‘C’ programming - not at all specific to Open-AT.

Maybe you should spend some time getting up to speed with the basics of ‘C’ before adding the extra complexities of Open-AT…?