Driver execute command
info
All here listed messages are unicast with SID = 24
warning
Message - execute command
| Payload byte | Description | 
|---|---|
| 0 | 0x04 | 
| 1 | Command ID | 
Command ID list
| Command ID | Description | Return value | 
|---|---|---|
| 1 | Driver reinit. | Driver error after reinit. | 
| 2 | Execute identlin | |
| 3 | Execute identrun | |
| 128 | Save parameters | |
| 129 | Load parameters from flash | |
| 255 | Heartbeat. Do nothing, just answer back | 
Return value:
- 0 = succesfull
 - -1 = unsupported command
 
Response
| Payload byte | Description | 
|---|---|
| 0 | 0x44 | 
| 1 | Command ID | 
| 2-5 | Command return value. | 
If return value is omitted and payload is only 2 bytes long:
- Some command is being executed. Wait until command is finished (wait for response)
 - It is response to heartbeat
 
Message - do beep with the motor
Using this message you can play one tone with the motor.
| Payload byte | Description | 
|---|---|
| 0 | 0x06 | 
| 1-2 | [int16] Beep volume | 
| 3-4 | [int16] Beep tone | 
There is not response to this message