WIZnet W5500 rxUDP limit length

Hello,

I have a project using the W5500 driver found on the OBEX. The rxUDP routine will read the amount of bytes given in the UDP packet header. If the HUBRAM buffer is smaller than this amount, it gets overrun and crashes the program. Does anyone have any suggestions on how to limit the receive data amount to a know number? I've tried many things in the rxUDP routine, but the W5500 does not seem to behave nicely with my edits. If anyone has any suggestions, it would be greatly appreciated.

Thanks,
Marcus

Comments

Sign In or Register to comment.