
www.veear.eu
User Manual (1.0.11)
EasyVR 3
29
CMD_BAUDRATE
'a' (61h)
Set communication baud-rate
[1]
Speed mode:
1 = 115200
2 = 57600
3 = 38400
6 = 19200
12 = 9600
Expected replies:
CMD_QUERY_IO
'q' (71h)
Configure, query or modify general purpose I/O pins
[1]
Pin number (1 = pin IO1, 2 = pin IO2, 3 = pin IO3)
[2]
Pin mode (0 = output low, 1 = output high, 2 = input*, 3 = input strong**, 4 = input weak***)
* High impedance input (no pull-up)
**Strong means ~10K internal pull-up
***Weak means ~200K internal pull-up (default after power up)
Expected replies:
STS_SUCCESS (mode 0-1), STS_PIN (mode 2-4)
CMD_PLAY_SX
'w' (77h)
Wave table entry playback
[1-2]
Two positive values that form a 10-bit index to the sound table (index = [1] * 32 + [2], 0 = built-in
“beep”, 1-1023 = sound index)
[3]
Playback volume (0-31, 0 = min volume, 15 = full scale, 31 = double gain)
Expected replies:
CMD_PLAY_DTMF
'w' (77h)
Play a DTMF key tone or dial tone
[1]
Fixed to (-1)
[2]
Index of phone tone to play (0-9 for digits, 10 for '*' key, 11 for '#' key and 12-15 for extra keys
'A' to 'D', -1 for the dial tone)
[3]
Tone duration minus 1 (0-31 in 40ms units for keys, in seconds for the dial tone)
Expected replies:
CMD_DUMP_SX
'h' (68h)
Read wave table data
Expected replies:
CMD_DUMP_SI
'h' (68h)
Read custom and built-in grammars data
[1]
Index of SI grammar to read (0-31) or (-1) to get the total count of SI grammars (including the
first 4 built-in wordsets)
Expected replies: