Rainbow Electronics MG260 User Manual

Page 182

Advertising
background image

FLYFOT-MG260-MODULE

Page: 182 / 246

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

Response syntax: OK or +CME ERROR: <err>

Command

Possible responses

AT+TFTONE=1,1,300,400,9,50

OK

Note : Play a DTMF tone

Note : Done

AT+TFTONE=0

OK

Note : Stop playing

Note : Done

AT+TFTONE=?

OK

Note : Test command

Note : Done

AT+TFTONE?

ERROR

Note : Current value

Note :

Defined values :

<mode>

0: Stop playing.
1: Play a DTMF tone

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

1: Speaker

2: Buzzer

<freq1>/<freq2> : This two parameters sets DTMF tone frequency (in Hz) (mandatory if <mode>=1).

If <dest> = 1 (speaker), range is 1 Hz to 3999 Hz.
If <dest> = 2 (buzzer), range is 1 Hz to 3999 Hz.

<gain> : This parameter sets the DTMF tone gain. The default value is 9.

Range of values is 0 to 15.

<gain>

Speaker (db)

Buzzer (db)

0 0

-0.25

1 -0.5 -0.5
2 -1 -1
3 -1.5 -1.5
4 -2 -2
5 -3 -3
6 -6 -6
7 -9 -9
8 -12 -12
9 -15 -15

10 -18 -18
11 -24 -24

Advertising