Tandberg Data
Receive Diagnostic Results
21-3
Tandberg SLR Product Line SCSI Functional Specifications
21.3. Results From the SEND DIAGNOSTICS
Command
When the Page Code is set to 00h, the analysis data
returned will be from the last SEND DIAGNOSTICS command.
The analysis data returned by the RECEIVE DIAGNOSTIC
RESULTS command consists of one or more pages. The first
(and maybe the only) page is a header page. The header
page may be followed by zero or more diagnostic pages.
The number of diagnostic pages available depends on the
number of sub-tests that has failed when the diagnostic
activity consisted of a predefined sequence of
selftests.
When a diagnostic activity has ended without any error
the header page will be the only page returned. In this
case the header page holds information that indicates
that the diagnostic activity did not detect any
problems.
When a diagnostic activity has detected one or more
errors the header page is followed by one or more
diagnostic pages. The header page will in this case hold
a diagnosis of the error detected. The diagnostic
page(s) themselves then follow the header page.
21.3.1. The Header Page
BYTE
BIT 7
6
5
4
3
2
1
0
00
Page Code
01
RESERVED
02
Page Length
03
04
RESERVED
05
Sense Key
06
Additional Sense Code
07
Additional Sense Code Qualifier
08
ERAC
09
FOR INTERNAL USE
10
Number of Result Bytes
11
12
FOR INTERNAL USE
14
Table 21-2: The Header Page
Page Code
This field indicates the page code for the last run
diagnostic activity. The page code will be in the range
90h to 99h. For a list of supported page codes see
section 21.3.3.
Supported Page Codes. The page
code of a Header Page is determined by how the
diagnostic activity was initiated.