2 register write command, 3 answering of incoming calls, 1 auto answer setting command – Maxim Integrated 73M1866B/73M1966B FXOCTL 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

Advertising
background image

UG_1x66B_009

73M1866B/73M1966B FXOCTL Application User Guide

Rev. 4.1

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

FXOCTL: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 FXOCTL 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 FXOCTL program. This is accomplished by
bringing the channel off-hook when incoming ring is detected without user intervention.

Syntax

FXOCTL:NN> autoanswer (set auto-answer mode on current active channel)
FXOCTL:NN> autoanswer <XX>
(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

FXOCTL:00> register rg12=0xC0


FXOCTL:00>


FXOCTL:00> autoanswer

Set auto-answer on current active channel: 0

FXOCTL:00> autoanswer 3

Set auto-answer on channel: 3

Set auto-answer on active
channel (0).

Set auto-answer on
channel 3.

Advertising