Data Sheet
www.veear.eu 
User Manual (1.0.11)  EasyVR 3  51 
Parameters: 
group 
(0-16) is the target group, or one of the values in #Groups  
Return values: 
integer 
is the count of commands (negative in case of errors)  
bool dumpCommand (int8_t 
group
, int8_t  
index
, char * 
name
, uint8_t &  
training
) 
Retrieves the name and training data of a custom command.  
Parameters: 
group 
(0-16) is the target group, or one of the values in #Groups  
index 
(0-31) is the index of the command within the selected group  
name 
points  to  an  array  of  at  least  32  characters  that  holds  the  command 
label when the function returns  
training 
is  a  variable  that  holds  the  training  count  when  the  function  returns. 
Additional information about training is available through the functions 
isConflict() and getWord() or getCommand() 
Return values: 
true 
if the operation is successful  
int8_t getGrammarsCount (void ) 
Gets the total number of grammars available, including built-in and custom. 
Return values: 
integer 
is the count of grammars (negative in case of errors)  
bool dumpGrammar (int8_t 
grammar
, uint8_t & 
flags
, uint8_t &  
count
) 
Retrieves the contents of a built-in or a custom grammar. Command labels contained in the grammar 
can be obtained by calling getNextWordLabel() 
Parameters: 
grammar 
(0-31) is the target grammar, or one of the values in Wordset  
flags 
is a variable that holds some grammar flags when the function returns. 
See GrammarFlag 
count 
is a variable that holds the number of words in the grammar when the 
function returns.  
Return values: 
true 
if the operation is successful  
bool getNextWordLabel (char * 
name
) 
Retrieves  the  name  of  a  command  contained  in  a  custom  grammar.  It  must  be  called  after 
dumpGrammar() 
Parameters: 
name 
points  to  an  array  of  at  least  32  characters  that  holds  the  command 
label when the function returns  
Return values: 
true 
if the operation is successful  










