SI2457-D-FS Silicon Laboratories Inc, SI2457-D-FS Datasheet - Page 269

no-image

SI2457-D-FS

Manufacturer Part Number
SI2457-D-FS
Description
IC ISOMODEM SYSTEM-SIDE 16SOIC
Manufacturer
Silicon Laboratories Inc
Datasheets

Specifications of SI2457-D-FS

Lead Free Status / Rohs Status
Lead free / RoHS Compliant
}
void Delay(long iMs)
{
}
void LoadAndSendPatch(void)
{
}
// Returns FALSE when at end of file
// Stops after first LF.
bool GetFileTextLine(char *cpIn)
{
return;
clock_t wait;
// covert ms's to clock_t by mutiplying by CLOCKS_PER_SEC/1000
wait = (clock_t)(iMs*CLOCKS_PER_SEC)/1000;
clock_t goal;
goal = wait + clock();
while( goal > clock() )
char
cpInputRd_temp = SendAndWaitFor("AT&T7\r", cpInputRd, "OK\r\n", 300); // Reset the modem
printf ("Current %s \n", cpInputRd); cpInputRd=cpInputRd_temp;
printf ("Loading patch:%s...\n", fnamePatch);
if ((hpPatchFile = fopen(fnamePatch, "rb")) == NULL)
AssertRTS(true );
cpInputRd=SendAndWaitFor("ATE1\r", cpInputRd, "OK\r\n", 300);
bool bValidLine = true;
while(bValidLine)
cpInputRd
cpInputRd_temp = SendAndWaitFor("AT&T6\r", cpInputRd, "OK\r\n", 300);
printf ("Finish Loading, %s \n", cpInputRd); cpInputRd=cpInputRd_temp;
fclose(hpPatchFile);
*cpIn = 0;
while(!feof(hpPatchFile))
;
{
fprintf(stderr, "The Patch File is missing.\n");
exit(1);
}
{
bValidLine = GetFileTextLine(caOutGoing);
if(bValidLine)
}
caOutGoing[256];
cpInputRd
= SendAndWaitFor("ATE1\r", cpInputRd, "OK\r\n", 300);
char cpInChar[8]; cpInChar[1] = 0;
= SendAndWaitFor(caOutGoing, cpInputRd, "OK\r\n", 3000);
Rev. 1.3
AN93
269

Related parts for SI2457-D-FS