If I simply skip the first 2 bytes (0x41, 0x00) of the response, things appear to work.
Per the documentation of the force feedback bitmap command:
Code: Select all
UFDB1 - 0x00000000
UFDB2 - 0xFC000000
UFDB3 - 0x00000FFF
Code: Select all
UFDB1 - 0x00000000
UFDB2 - 0xFC000000
UFDB3 - 0x00000FFF
Thanks - that solved my problem. I also discovered that the 2 null bytes in the CRC value must also be included in the buffer passed to the CRC checksum routine otherwise the checksum will fail.RMP Wizard wrote:Although the CRC is only 16-bits, the CCU ships all values using 32-bit values including the CRC.
The additional 2 bytes are null bytes in the CRC value (16-bit value shipped as a 32).
Users browsing this forum: No registered users and 3 guests