




Connecting Devices using Individual SCbus Routing Functions
When connecting devices using individual SCbus routing functions, the general procedure is:
- Get the SC_TSINFO structure that contains the number of the SCbus time slot connected to the transmit channel of the first device by issuing a xx_getxmitslot( ) call for the first device (xx = the prefix that identifies the type of device: analog, digital, fax, voice, or MSI).
- Connect the listen channel of the second device to the transmit channel of the first device by issuing a xx_listen( ) call for the second device. This function uses as input the information contained in the SC_TSINFO structure returned by the xx_getxmitslot( ) call for the first device (step 1).
- Get the SC_TSINFO structure that contains the number of the SCbus time slot connected to the transmit channel of the second device; by issuing a xx_getxmitslot( ) call for the second device.
- Connect the listen channel of the first device to the transmit channel of the second device by issuing a xx_listen( ) call for the first device. This function uses as input the information contained in the SC_TSINFO structure returned by the xx_getxmitslot( ) call for the second device (step 3).
When these functions return, full duplex communications between the devices will be established.
To disconnect devices, the listen channel of each device must be disconnected from the SCbus by issuing a xx_unlisten( ) call for each device. When the function returns, the listen channel of the device will be disconnected from the SCbus and no data will be received by the device.





Click here to contact Dialogic Customer Engineering
Copyright 2001, Dialogic Corporation
All rights reserved
This page generated December, 2001