Determining Device Write Type.
USB Devices in SignalRGB have two different options for device write types: device.write and device.send_report.
device.write
device.send_report
Zero Padding
Some devices require zero padding. This means that the device requires packet[0] to be 0x00 instead of an actual byte of data. The actual packet data bytes all get shifted up one position, which means that the first byte in the wireshark packet goes to packet[1] and so on. This also means that the device requires the packet length to be upped by one, so a device with a packet size of 64 in Wireshark has a write length of 65.
Was this page helpful?