ArduinoCore-mbed
ArduinoCore-mbed copied to clipboard
giga_r1_wifi Udp.read() skips first byte of UDP packets
https://github.com/arduino/ArduinoCore-mbed/blob/cdaa048b4ef1f835f8676382bba3dacbd7efe349/libraries/SocketWrapper/src/MbedUdp.cpp#L142
When parsePacket() returns non-zero, _current_packet pointer is incremented, skipping over the first byte. The function returns _current_packet[0] which is the second byte.