beautypg.com

Play tone +wtone – Multi-Tech Systems CDMA Wireless Modem User Manual

Page 98

background image

Chapter 14 – Specific AT Commands

Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C

98

Play Tone +WTONE

Description: This specific command allows a tone to be played on the current speaker or on the buzzer.

Frequency, volume and duration can be set.


Values:

0: Stop playing.
1: Play a tone

: This parameter sets the destination (mandatory if =1)

1: Speaker
2: Buzzer

: This parameter sets tone frequency (in Hz) (mandatory if =1). The range is
between 1 and 4000Hz. However, for handset and a person to hear, the effective range may
be 150-4000Hz.

(0-3): This parameter sets the tone volume. The default value is 1. Values are the
same as +CRSL.

(0-50): This parameter sets tone duration (unit of 100 ms). When this parameter
is equal to 0 (default value), the duration is infinite, and the tone can be stopped by
AT+WTONE=0.

Syntax:

Command syntax: AT+WTONE=[,,,,]

Command

Possible Responses

AT+WTONE=1,1,300,2,50
Note: Play a tone

OK
Note: Done

AT+WTONE?
Note: Current value

+WTONE: 1,1,300,2,50
OK

AT+WTONE=0
Note: Stop playing

OK
Note: Done

AT+WTONE=?
Note: Test command

+WTONE: (0-1),(1-2),(1-4000),(0-3),(0-50)
OK
Note: Done