Problem with UDP communication PCB Standard V 4.5

:memo: Note: UDP Communication Issue in AgOpenGPS When Using IP Range 172.20.x.x

:magnifying_glass_tilted_left: Problem:

When using a Teensy 4.1 microcontroller (e.g., with AIO_v4_Firmware) connected via Ethernet, UDP communication with AgOpenGPS failed, even though:

  • The W5500 Ethernet chip was correctly wired and powered.
  • Firmware was working correctly.
  • Both Teensy and the PC were on the same local network.

:warning: Cause:

The network was configured in the 172.20.3.x range, which is technically part of the private address space (per RFC 1918), but AgOpenGPS appears to internally assume an IP range within 192.168.x.x.

:white_check_mark: Solution:

After switching the IP configuration to 192.168.3.x:

  • UDP communication established immediately.
  • No changes to the firmware were necessary.
  • Teensy connected reliably to AgOpenGPS.

:light_bulb: Recommendation:

For reliable UDP communication with AgOpenGPS, use one of the following IP ranges:

  • 192.168.x.x (strongly recommended)

Avoid using the 172.20.3.1 to 172.20.3.255 range if you encounter issues with UDP traffic or device discovery.