CONTROLINK86 SMSC, CONTROLINK86 Datasheet - Page 68

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 display_netmap(void)
* FUNCTION NAME: display_netmap
*
* DESCRIPTION : displays formatted output of the active nodes
*
* RETURN VALUE : none
***************************************************************************/
else
/* link LLC structure to SAP buffers */
for (i = 0; i < numof_saps; i++)
/* initialize LLC driver */
sap_status = llc1_request(0, 0, ENABLE_WITHOUT_DUP_ADDR_CHECK, &SAP[0]);
if(sap_status != E_OK)
/* activate SAPS */
for(i = 0; i < numof_saps; i++)
} /* end of init_sap(..) */
{
int i;
int j;
char net_status;
printf("\nGetting the network map - wait!\n");
net_status = d20_network_map(netmap);
/* display network map */
printf("\nNetwork Map:\n\n");
for(i = 0; i < 32; i ++)
{
exit(-1);
}
{
printf("\nInvalid selection - exiting!\n");
exit(-1);
}
{
SAP[i].msgptr = &SAPBUF[i][0];
}
{
printf("ERROR - going online!\n");
}
{
sap_status = llc1_request((USIGN8)(i + 1), 0, SAP_ACTIVATION_REQUEST, &SAP[i]);
if(sap_status != E_OK)
else
}
{
for(j = 0; j < 8; j++)
{
printf("ERROR - activating SAP %d\n", (i + 1));
}
{
printf("SAP %d is on line. SAP %d data: { ", (i + 1), (i + 1));
for(j = 0; j < sizeof_sb[i]; j++)
printf("}\n");
}
{
{
if((j < 3) || (j > (sizeof_sb[i] - 3)))
else if(j < 4)
}
{
printf("%02x ", SAPBUF[i][j]);
}
{
printf("... ");
}
68

Related parts for CONTROLINK86