sending data from esp8266 to a server
Posted: Fri Feb 03, 2017 9:53 am
Hi everyone,
I'm new to esp8266...I've got a couple of esp8266 nodemcu boards and I already connected to a wifi network.
Now I'd like to send data (I've got some distance sensors ) regarding distances measured with a timestamp to a server (something like ..... : 8002). I suppose to use NTP to get time, so to produce the timestamp but I'm not sure about the best way to send data. What is better to use (UDP?)? Have you got some links?
Thanks
Have a nice day
Andrea
I'm new to esp8266...I've got a couple of esp8266 nodemcu boards and I already connected to a wifi network.
Now I'd like to send data (I've got some distance sensors ) regarding distances measured with a timestamp to a server (something like ..... : 8002). I suppose to use NTP to get time, so to produce the timestamp but I'm not sure about the best way to send data. What is better to use (UDP?)? Have you got some links?
Thanks
Have a nice day
Andrea