3 m1x66_getpulsedialparam, M1x66_getpulsedialparam – Maxim Integrated 73M1866B/73M1966B FXOAPI User Manual

Page 21

Advertising
background image

UG_1x66B_046

73M1866B/73M1966B FXOAPI User Guide

Rev. 2.1

21

M1x66_RET M1x66_SetPulseDialParam (M1x66_HANDLE chanHandle,
int onHookDuration,
int offHookDuration,
int interDigitDuration);

Parameters

Data Type

Name

Description

M1x66_HANDLE

chanHandle

Channel handle from FXO open channel.

int

onHookDuration

On-hook duration.

int

offHookDuration

Off-hook duration.

int

interDigitDuration

Inter-digits duration.


Return Values

Data Type

Description

M1x66_RET

M1x66_SUCCESS – Successful.
M1x66_FAILED – Failure.


2.6.3 M1x66_GetPulseDialParam

Description

This API reads the pulse dial timing parameters. If reading is successful the pulse dial timing parameters
will be returned in those three passed in parameters.

Prototype

M1x66_RET M1x66_GetPulseDialParam (M1x66_HANDLE chanHandle,
int *pOnHookDuration,
int *pOffHookDuration,
int *pInterDigitDuration)

Parameters

Data Type

Name

Description

M1x66_HANDLE

chanHandle

Channel handle from FXO open channel.

M1966_GPIO_NUMBER

gpio

GPIO number

int

*pOnHookDuration

Pointer to on-hook duration variable (output)

int

*pOffHookDuration

Pointer to off-hook duration variable (output)

int

*pInterDigitDuration

Pointer to inter-digit duration variable (output)


Return Values

Data Type

Description

M1x66_RET

M1x66_SUCCESS – Successful.
M1x66_FAILED – Failure.


Advertising