I’d like to know when the UDP TX buffer is empty so I can start timing for a timeout while waiting for an ACK. (I’m trying to write a TFTP library to get data off a P0/P1 and this is the last bit).
However, the UDP flush() method in the docs says the method doesn’t actually do anything yet and while poking around in the firmware both the UDP and TCP flush() methods are actually empty (I thought maybe I could check out how it was done in TCP).
Or… maybe I don’t need flush? Is endPacket() already a blocking call until it empties the TX buffer?