CONTROLINK86 SMSC, CONTROLINK86 Datasheet - Page 62

no-image

CONTROLINK86

Manufacturer Part Number
CONTROLINK86
Description
Development Software Embedded Networking Software
Manufacturer
SMSC
Datasheet

Specifications of CONTROLINK86

Tool Function
Compiler
Tool Type
Compiler
Processor Series
80x86
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
ControLink86 Realtime Networking Software
/****************************************************************************
void prompt(void)
/****************************************************************************
void chk_saps(void)
/****************************************************************************
void parse_indication(unsigned char pkt_type, unsigned char sapid)
* FUNCTION NAME: prompt
*
* DESCRIPTION : prompts operator to exit or continue
*
* RETURN VALUE : none
***************************************************************************/
* FUNCTION NAME: chk_saps
*
* DESCRIPTION : check incoming packet
*
* RETURN VALUE : none
***************************************************************************/
* FUNCTION NAME: parse_indication
*
* DESCRIPTION : check the control field of the incoming packet
*
* RETURN VALUE : none
***************************************************************************/
} /* end of main(..) */
{
char dummy1[10];
/* continue or exit */
printf("\nHit <E> to exit or <Return> to continue: ");
gets(&dummy1[0]);
printf("\n");
fflush(stdin);
if ((dummy1[0] == 'e')||(dummy1[0] == 'E'))
} /* end of prompt(..) */
{
USIGN8 status;
unsigned char i;
for(i = 0; i < numof_saps; i++)
} /* end of chk_saps(..) */
{
unsigned int j;
switch(pkt_type)
/* display configuration of all SAPs*/
else if((dummx == 'd') || (dummx == 'D'))
/* exit */
else if((dummx == 'e') || (dummx == 'E'))
dummx = 0x00;
}
{
exit(0);
}
{
status = llc1_indication((USIGN8)(i + 1));
parse_indication(status, i);
}
{
change_sap();
}
{
show_saps();
}
{
d20_exit();
exit(-1);
}
62

Related parts for CONTROLINK86