(Page 12 of 22 in this chapter) Version
TxT1E1CarrierStatus
Description
- Queries the current status of a T1 or E1 carrier.
Prototype
- short TxT1E1CarrierStatus (short handle,
unsigned char carrier,
unsigned char flags,
unsigned char pAlarmState,
unsigned char pLastAlmState,
unsigned char pSyncState,
TxT1E1Config pConfig,
unsigned short pCurrInterval,
TxT1E1Stats pCurrStats,
unsigned short pValidInterval,
TxT1E1Stats pSummaryStats,
unsigned short pPvcs,
unsigned short pLvcs,
unsigned short pSlips,
unsigned short pEbits)
- handle TX board handle.
- carrier Network interface. Must be either NET_T1A or NET_T1B.
- flags Status request options flags. The only available option is T1E1_RESET_COUNTS which resets statistics accumulators after returning values.
- pAlarmState Address where current alarm state is returned to caller.
- pLastAlmState Address where previous alarm state is returned to caller.
- pSyncState Address where current synchronization state is returned to caller.
- pConfig Pointer to configuration block for this carrier.
- pCurrInterval Number of seconds in current statistics interval returned to caller.
- pCurrStats Current 15-minute interval performance statistics returned to caller.
- pValidInterval Number of 15-minute intervals collected in summary statistics (will always be 96 except during first 24 hours after a boot, when it may be < 96).
- pSummaryStats Pointer to caller's memory where 24-hour summary statistics are returned.
- pPcvs Current value of path code violations counter (accumulated since last reset) returned to caller.
- pLcvs Current value of line code violations counter (accumulated since last reset) returned to caller.
- pSlips Current value of controlled slips counter (accumulated since last reset) returned to caller.
- pEbits Current value of E-Bit (E1) counter (accumulated since last reset) returned to caller.
Return Values
Details
- When called, TxT1E1CarrierStatus displays the configuration, state, and statistics for the specified T1/E1 carrier.
(Page 12 of 22 in this chapter) Version
tech_support@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights
reserved.