Table of Contents Index NMS Glossary Previous Page Next Page (Page 13 of 32 in this chapter) Version


NMS_GR303StartInterface

Description

Starts the physical layer (HDLC channels) on a provisioned interface.

Prototype

NMS_GR303_RESULT_T NMS_GR303StartInterface
(NMS_GR303_INTERFACE_ID_T interfaceId)

interfaceId Interface ID of a provisioned interface.

Return Values

Events

Details

This function starts a specified interface so that applications can use the interface. Applications must invoke NMS_GR303Initialize and NMS_GR303ProvisionInterface prior to calling NMS_V5StartInterface.

When the HDLC channels on the interface are ready to send or receive frames, the NMS GR303 library invokes an application-defined callback (channel_callback) to send transmit and receive reports to the application.

See Also

NMS_GR303Initialize, NMS_GR303ProvisionInterface, NMS_GR303StopInterface

Example

void  StartInterface( void )
{
 NMS_GR303_RESULT_T     NmsResult;
 DWORD     InterfaceId;
    
 printf("NMS_GR303StartInterface:\n");    
    
 /* Get parameters */
 promptdw_nodft("Enter interfaceId", &InterfaceId);

 NmsResult = NMS_GR303StartInterface( InterfaceId );

   printf ("NMS_GR303StartInterface:
Result=%s\n",PRINT_RESULT(NmsResult));
}


Table of Contents Index NMS Glossary Previous Page Next Page (Page 13 of 32 in this chapter) Version


Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2001, NMS Communications Corporation. All rights reserved.