while (true)
Read sensors
client.connect(host, port)
client.print(myHttpString)
client.readX()
client.close()
It seems to work pretty well. However when I look at Wireshark traces....
Any idea why the ESP is sending these RST packets? As far as I know it should be sending a FIN ACK to close a connection, not a RST.