User guide

August 2001 209
Connecting Boards in an H.100 bus
Connections Through the CT bus
See Switching Calls through the MVIP-90 Bus on page 165 for a
description of connections that you can establish through a
CT bus, such as drop and insert and broadcast connections. The
concepts described in that section apply to switching calls using
the H.100 bus. However, in H.100 there is no need to worry
about stream direction.
Example 14 shows how to use the
MVIP95_CMD_SET_OUTPUT function to make a full-duplex
connection with the first line resource on a Vantage PCI and the
first and second CT_bus stream.
Example 14. MVIP95_CMD_SET_OUTPUT Sample Code
#include brktddm.h
/* The following setup allows 2 connections to be made with
one device driver request */
typedef struct
{
struct MVIP95_SET_OUTPUT_PARMS Parms;
struct MVIP95_OUTDESC AdditionalOutputs[1];
} SET_OUTPUT_PARMS;
int main(int argc, char **argv)
{
BRKT_HANDLE BoardHandle;
BOOLEAN IoctlResult;
BRKT_SIZE_T BytesReturned;
struct MVIP95_OUTDESC *pOutput;
struct SET_OUTPUT_PARMS Connect;
BoardHandle = BrktOpenDevice(BRKT_DEVICE_RDSP_BOARD, 0);
if (BoardHandle == BRKT_INVALID_HANDLE_VALUE)
return;