Update to Spinneret Serial (SPI) driver to fix problem with truncated UDP packets
Attached is an updated version of Tim Swieter's SPI driver for the W5100 aka Spinneret. This is an update from ver 0.5 to 0.6, and it corrects a bug that would produce short transmitted UDP packets when the packet being sent wrapped around the end of the buffer.
I PM'ed Tim about this a while back but he may be unavailable, so at the suggestion of David Carrier I am posting the updated driver here to make it more visible to others that might be experiencing this issue.
Again, this only affects a problem with transmitted udp packets, when using the SPI interface.
It adds a single line of code in the TxUDP method:
payloadsize += rolloverpoint
I PM'ed Tim about this a while back but he may be unavailable, so at the suggestion of David Carrier I am posting the updated driver here to make it more visible to others that might be experiencing this issue.
Again, this only affects a problem with transmitted udp packets, when using the SPI interface.
It adds a single line of code in the TxUDP method:
payloadsize += rolloverpoint