Mode 04 message

I’m trying to send a message to clear the current codes using mode 04.

The relevant code is:

CANMessage message; = 0X7DF;
message.len = 8; // just always use 8[0] = 0x02;[1] = 0x04;


However, the codes are not clearing. Any ideas?

It might need 02 01 04

I second what dubb45 is suggesting.

Also, the remaining bytes are not used in theory, but you could try setting them to 55 (hex format, same as the original post), just in case.