beautypg.com

2 register write command, 3 answering of incoming calls, 1 auto answer setting command – Maxim Integrated 73M1822/73M1922 Modem CTL Application User Manual

Page 9: Register write command, Answering of incoming calls, Auto answer setting command, Figure 4: register write command logging session, Figure 5: autoanswer command logging session

background image

UG_1x22_056

73M1822/73M1922 Modem CTL Application User Guide

Rev. 1.0

9

2.2.2 Register Write Command

The register command can also be used to write a value to the register on the current active device (NN).

Syntax

1X22CTL:NN> register rgXX=0xYY

Where:

XX

00 to 25 hexadecimal represent the registers from 00 to 25 hex.

YY

Hexadecimal value from 0x00 to 0xFF.

NN

Shows the current active channel ID.

Refer to the chip datasheet for registers, their usage and contents. The following is a log of the command
to write register 0x12 with the value of 0xC0.




Figure 4: Register Write Command Logging Session

2.3 Answering of Incoming Calls

The Modem CTL reports incoming RING event when one is detected. Each FXO channel can be
programmed for auto answer mode to automatically answer the call, or manually answered by the user
using this “answer” command.

2.3.1 Auto Answer Setting Command

The autoanswer command sets auto answer mode to the channel. In this mode the incoming call on
the FXO channel will be automatically answered by the Modem CTL program. This is accomplished by
bringing the channel off-hook when incoming ring is detected without user intervention.

Syntax

1X22CTL:NN> autoanswer (set auto-answer mode on current active

channel)

1X22CTL:NN> autoanswer (set auto-answer mode on channel XX)

Where:

XX

00 to 15 decimal represents the device ID.

NN

Shows the current active channel ID.

The following is a log of the command to set auto answer mode on current active channel (0) and on
channel 3.








Figure 5: Autoanswer Command Logging Session

Modem CTL:00> register rg12=0xC0

Modem CTL:00>


Modem CTL:00> autoanswer

Set auto-answer on current active channel: 0

Modem CTL:00> autoanswer 3


Set auto-answer on channel: 3

Set auto-answer on active
channel (0).

Set auto-answer on
channel 3.