AN93
Rev. 1.4
277
// 0,,,, modem transmits SYN if underrun during transparent mode
// ,0... modem tx's flags after underrun after flag happens in framed sub mode
// ,,0,, modem tx's abort on underrun in frame middle during framed sub mode
// ,,,,1 enables CRC generation and checking
// "AT:U87,050A Synch access mode config
// 0x0400 bit 10 Minimal transparency <EM><T1 thru T4> during Rx
// 0x0100 bit 8 Upon connection immediately enter framed sub mode
// 0x000A bits 3:0 Wait for 10 bytes before starting xmission.
cpInputRd = SendAndWaitFor("AT:U4D&BFF7\r", cpInputRd, "OK\r\n", 300);
cpInputRd = SendAndWaitFor("AT:U70|8000\r", cpInputRd, "OK\r\n", 300);
cpInputRd = SendAndWaitFor("AT&D2\r", cpInputRd, "OK\r\n", 300);
cpInputRd = SendAndWaitFor("AT+IFC=0,2\r", cpInputRd, "OK\r\n", 300);
cpInputRd = SendAndWaitFor("AT+ITF=0383,0128\r", cpInputRd, "OK\r\n", 300);
cpInputRd = SendAndWaitFor("AT:U87,050A\r", cpInputRd, "OK\r\n", 300);
// \N0 wire mode, // +FCLASS=1 HDLC
cpInputRd = SendAndWaitFor("AT\N0\r", cpInputRd, "OK\r\n", 300);
cpInputRd = SendAndWaitFor("AT+ES=6,,8\r", cpInputRd, "OK\r\n", 300);
cpInputRd = SendAndWaitFor("AT+ESA=0,0,0,,1\r", cpInputRd, "OK\r\n", 300);
cpInputRd = SendAndWaitFor("AT:U1D4|4000\r", cpInputRd, "OK\r\n", 300);
cpInputRd = SendAndWaitFor("AT:UAA,8004\r", cpInputRd, "OK\r\n", 300);
// U7A[0]=1(Fast Connect), U7A[3]=1(V29FC), U7A[13]=1 (RTS half duplex)
// UAA=4 Enables V29FC rude disconnect with &D2
// UD3=B4 Sets V29FC answer-tone duration threshold=180ms
cpInputRd = SendAndWaitFor("AT:U7A|2009\r", cpInputRd, "OK\r\n", 300);
cpInputRd = SendAndWaitFor("AT:UAA,4\r", cpInputRd, "OK\r\n", 300);
cpInputRd = SendAndWaitFor("AT:UD3,B4\r", cpInputRd, "OK\r\n", 300);
if ((hpTelNoFile = fopen(fnameTelno, "rb")) == NULL)
{
fprintf(stderr, "The Tel. Number File is missing.\n");
exit(1);
}
char caOutGoing[256];
bool bValidLine = GetFileTextLine(caOutGoing);
printf("Phone Number: %s\n",caOutGoing);
if(bValidLine)
cpInputRd = SendAndWaitFor(caOutGoing, cpInputRd, "CONNECT\r\n", 120000);
else
{
fprintf(stderr, "The Tel. Number File is incorrect.\n");
exit(1);
}
int iLength;
iCharCount = 0; //reset the total chars to 0 for data mode.
Содержание Si2404
Страница 2: ...AN93 2 Rev 1 4 ...
Страница 27: ...AN93 Rev 1 4 27 Figure 7 Parallel Interface Read Timing Figure 8 Parallel Interface Write Timing ...
Страница 200: ...AN93 200 Rev 1 4 Figure 31 TAM Handset and Speakerphone Voice Paths ...
Страница 201: ...AN93 Rev 1 4 201 Figure 32 Si3000 Codec Gain and Signal Selection Options ...
Страница 290: ...AN93 290 Rev 1 4 Figure 57 256 Band Spectral Display Figure 58 2048 Band Spectral Display ...
Страница 305: ...AN93 Rev 1 4 305 Figure 76 Parallel or SPI Port Interrupt Service Flowchart ...