Specifications

HighWire MTP-2 - 1.2, September 4, 2002 sbe_dprIoctl 127
DPR_TEST_PATTERN. This command causes the TSI to transmit and receive test
patterns, which can be one of the predefined set of patterns included with the
TSI, or it can be user defined. Arg points to a IOCTLTSIMODE structure as
described in DPR_MODE except for:
uiTSIMode Must be TTSI_TESTPAT.
usRxTimeslot Ignored.
uiRxStream Ignored.
uiArg A value created using the macro SET_TEST_PATTERN (generate, start, style, pattern, rate) with
the following arguments:
generate Set to 1 for the TTSI to generate the test pattern, 0 to receive.
start Set to 1 to start generation or reception, 0 to stop.
style Set to one of the following:
TSI_TP_MARK (O.151) MARK (all 1's) (AIS red alarm)
TSI_TP_QRSS QRSS (2**20-1 zero suppression) (0.151)
TSI_TP_31 31 (2**5-1) PRBS
TSI_TP_63 63 (2**6-1) PRBS
TSI_TP_511 511 (2**9-1) PRBS (O.153)
TSI_TP_511_RVSD 511 (2**9-1) PRBS (reversed)
TSI_TP_2047 2047 (2**11-1) PRBS (O.152)
TSI_TP_2047_RVSD 2047 (2**11-1) PRBS (reversed)
TSI_TP_2_TO_15 2**15-1 PRBS (O.151) (noninverted)
TSI_TP_2_TO_20 2**20-1 PRBS (O.153)
TSI_TP_2_TO_20_RSVD 2**20-1 PRBS (reversed)
TSI_TP_2_TO_23 2**31-1 PRBS (V.33) (noninverted)
TSI_TP_ONE_TO_ONE 1:1 (alternating 1s and 0s)
TSI_TP_RSVD_1 Reserved
TSI_TP_RSVD_2 Reserved
TSI_TP_USER Fixed. User-defined byte
pattern The user defined test pattern byte. Ignored if the style if not TSI_TP_USER.
rate Set to one of the following:
TSI_TP_RATE_NONE Idle, no transmission or reception
TSI_TP_RATE_2Mb 2.048 Mbits/second
TSI_TP_RATE_4Mb 4.096 Mbits/second
TSI_TP_RATE_8Mb 8.192 Mbits/second