CONTROLINK86 SMSC, CONTROLINK86 Datasheet - Page 20

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
The parameters from LLC_MSG for each SAP are passed to LLC1 routines. The group variable indicates
that the destination SAP is a group address. A packet destined for a Group SAP address is transmitted
as an ARCNET broadcast packet. All nodes that have the broadcast receive option enabled will receive
the packet. Each node, upon receiving the broadcast packet, then checks the DSAP address against a
table of group membership. If the DSAP does not match any of the nodes memberships than the packet
is discarded and the host is never notified. If a positive match is found the host is notified.
The dstation is required to be filled in by the user to supply a physical destination node or station. A
loopback feature is supported by the LLC1 to allow the user to send messages to his own node. If the
dstation value and the station value (after initialization) match, then the command is looped back to the
receive buffer in software.
The msgptr and msbcount and lsbcount must be filled in by the user for data messages. The ID
command fills in its own data. The UI and TEST buffer are user-definable and the only ControLink
services that require a byte count. The count value represents the size of the message pointed to by
msgptr.
The control field is filled in by the LLC1 software and depends on the event/function selected by the user.
3.4.2ADDITIONAL DATA STRUCTURES
The information about the status of each SAP is kept in two arrays:
USIGN8 is defined as unsigned char (unsigned 8-bit variable). LLC1_SAP_State[ ] is an array that
holds a value that describes whether a SAP is activated (code: E_UP) or deactivated (code: E_DOWN).
For valid codes see section 5.2.
LLC1_SAP_Indication[ ] holds a value that describes the type of service/request that is pending for a
particular SAP. Global SAPS have their own arrays:
3.5LLC1 FUNCTIONS
The SMSC LLC routines provide all the Class 1 services. The user of these routines must call each of the
routines with the proper parameters. Details regarding the services provided by LLC Class 1 services is
provided in Section 3.6.
3.5.1llc1_request()
R
R
OUTINE
OUTINE
USIGN8 LLC1_SAP_State [MAX_SAPS];
USIGN8 LLC1_SAP_Indication [MAX_SAPS];
USIGN8 LLC1_GSAP_Status[MAX_SAPS]
USIGN8 LLC1_GSAP_Indication[MAX_SAPS]
The data request routine is used for all requests to the stations Logical Link Layer and SAPs.
The logical source SAP (lssap), logical destination SAP (ldsap), function or event, and LLC
structure are passed to the llc1_request() routine.
For example llc1_request() can be used for sending data to another station.
USIGN8 llc1_request (USIGN8 lssap, USIGN8 ldsap, USIGN8 event, struct LLC_MSG *request);
D
P
ROTOTYPE
ESCRIPTION
:
:
20

Related parts for CONTROLINK86