You are here: CSP Developer’s Guide: Overview > 7 Configuring and Using Resources on the DSP Series 2 Cards > Invoking Energy Detection

Invoking Energy Detection

Overview

You can invoke Energy Detection in the following two ways:

• Interactively, with the DSP Service Request message

• As part of Call Progress Analysis

Interactive Energy Detection

You can invoke Energy Detection interactively, with the DSP Service Request 0x00BD message. Use the data bytes of the message to configure the sensitivity level, reporting mode, scan duration, and completion timer.

You also set how detected energy is reported to the host in a Call Processing Event 0x002E message. There are two modes:

• Report Initial Energy Detection Only
The host receives a Call Processing Event of "Energy Result Report" with Data[0], indicating Energy Detected. Data[1] indicates the duration of the period of no energy. The DSP resource is then automatically released.

• Report All Energy Threshold Crossings
All of the following are reported: the initial energy detection, all subsequent changes, and the duration of the previous state’s ON or OFF interval.
When energy (A) is first detected, the host receives a Call Processing Event of "Energy Result Report" with Data[0] indicating "Energy Detected." Data[1] indicates the duration of the preceding period of no energy (D1).
When energy is no longer detected (B), the host receives a Call Processing Event message of "Energy Result Report" with Data[0] indicating "No Energy Detected." Data[1] indicates the duration of the preceding period of energy (D2).

Digital Signal Processor