1,103
edits
(→USB) |
|||
Line 43: | Line 43: | ||
The protocol seems to be fairly simple. I have a capture of some file downloads and deleting a file. | The protocol seems to be fairly simple. I have a capture of some file downloads and deleting a file. | ||
looks like: | |||
commands are sent to endpoint 0x04 and read form 0x88, sent commands are (byte)length and then length bytes | |||
commands 5 and 6 seem to be start and end | |||
example command block: | |||
<code><nowiki> | |||
>w04 0002 00000000: 01 05 | |||
*r88 0001 00000000: 04 | |||
>w04 0006 00000000: 05 01 01 83 01 7a | |||
*r88 0001 00000000: 06 | |||
*r88 0001 00000000: 05 | |||
>w04 0002 00000000: 01 04 | |||
*r88 0014 00000000: 0f 01 83 53 51 55 41 52 45 20 20 4d 4f 4c 00 0e | |||
00000010: 00 00 00 66 | |||
>w04 0002 00000000: 01 06 | |||
</nowiki> | |||
</code> | |||
bah mediawiki fail. | |||
==Random Links that may be useful== | ==Random Links that may be useful== |