CONTROLINK86 SMSC, CONTROLINK86 Datasheet - Page 22

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
3.5.2llc_1service()
R
R
R
R
R
3.5.3llc1_indication()
R
R
R
R
OUTINE
OUTINE
OUTINE
OUTINE
OUTINE
OUTINE
OUTINE
OUTINE
OUTINE
The service routine checks for incoming messages and routes the messages to the correct
SAP. If the SAP is null (0=station SAP) then the service routine provides complete servicing
of the message and the user never sees the message. If the message is for this station and
the local SAP is on-line then the message is copied into the local SAP’s buffer and the SAP
is notified through the indication routine. This routine also provides auto-response of ID, and
TEST. The user never sees the servicing of these messages. This routine should be called
prior to invoking the llc1_indication() routine. llc1_service() affects all activated SAPs in the
system by updating their structures.
Note: llc1_service() calls an auxiliary routine - llc1_service_packet()
void llc1_service(void);
none.
none.
/* call the service routine during idle time to see if anything for me */
llc1_service(void);
The indication routine notifies the user that a message has come to that individual SAP’s
attention (that a packet has been received). It retrieves the status of the SAP from the
internal array called LLC1_SAP_Indication[ ] The indication routine parameter is the logical
SAP number. The llc1_indication() routine returns the command or response type of the
received packet.
After returning the event for the SAP, the llc1_indication() resets the indication field to
NO_INDICATION, making it ready for the new service.
USIGN8 llc1_indication (USIGN8 lsap);
D
P
P
R
E
D
P
P
R
Parameter
lsap
ROTOTYPE
ARAMETERS
XAMPLE
ROTOTYPE
ARAMETERS
ESCRIPTION
ETURN
ESCRIPTION
ETURN
V
V
:
ALUES
ALUES
:
:
:
:
:
:
:
:
Description
logical source SAP,
range of values 1-63 (1-15 default)
22

Related parts for CONTROLINK86