Chapter 14 – Specific AT Commands

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: <mode>

0: Stop playing.

1: Play a tone

<dest>: This parameter sets the destination (mandatory if <mode>=1) 1: Speaker

2: Buzzer

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

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

<duration> (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=<mode>[,<dest>,<freq>,<volume>,<duration>]

Command

Possible Responses

AT+WTONE=1,1,300,2,50

OK

Note: Play a tone

Note: Done

AT+WTONE?

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

Note: Current value

OK

AT+WTONE=0

OK

Note: Stop playing

Note: Done

AT+WTONE=?

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

Note: Test command

OK

 

Note: Done

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

98

Page 98
Image 98
Multi-Tech Systems CDMA Wireless Modem manual Play Tone +WTONE, At+Wtone?, AT+WTONE=0 AT+WTONE=?