(Page 6 of 22 in this chapter) Version
TxQuerySwitchCaps
Description
- Returns the capabilities of the MVIP/H.100/H.110 adapter switch fabric and the number of T1/E1 interfaces and channels available on the T1/E1 adapter.
Prototype
- short TxQuerySwitchCaps (short handle,
int size,
int revision,
unsigned short domain,
unsigned short routing,
unsigned short blocking,
unsigned short networks,
unsigned short channels)
- handle TX board number.
- size Not used but retained for compatibility with MVIP-90 specification.
- revision Revision number of the adapter interface software
- domain Which streams are connected to switch fabric. See MVIP-90/MVIP-95 specifications for meaning of bits.
- routing Half-duplex routing capabilities of switch fabric. See MVIP-90/MVIP-95 specifications for meaning of bits.
- blocking Possible blocking conditions in switch fabric. See MVIP-90/MVIP-95 specifications for meaning of bits.
- networks Number of T1/E1 interfaces on the TX board. Must be either 0 or 2.
- channels Pointer to array of 2 shorts where the number of channel time slots available on each network interface (i.e., channel[0] => T1/E1 A, channel[1] => T1/E1 B) is returned; value returned in networks parameter determines how many of the values returned here are valid (0, 1, or 2).
Return Values
Details:
- See MVIP-90 Standard Release 1.1 for a detailed description of the domain, routing, and blocking capability bit masks returned by this request.
- If the value zero is returned in the networks parameter, then there are no T1/E1 adapters on this board; if non-zero then the value(s) returned in the channels parameter may be used to determine if the adapter is a T1 adapter (24) or an E1 adapter (32).
(Page 6 of 22 in this chapter) Version
tech_support@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights
reserved.