4 caller-id services, Caller-id services, M1x22_enable_caller_id – Maxim Integrated 73M1822/73M1922 Control Module User Manual

Page 43

Advertising
background image

UG_1x22_053

73M1822/73M1922 Control Module User Guide

Rev. 1.0

43

6.4 Caller-ID Services

The following service control how the modem manages Type 1 Caller-ID.

Table 4: Call ID Services

Name

Description

Descriptor

M1X22_ENABLE_CALLER_ID

Enable automatic Caller ID enabling mode.

Channel

M1X22_DISABLE_CALLER_ID

Disable automatic Caller ID enabling mode.

Channel

M1X22_ENTER_CID_MODE

Manually enter Caller ID mode.

Channel

M1X22_EXIT_CID_MODE

Manually exit Caller ID mode.

Channel


6.4.1 M1X22_ENABLE_CALLER_ID

Description

Enables the automatic Caller ID processing. By default the driver will start Caller ID mode with an on
hook transition. This can be enabled by upper layer application using this service.

#define M1X22_DISABLE_CALLER_ID _IOWR(0xA4, 0xF2, unsigned int)


Prototype

int ioctl (

int chan_fd,

int M1X22_ENABLE_CALLER_ID,

unsigned long param );


Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

M1X22_ENABLE_CALLER_ID

I/O control identifier for this operation.

unsigned long

param

N/A.


Return Values

Data Type

Description

int

Always returns 0.


Advertising