Send data over CAN-TP. Automatically chooses single-frame or multi-frame segmentation based on the data length.
Handle returned by CanTpCreateConnection.
Payload bytes (1 – 4095 bytes).
Transmission timestamp in microseconds.
TpError on bus error, timeout or protocol violation.
const ts = await CanTpSendData(handle, [0x10, 0x01]) Copy
const ts = await CanTpSendData(handle, [0x10, 0x01])
Send data over CAN-TP. Automatically chooses single-frame or multi-frame segmentation based on the data length.