| cmdFUNC | Index |
Command Code:
The Packet:
| 0 | 1 | 2 | 3 | 4 | 5 | |||||
| address | 4 | cmdFUNC | MSG | NFUNC | data... |
| MSG - | Raw input ID. |
| NFUNC - | Function selection byte. |
| data... - | Undefined data bytes. |
Description:
This command performs a function on its input data and issues a raw input with the MSG byte and modified data.
Currently, this command supports only one function. When NFUNC is 1, this command expects two 2-byte values in its data. It subtracts the second value from the first and issues a raw input with the MSG byte and 2-byte subtraction result. If the first value is less than the second value, the subtraction result is set to zero.