CONTROLINK86 SMSC, CONTROLINK86 Datasheet - Page 26
CONTROLINK86
Manufacturer Part Number
CONTROLINK86
Description
Development Software Embedded Networking Software
Manufacturer
SMSC
Datasheet
1.CONTROLINK86.pdf
(75 pages)
Specifications of CONTROLINK86
Tool Function
Compiler
Tool Type
Compiler
Processor Series
80x86
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
ControLink86 Realtime Networking Software
Example:
3.6.1.2STATION COMMAND/RESPONSE PROCESSING
The following station command/responses are used for internal servicing. If the station SAP (0) receives a
null (0) destination SAP value then it responds accordingly. These messages are used for duplicate
address checking which is done in hardware/software by the COM2002x chip. These functions are
supported to allow for non-COM2002x devices to check for duplicate addresses.
Note these services are automatically performed by the LLC software and are invisible to the system.
3.6.1.3DISABLE STATION/NODE
The disable station request terminates all SAPs and shuts down the station and node hardware. The
node is then removed from the network. The following occurs when a Disable Request is sent:
Example:
3.6.1.4STATION/NODE STATUS
Processing this service is based on the value of the llssap:
Example:
…
/* startup the station, 0 is station SAP */
event = ENABLE_WITH_DUP_ADDR_CHECK;
/* initialize LLC driver */
status = llc1_request(0,0,event,&lsap[0]);
/* check to see if the initialization is completed */
if status = =E_UP
else if (status ==E-DOWN)
else
RECEIVE_NULL_DSAP_XID_C
RECEIVE_NULL_DSAP_XID_R_CNT_0
RECEIVE_NULL_DSAP_XID_R_CNT_1
RECEIVE_NULL_DSAP_TEST_C
1. Host issues a DISABLE_REQUEST command to it’s stations Logical Link Layer.
2. Global variable: llc1_station_state is set to DOWN (which prevents any request processing) and
/* bring down the station */
event = DISABLE_REQUEST;
status = llc1_request(0,0,event,&lsap[0]);
•
•
…
/* read status of sap */
printf(“Station/LSAP Status = “);
event = REPORT_STATUS;
status = llc1_request(1,0,event,&lsap[i]);
the Network Hardware (transmitter and receiver) is disabled.
if llssap = 0 Then the station state is returned
if llssap > 0 Then the state of a SAP of GSAP is returned
{
/* ok */
}
{
/* error initializing */
}
{
/* invalid response */
}
26