NCM_GetThirdPartyDeviceBusCaps( )
Description | Cautions | Example | Error Codes
Description
The NCM_GetThirdPartyDeviceBusCaps( ) function returns the TDM bus capabilities of a third party device. The TDM bus capabilities of a third party device is defined when the NCM_AddThirdPartyDevice( ) function is called to add the device to the system.
The function parameters are defined as follows:
pDeviceName pointer to the data structure containing the name of a third party device. The device name must be the same name you used to add the third party device to the system configuration with the NCM_AddThirdPartyDevice( ) function pTDMBusCapabilities pointer to the NCM_TDM_BUSCAPS data structure that holds the devices TDM bus capabilities Cautions
You cannot set the pDeviceName parameter to NULL.
Example
#include "NCMApi.h" NCM_TDM_BUSCAPS busCaps; NCMRetCode nmcRc=NCM_SUCCESS; NCMDevice deviceName; Char DeviceString[] = "ThirdPartyDevice-XYZ#1"; deviceName.name = (char *) DeviceString; deviceName.next = NULL; //call NCM API function: ncmRc = NCM_GetThirdPartyDeviceBusCaps(deviceName, &busCaps); if (ncmRc !=NCM_SUCCESS) { /*process error*/ } else { /*process success*/ } ...Error Codes
Click here to contact Telecom Support Resources
Copyright 2003, Intel Corporation