Hookd – ClearOne XAP TH1 User Manual

Page 22

Advertising
background image

TECHNICAL SUPPORT: 1.800.283.5936 (USA) OR 1.801.974.3760

18

APPENDIX A

• SERIAL COMMANDS

HOOKD

This command changes or reports the hook-flash duration of the unit.

HOOKD

<X>

Explanation: <X> is the action (i.e. hook-flash duration, current state)

X=0

Parameter to set hook-flash duration to 50 ms

X=1

Parameter to set hook-flash duration to 90 ms

X=2

Parameter to set hook-flash duration to 100 ms

X=3

Parameter to set hook-flash duration to 110 ms

X=4

Parameter to set hook-flash duration to 250 ms

X=5

Parameter to set hook-flash duration to 300 ms

X=6

Parameter to set hook-flash duration to 400 ms

X=7

Parameter to set hook-flash duration to 500 ms

X=8

Parameter to set hook-flash duration to 600 ms

X=9

Parameter to set hook-flash duration to 700 ms

X=Null

Parameter to report back the current state.

Return Values: The command will return the hook-flash duration of the
unit in the same format as the command. HOOKD <X>

Example: The following command requests hook-flash duration:
HOOKD

The following is returned out the serial port: HOOKD 4

LVL

This command reports back the transmit or receive level for a unit.

LVL

<CH>

Explanation: <CH> is which parameter to be measured.

CH= RXIN

Parameter for level from the telephone line

CH=RXOUT

Parameter for level from the XAP TH1

CH=TXIN

Parameter for level into the XAP TH1

CH=TXOUT

Parameter for level to the telephone line

Return Values: LVL will return the output level of the line channel in the
same format as the command.

Example: If is current level for RXIN channel is -20dBu, the following is
returned out the serial port:

LVL RXIN -20

Advertising