6100 BSC Programming Manual
Writing Applications that Use 6100 BSC
FETCH STATISTICS Request and Response
The FETCH STATISTICS request retrieves a block of statistics
pertaining to line quality, counts of various kinds of frames
and errors. You can make this request at any time, without
affecting the line state; it is most useful during error
handling. THIS REQUEST PROVIDES MUCH MORE INFORMATION THAN THE
CMI STATUS COMMAND.
The reset option is useful for measuring occurrences over a
period of time; you reset statistics at the beginning of
the period and observe them at the end. If you never reset
the statistics, they wrap around until the line is next
downloaded.
Notice that although the value of Text In is ignored, the
read count in the WRITEREAD request must be large enough
to accommodate the block.
The request buffer format is:
Function := 5
Modifier := 0 to retrieve the statistics block
1 to retrieve the block and reset the
counters to 0
Request ID := A unique value from 1 to 32767,
application-determined
Text Out := Doesn't matter
Text In := Doesn't matter
Text := None
3-39