NMS GR303 and V5 Library Developer's Reference Manual (9000-62083-11): Function Reference
(Page 30 of 32 in this chapter) Version
NMS_V5StartInterface
Description
- Starts a provisioned interface.
Prototype
- NMS_V5_RESULT_T NMS_V5StartInterface
(NMS_GR303_INTERFACE_ID_T interfaceId)
- interfaceId Interface ID of a provisioned interface.
Return Values
Events
- None.
Details
- NMS_V5StartInterface enables a specified interface. Applications must call NMS_V5Initialize and NMS_V5ProvisionInterface before calling NMS_V5StartInterface.
- After an application calls NMS_V5StartInterface, the V5 library returns receive and transmit HDLC channel statistics reports by means of channel_callback functions and E1 link status reports by means of e1_status_callback functions.
See Also
- NMS_V5Initialize, NMS_V5ProvisionInterface, NMS_V5StopInterface
Example
void StartInterface( void )
{
NMS_V5_RESULT_T NmsResult;
DWORD InterfaceId;
printf("NMS_V5StartInterface:\n");
/* Get parameters */
promptdw_nodft("Enter InterfaceId", &InterfaceId);
NmsResult = NMS_V5StartInterface( InterfaceId );
printf ("NMS_V5StartInterface:
Result=%s\n",PRINT_RESULT(NmsResult));
}
(Page 30 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.