
www.veear.eu
48
EasyVR 3
User Manual (1.0.11)
Member Function Documentation
bool detect ()
module, waking it from sleep mode and checking it responds correctly.
Return values:
true
if a compatible module has been found
bool stop ()
Interrupts pending recognition or playback operations.
Return values:
true
if the request is satisfied and the module is back to ready
int8_t getID ()
Gets the module identification number (firmware version).
Return values:
integer
is one of the values in
bool setLanguage (int8_t
lang
)
Sets the language to use for recognition of built-in words.
Parameters:
lang
(0-5) is one of values in
Return values:
true
if the operation is successful
bool setTimeout (int8_t
seconds
)
Sets the timeout to use for any recognition task.
Parameters:
seconds
(0-31) is the maximum time the module keep listening for a word or a
command
Return values:
true
if the operation is successful
bool setMicDistance (int8_t
dist
)
Sets the operating distance of the microphone. This setting represents the distance between the
microphone and the user's mouth, in one of three possible configurations.
Parameters:
dist
(1-3) is one of values in
Return values:
true
if the operation is successful