User Manual
www.veear.eu
User Manual (1.0.14) EasyVR 3 55
Return values:
true
if the operation is successful
bool eraseCommand (int8_t group, int8_t index)
Erases the 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
Return values:
true
if the operation is successful
bool getGroupMask (uint32_t & mask)
Gets a bit mask of groups that contain at least one command.
Parameters:
mask
is a variable to hold the group mask when the function returns
Return values:
true
if the operation is successful
int8_t getCommandCount (int8_t group)
Gets the number of commands in the specified group.
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)










