arduino/libraries/WebSockets/examples/esp32_pio/CustomNetworkClient
2026-09-27 17:21:39 +02:00
..
lib first commit 2026-09-27 17:21:39 +02:00
src first commit 2026-09-27 17:21:39 +02:00
platformio.ini first commit 2026-09-27 17:21:39 +02:00
readme.md first commit 2026-09-27 17:21:39 +02:00

This example project shows how to use a custom NetworkClient class to switch between two underlying network interfaces.

In this case it shows how a board can support Wi-Fi as well as GSM/LTE connectivity. It uses a shim to switch between the two network interfaces, thereby allowing a single binary to handle both interfaces without needing to reboot. This example can be extended to cover other network interfaces that conform to the Client() class interface.