I have just got UDP logging to my InfluxDB working but only when I use the server ip address. The IP of my server changes every 24 hours so I am using a dynamic DNS service. My software runs at the Moment on a Photon but as soon as all features are ready I would like to move to my Electron.
does not work so I am using:
IPAddress ip = WiFi.resolve(INFLUXDB_HOST);
But this is not possible on an Electron and I could not find any similar function in the docs.
The TCP protocol supports
client.connect(URL, port); but it consumes to much data on an Electron.
I would be very grateful if you could tell me if there is a way to resolve an URL to an IP address on an Electron?
Will there be support for
Udp.beginPacket(URL, port) in the future?