Open MrKappa opened 7 months ago
Unfortunately it looks like this project is dead. We maintain a fork of it at https://github.com/Tinkerforge/WireGuard-ESP32-Arduino where a colleague of mine added the WireGuard::is_peer_up() function a while ago, that is probably the function you are looking for.
The reconnect should happen automatically after the WiFi reconnects.
Hi, I'm facing some issues when I try to reconnect after the Wi-Fi connection gets restablished.
I've noted there's no built in method for knowing if the wg tunnel is up, there's only a
is_initialized()
method but it's not useful in the actual state.What's the correct way to reconnect after a connection interruption + reconnection?
Thanks