This topic summarizes NMS GR303 library functions according to task. All functions except NMS_GR303PhSendData are synchronous.
Use the following functions to initialize and exit the NMS GR303 library and to set trace levels for the library:
|
Function |
Description |
|
Loads and initializes the NMS GR303 library. | |
|
Configures tracing for the NMS GR303 library. | |
|
Performs an internal NMS GR303 library clean-up procedure and exits the library. |
Use the following functions to create and destroy physical layer interfaces with the NMS GR303 library:
|
Function |
Description |
|
Configures (provisions) the HDLC channels for the specified interface. | |
|
Moves a provisioned HDLC channel to a new location or adds a new HDLC channel to a specified interface without re-provisioning the entire interface. | |
|
Destroys all connections for HDLC instances associated with a specified interface. |
Use the following functions to control physical layer interfaces with the NMS GR303 library:
|
Function |
Description |
|
Starts the physical layer (HDLC channels) on a provisioned interface. | |
|
Stops the physical layer (HDLC channels) of the provisioned interface. | |
|
Sends a LAPD frame to a specified HDLC channel. |
Use the following functions to retrieve and reset link status information and channel statistics:
|
Function |
Description |
|
Retrieves DS1 link status information for a specified DS1 link. | |
|
Resets DS1 link status information for a specified DS1 link. | |
|
Retrieves HDLC channel statistics for a specified HDLC channel on an active provisioned interface. | |
|
Resets the HDLC channel statistics collected for a specified HDLC channel provisioned on the active interface variant. |