M1x22_disable_caller_id, M1x22_enter_cid_mode – Maxim Integrated 73M1822/73M1922 Control Module User Manual

Page 44

Advertising
background image

73M1822/73M1922 Control Module User Guide

UG_1x22_053

44

Rev. 1.0

6.4.2 M1X22_DISABLE_CALLER_ID

Description

Disables the automatic Caller ID processing. By default the driver will start Caller ID mode with an on
hook transition. This can be disabled 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_DISABLE_CALLER_ID,

unsigned long param );


Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

M1X22_DISABLE_CALLER_ID I/O control identifier for this operation.

unsigned long

param

N/A.


Return Values

Data Type

Description

int

Always returns 0.

6.4.3 M1X22_ENTER_CID_MODE

Description

Manually enters Caller ID mode regardless of the state of the automatic CID service.

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


Prototype

int ioctl (

int chan_fd,

int M1X22_ENTER_CID_MODE,

unsigned long param );


Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

M1X22_ENTER_CID_MODE

I/O control identifier for this operation.

unsigned long

param

N/A.


Return Values

Data Type

Description

int

0 – Successful.
-1 – If modem channel is not on-hook.

Advertising