Table of Contents Index NMS Glossary Previous Page Next Page (Page 10 of 20 in this chapter) Version


cdiStartSignalDetector

Description

Starts on-board monitoring of the signaling bits.

Prototype

DWORD cdiStartSignalDetector (CTAHD ctahd,
CDI_SIGNALDETECTOR_PARMS *parms )

ctahd CTA context handle.

parms Pointer to structure specifying signal detection parameters:


typedef struct
{
DWORD size;
DWORD timeon;
DWORD timeoff;
DWORD min_flash_hook;
DWORD max_flash_hook;
} CDI_SIGNALDETECTOR_PARMS

Return Values

Events

Details

Once battery is enabled, the DSP can monitor signaling bits. Use this function to start on-board monitoring of the A signaling bit.

The function operates differently depending upon whether the DSP is running an enhanced mode or not. When operating in enhanced mode, the DSP qualifies bit changes according to the parameters in the CDI_SIGNALDETECTOR_PARMS structure:
If bits indicate state change from:

This event is presented to the application:

Qualified on-hook to off-hook (more than timeon ms).

CDIEVN_OFF_HOOK

All off-hook to on-hook transitions less than min_flash_hook are ignored.

No events.

Qualified off-hook to on-hook (more than min_flash_hook and remains on for less than max_flash_hook).

CDIEVN_FLASH_HOOK

Qualified off-hook to on-hook (more than max_flash_hook).

CDIEVN_ON_HOOK

When operating with enhanced mode disabled, only low-level supervisory signaling events CDIEVN_A_CHANGE_ON and CDIEVN_A_CHANGE_OFF are presented. Flash-hook detection is disabled.

Note: Make sure that you issue cdiEnableBattery before you start cdiStartSignalDetector.

For more information about signal detection, refer to Section 3.4.

See Also

cdiStopSignalDetector



Table of Contents Index NMS Glossary Previous Page Next Page (Page 10 of 20 in this chapter) Version


Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.