I started programming Wavecom Modem with Open AT this morning.
I would send via serial link a string containing a null character.
I have done a very litte modification on “hello world sample modification” in order to send my string.
This is the code:
void HelloWorld_TimerHandler ( u8 ID )
// Hello World
TRACE (( 1, “Embedded : Hello World” ));
//adl_atSendResponse ( ADL_AT_UNS, “\r\nHello World \r\n” );
As you can see my string contains the null character. The modem is connected witha a PC and I use Hyper terminal for stamp the string sent bye modem. The application, finding the null character, cut my string.
I would ask you if there some other function for send string and if it is possible to specify the length of the string to be sent.
Thank you very much