Audio commands, At+wtone=0 – Rainbow Electronics FARGO MAESTRO 100 (with TCP_IP) User Manual

Page 604

Advertising
background image


Audio Commands

Play tone +WTONE

©Restricted

Page:

56 / 158

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

WM_DEV_OAT_UGD_049 - 001

VOLUME 4

August 23, 2007

<gain2>:

tone gain for the <freq2>

same values as <gain>

<duration>:

tone duration (in 100 ms units)

0-50

default value if omitted: 0

When <duration>=0, the duration is up to 21 minutes, and

the tone can be stopped by AT+WTONE=0

21.16.4 Parameter Storage
None

21.16.5 Examples

Command

Responses

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

Note: Play a tone

OK

Note: Started

AT+WTONE=0

Note: Stop playing

OK

Note: Done

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

Note: Play a tone with 2 frequencies (allowed

only with the speaker)

OK

Note: Done

21.16.6 Notes
The "OK" is received as soon as the tone playing has started. As long as the tone has

not been entirely played, trying to send a new one will result in receiving a "+CME

ERROR: 558" and the new tone will not be played.

Advertising