beautypg.com

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

Page 52

background image

73M1866B/73M1966B Reference Driver User Guide

UG_1x66B_015

52

Rev. 2.7

6.3.9 M1966_SEND_WETTING_PULSE

Description

Performs hook flashing on the FXO interface for the duration set by param.

#define M1966_FLSH_SET _IOWR(0xA4,0xBC,unsigned int)

Prototype

int ioctl (

int chan_fd,

int M1966_SEND_WETTING_PULSE,

unsigned long param );


Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

M1966_SEND_WETTING_PULSE I/O control identifier for this operation.

unsigned long

param

Integer representing the desired wetting pulse
duration. Range from 1 to 1000 ms. Out of
range behavior is undefined.


Return Values

Data Type

Description

int

0 – Successful.
-1 – FXO channel is not off-hook.