Specifications

38
Interfaces: in-band CLI
I/O details
The buffer sent to the Services LUN during the
data out phase of a
Write Buffe
r command must
be
• ASCII data
maximum 80 bytes length
terminated with either a carriage return
character (0x0D), line feed character (0x0A) or
NULL character (0x00)
Characters following the first carriage return
character, line feed character or NULL character
are ignored.
The buffer retrieved from the Services LUN
during the data-in phase of a Read Buffer
command will be
• ASCII data
maximum 8 KBytes (8192 bytes) in length
terminated with a NULL character (0x00)
Characters following the NULL character are
meaningless.
A
CHECK_CONDITION, INVALID_PARAMETER
_IN_CDB
will be returned to an initiator that
specifies an incorrect Buffer ID, Mode, Length or
Buffer Offset. The Mode is always Data (0x2), the
Buffer ID is always 0 and the Buffer Offset is
always 0.
Exhibit 2.4-1 The SCSI command process: reserve the FibreBridge, send command, release the bridge.
Initiator/Host FibreBridge
Goal
: reserve the FibreBridge for an in-band CLI command
SCSI cdb: Reserve ServicesLUN =>
<= SCSI success
Goal
: retrieve the FibreBridge temperature via in-band CLI
1. Issue the command:
SCSI cdb: WriteBuffer ServicesLUN, bid=0, “get
SerialPortBaudRate\n”
=> places “SerialPortBaudRate=9600\n\r” into
the read-data buffer
<= SCSI success
2. Retrieve the results:
SCSI cdb: ReadBuffer ServicesLUN, bid=0 =>
<= Returns “SerialPortBaudRate=9600\n\r”
from the read-data buffer
<= SCSI success
Goal
: release the FibreBridge for other in-band users
SCSI cdb: Release ServicesLUN =>
<= SCSI success