3 defined values – Rainbow Electronics 900 User Manual

Page 181

Advertising
background image

FLYFOT-M260-MODULE

Page: 181 / 239

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

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