void main () { int j,k,l,m; //char g_strlcdline[15]="ATD0800800800"; char name [6]; char temp[6]; char s1[10],s2[10]; unsigned char crlf[3]; crlf[0] = 0x0d ; crlf[1] = 0x0a ; crlf[2] = 0x00 ; serial_init(); send_serial("ATD0800800800"); send_serial(crlf);
Modem chips frequently have different default control strings and still claim to be "Hayes" compatible. Suggest a detailed review of the modem chip set in question. A typical high performance modem is the SiLabs CP2404. You can download the data sheet and manual of operations. Bradford