PM5358
Application Programming Interface
Outputs | None |
Returns | 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 |
Forcing Path AIS: suni4x622TPOHForceAIS
This function enables the insertion of the Path Alarm Indication Signal (PAIS) in the transmit stream. The synchronous payload envelope and the pointer bytes (H1 – H3) are set to all ones.
Prototype
Inputs
Outputs Returns
INT4 suni4x622TPOHForceAIS(sSUNI4x622_HNDL deviceHandle, UINT1 channel, UINT2 enable)
deviceHandle | : device handle (from suni4x622Add) |
channel | : channel number |
enable | : flag to start/stop path AIS insertion |
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.8Payload Processor
The Payload Processor performs both ATM and PPP processing.
Setting Payload configuration parameters: suni4x622PyldCfg
This function sets up the minimum and maximum packet length, cell header and mask for packet/cell payload configuration.
Prototype
Inputs
INT4 suni4x622PyldCfg(sSUNI4x622_HNDL deviceHandle, UINT1 channel, sSUNI4x622_CFG_PYLD *ppyldcfg)
deviceHandle | : device handle (from suni4x622Add) |
channel | : channel number |
Proprietary and Confidential to | 74 |
Document ID: |
|