(Page 1 of 1 in this chapter) Version
|
Connection Mode
|
Description
|
|---|---|
|
CONNECT_MODE
|
Establishes a connection between the specified source stream/timeslot and destination stream/timeslot. TxSetOutput establishes a half-duplex connection in which data sampled from the specified source stream/timeslot is output on the specified destination stream timeslot only. TxSetOutputFdx sets up a full duplex connection. Data sampled from the specified source stream/timeslot is output on the specified destination stream timeslot and data sampled for the destination stream/timeslot's corresponding input is output on the specified source stream/timeslot's corresponding output.
|
|
DISABLE_MODE
|
Clears a connection by disabling (tri-stating) the output specified by the destination stream/timeslot (TxSetOutputFdx also disables the output side corresponding to the source stream/timeslot, effectively clearing both directions of a full duplex connection).
|
|
PATTERN_MODE
|
Forces a specified one-byte pattern to be output repeatedly on the destination stream/timeslot (source stream/timeslot is ignored).
|
Figure 2. Half-Duplex MVIP Connection
Figure 3. Full-Duplex MVIP Connection
Figure 4. Establishing Forward and Reverse Connections
Note: The configuration shown here requires two TX boards connected via the MVIP/H.100/H.110 bus and a T1/E1 loopback cable.
Figure 5. Testing TX ISA Switch Paths
Figure 6. Unsolicited Status Message Format
cpi_cptoh_s cpi_cptoh_l cpi_htocp_s cpi_htocp_l
typedef struct __dprh {
unsigned char srcch; /* Source channel number */
unsigned char srcbd; /* Source board number (1..8) */
unsigned char dstch; /* Destination channel number */
unsigned char dstbd; /* Destination board # (0 = PC) */
unsigned short len; /* Len of msg body (incl hdr) */
} DPRH;
typedef struct txT1E1UHdr
{
unsigned short statusCode; /* request codes from tdmuser.h */
unsigned char carrier; /* which T1/E1 line(A or B) */
unsigned char spare1; /* word align what follows */
} TxT1E1UHdr;
STATUS_CARRIER 0x80 /* Line status change */ CARRIER_ALARM 0x81 /* Change in alarm state */ PERFREP_15MIN 0x83 /* 15 minute performance report */ PERFREP_24HR 0x84 /* 24 hour performance report */
NET_T1A /* T1/E1 line A */ NET_T1B /* T1/E1 line B */
typedef struct txT1E1UStat
{
TxT1E1UHdr uhdr; /* unsolicited msg headr */
unsigned char alarmState; /* alarm status (CARRIER_ALARM only) */
unsigned char lastAlmState; /* Previous alarm status
* (CARRIER_ALARM only) */
unsigned char wordalign; /* filler for alignment */
unsigned char syncState; /* new synch state (STATUS_CARRIER only) */
} TxT1E1UStat;
YELLOW_ALARM 0x01 BLUE_ALARM 0x02 TS16SIG_ALARM 0x08 TS16AIS_ALARM 0x04 ISTANTMF_ALARM 0x10
CARRIER_SYNC 1 Carrier signal fully synchronized CARRIER_NOSYNC 2 Carrier signal detected but not synchronized CARRIER_LOST 3 No carrier signal detected
typedef struct txT1E1Perf15
{
TxT1E1UHdr uhdr; /* unsolicited msg header */
TxT1E1Stats currStats; /* current interval stats */
unsigned short pcvs; /* Accumulated path code violations */
unsigned short lcvs; /* Accumulated line code violations */
unsigned short slips; /* Accumulated controlled slips */
unsigned short ebits; /* Accumulated E-bit Errors (E1) */
} TxT1E1Perf15;
typedef struct txT1E1Perf24
{
TxT1E1UHdr uhdr; /* unsolicited msg header */
unsigned short validInts; /* number of intervals included */
TxT1E1Stats intStats[96]; /* last 96 15-min intervals */
TxT1E1Stats sumStats; /* 24-hour summary statistics */
unsigned short pcvs; /* Accumulated path code violations */
unsigned short lcvs; /* Accumulated line code violations */
unsigned short slips; /* Accumulated controlled slips */
unsigned short ebits; /* Accumulated E-bit Errors (E1) */
} TxT1E1Perf24;
(Page 1 of 1 in this chapter) Version