8 m1x22_hookswitch, 9 m1x22_pulsedial, M1x22_hookswitch – Maxim Integrated 73M1822/73M1922 Modem API User Manual

Page 12: M1x22_pulsedial

Advertising
background image

73M1822/73M1922 Modem API User Guide

UG_1x22_055

12

Rev. 1.0

2.8 M1X22_HookSwitch

Description

Perform on/off-hook on the channel.

Prototype

M1X22_RET M1X22_HookSwitch (

M1X22_HANDLE channel,
M1X22_HOOK_SWITCH hookSwitch );


Parameters

Data Type

Name

Description

M1X22_HANDLE

channel

Channel handle from open channel.

M1X22_HOOK_SWITCH hookSwitch

Type of hook switch requested.


Return Values

Data Type

Description

M1X22_RET

M1X22_SUCCESS – Successfully performed hook switch.
M1X22_FAILED – Failure.

2.9 M1X22_PulseDial

Description

Perform pulse dialing on the channel. This API will bring the channel off-hook then perform pulse dialing
with the digit string provided. Once the dialing is completed the channel will remain off-hook indefinitely,
or until it is manually brought back on-hook.

Up to 30 numeric digits is supported. Valid numeric digit is from ASCII 0 to 9 (i.e., 0x30 to 0x39).

Prototype

M1X22_RET M1X22_PulseDial (

M1X22_HANDLE channel,
char *dialSting );


Parameters

Data Type

Name

Description

M1X22_HANDLE

channel

Channel handle from open channel.

char

*dialString

Numeric dial string of up to 30 characters max.


Return Values

Data Type

Description

M1X22_RET

M1X22_SUCCESS – Successfully dialed.
M1X22_FAILED – Failure.

Advertising