beautypg.com

M1966_cprog_monitor, E m1966_cprog_monitor, Section 6.9.3 – Maxim Integrated 73M1866B/73M1966B Reference Driver User Manual

Page 69

background image

UG_1x66B_015

73M1866B/73M1966B Reference Driver User Guide

Rev. 2.7

69

6.9.3 M1966_CPROG_MONITOR

Description

The Call Progress Monitor monitors activities on the line. The audio output contains both transmit and
receive data with a configurable level individually can be set using this IOCTL.

#define M1966_CPROG_MONITOR _IOWR(0xA4,0xF0,unsigned int)

Prototype

int ioctl (

int chan_fd,

int M1966_CPROG_MONITOR,

unsigned long param );


Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

M1966_CPROG_MONITOR

I/O control identifier for this operation.

unsigned long

Param

Pointer to structure x


Return Values

Data Type

Description

int

-EFAULT – Failed to perform call progress monitor.
0 – Successful.