SmartWAV2-SerialMode_R1

SMARTWAV 2
Serial Mode
Vizic Technologies ©2020 | 28
6.9 System Baud Rate - 58hex - ‘X’ ascii
Commands (host)
byte(s)
1.- 0x58 (hex), X (ascii).
2.- Baud Rate - High Byte.
3.- Baud Rate - Medium High Byte.
4.- Baud Rate - Medium Low Byte.
5.- Baud Rate -Low Byte.
Responses (device)
byte(s)
1.- 0x4F (hex), O (ascii) - Success ACK at
current baud rate.
(Delay of 500ms…)
2.- 0x4F (hex), O (ascii) - Success ACK at new
baud rate.
or
1.- 0x46 (hex), F (ascii) - Fail NAK at current
baud rate.
Description
This command sets a new communication
baud rate, the parameter could be from
9600bps up to 256000bps. The command
sent by the host must be at the actual
working baud rate, then 2 things can occur:
1-If the command is accepted an ACK will
be received at the current baud rate then
SmartWAV 2 will change to the new baud
rate speed during 500ms and then it will send
another ACK at the new baud rate selected.
2-If the command is invalid a NAK will be
replied at the current baud rate by the
SmartWAV 2 and the baud rate speed will
not be modified.