SLTA-10 Adapter User’s Guide 87
management messages addressed to other nodes). For these two commands, a buffer request
protocol is used to ensure that the SLTA-10 Adapter has a free application buffer for the data. The
network driver must first request an output buffer before sending the interface buffer. The
network driver must hold the buffers in an output queue until the SLTA-10 Adapter is ready to
receive them. The network driver takes the SLTA-10 Adapter through 3 states to request a buffer
and send the interface buffer. Figure 34 summarizes the downlink state transitions.
Flush
Node
Reset
Normal
Out Queue
Requested
send niACK
Receive
niFLUSH_CANCEL
Out Queue
Ack'd
send niNACK
Receive niCOMM
or niNETMGMT?
Receive niCOMM
or niNETMGMT
message?
Output
Buffer
Available?
Output
Buffer not
Available?
Note: niNETMGMT commands are allowed in the Flush state.
Figure 34 SLTA-10 Adapter Downlink Flow Control States
Following is the sequence of events for transferring an
niCOMM
or
niNETMGMT
command downlink
to the SLTA-10 Adapter:
1
The SLTA-10 Adapter is initially in the
NORMAL
state.
2
The network driver requests an output buffer by sending a link-layer header (see figures 31
and 32) with a
niCOMM
or
niNETMGMT
command and the appropriate queue value (
niTQ
,
niTQ_P
,
niNTQ
,
niNTQ_P
). The data portion of the interface buffer is not sent with the buffer
request. This puts the SLTA-10 Adapter in the
OUTPUT QUEUE REQUESTED
state.
3
If an output buffer is not available, the SLTA-10 Adapter responds with a
niNACK
(0xC1)
command. The SLTA-10 Adapter returns to the
NORMAL
state, and the driver starts again at
step 2.
4
When an output buffer is available, the SLTA-10 Adapter responds with a
niACK
(0xC0)
command. The SLTA-10 Adapter is now in the
OUTPUT QUEUE ACKNOWLEDGED
state. While
in this state, the network driver can only transfer downlink LonTalk messages, uplink source
quench commands (
niPUPXOFF
), uplink source resume commands (
niPUPXON
), or reset
commands (
niRESET
) since the SLTA-10 Adapter is waiting for a message in this state. All