Rainbow Electronics MG260 User Manual

Page 183

Advertising
background image

FLYFOT-MG260-MODULE

Page: 183 / 246

This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without
prior written agreement.

12 -30 -30
13 -36 -40
14 -42

-infinite

15 -infinite

-infinite

<duration>: This parameter sets DTMF tone duration (in unit of 100 ms).

Range of values is 0 to 50 (0 is default value, 1 -> 0,1 s., 50 -> 5 s.)
Remark : when <duration> = 0, the duration is infinite, and the DTMF tone should be
stopped by AT+WTONE=0.

18.12 Play tone +WTONE

Description :

This specific command allows a tone to be played on the current speaker or on the buzzer. Frequency,
gain and duration can be specified.

Syntax :

Command syntax: AT+WTONE=<mode>[,<dest>,<freq>,<gain>,<duration>]
Response syntax: OK or +CME ERROR: <err>

Command

Possible responses

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

OK

Note : Play a tone

Note : Done

AT+WTONE=0

OK

Note : Stop playing

Note : Done

AT+WTONE=?

OK

Note : Test command

Note : Done

AT+WTONE?

ERROR

Note : Current value

Note :

Defined 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).

Advertising