PM5358
Application Programming Interface
Forcing LOS: suni4x622SOHForceLOS
When the enable flag is set, this function forces a loss of signal condition in the data stream. When the enable flag is not set, this function resumes normal processing.
Prototype
Inputs
Outputs Returns
INT4 suni4x622SOHForceLOS(sSUNI4x622_HNDL deviceHandle, UINT1 channel, UINT2 enable)
deviceHandle | : device handle (from suni4x622Add) |
channel | : channel number |
enable | : flag to start/stop a loss of signal condition |
None |
|
Success = SUNI4x622_SUCCESS
Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE
SUNI4x622_ERR_INVALID_DEV
SUNI4x622_ERR_INVALID_CHAN
Valid States | SUNI4x622_ACTIVE, SUNI4x622_INACTIVE |
Side Effects | None |
4.6Line Overhead (LOH)
The Line Overhead section provides functions to configure and monitor the line overhead on both the receive and transmit sides. Read / Write access is given to the APS bytes (K1 and K2) and most other overhead bytes. Signal failure and signal degrade can be monitored. For diagnostic purposes, errors can be introduced in the line overhead bytes. Additional functions are provided to automatically insert line RDI and line AIS.
Configuring SF Error Monitor: suni4x622LOHSFCfg
This function configures the Signal Failure BERM automatic monitoring of line bit error rate threshold events.
Prototype
Inputs
Outputs Returns
INT4 suni4x622LOHSFCfg(sSUNI4x622_HNDL deviceHandle, UINT1 channel, sSUNI4x622_CFG_SF *psfcfg)
deviceHandle | : device handle (from suni4x622Add) |
channel | : channel number |
psfcfg | : (pointer to) SF configuration block |
None |
|
Success = SUNI4x622_SUCCESS
Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE
SUNI4x622_ERR_INVALID_DEV
SUNI4x622_ERR_INVALID_CHAN
Proprietary and Confidential to | 64 |
Document ID: |
|