Appendices ~ Appendix C: Serial Commands | 25 |
LVL
This command reports back the transmit or receive level for a unit.
Command form: DEVICE 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 AP10 |
CH=TXIN | Parameter for level into the AP10 |
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 the current level for RXIN channel is
returned out the serial port: DEVICE LVL RXIN
MUTE
This command controls or reports the mute status of a channel.
Command form: DEVICE MUTE <CH> <X>
Explanation:
<CH> is the channel(s) to be muted/unmuted.
CH=T | Parameter to apply to the transmit channel |
CH=R | Parameter to apply to the receive channel |
CH=* | Parameter to apply to both channels |
<X> is the action (i.e. mute, unmute, report the mute state). | |
X=0 | Set mute to off |
X=1 | Set mute to on (mute the selected channel) |
X=2 | Parameter to toggle the state from one state to the other |
| (regardless of current state) |
X=NULL | Report the current state of mute for the selected channel |
Return values: MUTE returns the mute status in the same format as the
command.
Example:
If current state of mute for channel T is muted, the following is returned out the serial port: DEVICE MUTE T 1
If current state of mute for channel T is unmuted, the following is returned out the serial port: DEVICE MUTE T 0