Johannes Erdfelt wrote:
>
> I understand that when it receives a 0 packet, it handles the packet
> correctly, but does it *send* a 0 packet when it's transferring to the
It is not mentioned anywhere in the documentation, and i don't get
packets with 0 length from the device. I have code which warns me
about any packet less than 64 bytes and i didn't see any with payload
0.
> You can do that, just use USB_ZERO_PACKET. It'll handle sending the 0
> packet at the end if it's needed. Only use that for OUT transfers tho.
Hm, so far i don't think i have troubles with OUT transfers. I may try
it out of curiosity and stress the hw more. :-)
> When you say 1090 bytes long, is that the size of the packet, or the
> size of the data it sends? I presume there's some sort of header that it
It is the raw ethernet packet - everything. Later tcp/ip layer strips
the first 14 bytes (eth dest and src addresses 6 bytes each and frame
tupe 2 bytes).
Petko
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel