beautypg.com

M1966_enter_cid_mode – Maxim Integrated 73M1866B/73M1966B Reference Driver User Manual

Page 55

background image

UG_1x66B_015

73M1866B/73M1966B Reference Driver User Guide

Rev. 2.7

55

6.4.3 M1966_ENTER_CID_MODE

Description

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

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


Prototype

int ioctl (

int chan_fd,

int M1966_ENTER_CID_MODE,

unsigned long param );


Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

M1966_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 FXO channel is not off-hook.