Serial Line
static void EVBconnect()
{
int i;
Err err = 0;
SerSettingsType settings;
FormPtr frmP;
/* already connected? */
if (serRefNum != 0) {
frmP = FrmInitForm(ConnectForm);
FrmDoDialog(frmP);
FrmDeleteForm(frmP);
return;
}
/* initialize variables */
gotFramingByte = FALSE;
numBytesRcvd = 0;
for (i=0; i < SerRcvQueueSize; i++)
serRcvQueue[i] = '\0';
. . .
Previous slide
Next slide
Back to first slide
View graphic version