Example:
Write 0x31, 0x32, 0x33, 0x34 into 4 contiguous registers starting from register 0x000a.
1) Write operation succeeds:
Command sent:
Message received: 0x02 0x00 0x00 0x01 0x00 0x33 0x31
2) Incorrect FCS:
Command sent:
Message received: 0x02 0x00 0x01 0x01 0x00 0x04 0x01
3) Invalid command:
Command sent:
Message received: 0x02 0x00 0x03 0x01 0x00 0x6A 0x61
17
0x7e 0x00 0x08 0x04 0x00 0x26
0x7e 0x00 0x08 0x04 0x00 0x26
0x7e 0x00 0x08 0x04 0x00 0x26
0x31 0x32 0x33 0x34
0xcd 0xa4
0x31 0x32 0x33 0x34
0x33 0x34
0x31 0x32 0x33 0x34
0x33
** Enter Setup
Exit Setup