
www.veear.eu
56
EasyVR 3
User Manual (1.0.11)
Parameters:
tone
is the index of the tone (0-9 for digits, 10 for '*' key, 11 for '#' key and
12-15 for extra keys 'A' to 'D', -1 for the dial tone)
duration
(1-32) is the tone duration in 40 milliseconds units, or in seconds for the
dial tone
Return values:
true
if the operation is successful
bool resetAll (bool
wait
=
true
)
Empties internal memory for custom commands and groups.
Parameters:
wait
specifies whether to wait until the operation is complete (or times out)
Return values:
true
if the operation is successful
Note:
It will take about 35 seconds for the whole process to complete and it cannot be interrupted. During
this time the module cannot accept any other command. The sound table and custom grammars
data is not affected.
int bridgeRequested (Stream &
port
)
Tests if bridge mode has been requested on the specified port
Parameters:
port
is the target serial port (usually the PC serial port)
Return values:
non
zero if bridge mode should be started
Note:
The EasyVR Commander software can request bridge mode when connected to the specified serial
port, with a special handshake sequence.
void bridgeLoop (Stream &
port
)
Performs bridge mode between the
serial port and the specified port in a continuous loop. It can
be aborted by sending a question mark ('?') on the target port.
Parameters:
port
is the target serial port (usually the PC serial port)