Overview of the UDP-SOCKET Example
mainThe UDP-SOCKET example implements a LoRa and UDP-SOCKET gateway application using an ESP32 and an SX126x transceiver. It acts as a bridge between LoRa wireless communication and UDP/IP network communication.
There are two primary modes of operation:
- UDP to LoRa: The ESP32 acts as a UDP Server, receiving data from a UDP Client over WiFi and forwarding it to the SX126x via SPI to be transmitted over LoRa.
- LoRa to UDP: The ESP32 acts as a UDP Client, receiving data from the SX126x via SPI and forwarding it over WiFi to a UDP Server.