The Get Values command is used to request a standard set of telemetry from the controller.
[reveal1 title=”Web App”]
[/reveal1]
[reveal1 title=”UART Interface”]
This command follows the standard VESC packet format.
Command Structure
Byte | Datatype | Value | Description |
---|---|---|---|
0 | uint8 | 0x02 | Packet start byte |
1 | uint8 | 0x01 | Packet length |
2 | uint8 | 0x04 | Packet ID [COMM_GET_VALUES] |
3 | uint16 | value here | CRC16 of data section |
5 | uint8 | 0x03 | Stop byte |
Command Example
Start Byte | Length | PID | CRC16 | End Byte |
---|---|---|---|---|
0x02 | 0x01 | 0x04 | 0xF729 | 0x03 |
Command Response
The controller responds with the Standard Values packet.
[/reveal1]
[reveal1 title=”CAN Interface”]
[/reveal1]