First page Back Continue Last page Graphics
Reading Memory
Output Report 0x17 reads memory:
- (52) 17 XX XX XX XX YY YY
- XX XX XX XX is big-endian formatted address
- YY YY is big-endian formatted size in bytes
- LSB of first byte is rumble flag and is not part of address, should be set to whatever state the rumble should be
Responses look like:
- SE XX XX data...
- (a1) 21 80 00 f0 11 f0 80 6c 8c ...
- S shifted right 4 bits is size in bytes, minus 1, of current packet
- E is error flag:
- 8 if reading from bytes that don’t exist
- 7 if reading from write-only registers
- 0 if no error
- XX XX is offset of current packet in big-endian format
- Rest is data, 16 bytes maximum