Skip to main content
FW version: Stable

Driver Task Execution

This document describes how to issue task execution commands through the ESCx driver API.

info
  • All datagram types listed here are unicast with SID = 24
  • All payloads listed here use big-endian byte order
warning

Payload byte positions do not correspond directly to byte positions in the transfer layer (CAN, UART, USB, Bluetooth...) Before proceeding, carefully review how to create messages for:

Message - Execute Task

Payload byteDescription
00x04
1Task ID

Task ID List

Task IDDescription
1Driver reinit
2Execute identlin
3Execute identrun
128Save parameters
129Load parameters from flash
255Request task result
OtherUnsupported command

Response

Task is Being Executed

Payload byteDescription
00x44
1Task ID

Task Result Response

Payload byteDescription
00x44
1Task ID
2-5Task return value

The return value indicates the execution result of the task/command. A value of 0 always indicates successful completion.

Return valueDescription
0Success
-1Task not supported
OtherTask specific return value - error

Message - Motor Beep

This message allows playing a single tone using the motor.

Payload byteDescription
00x06
1-2[int16] Beep volume
3-4[int16] Beep tone

This message does not generate a response