-->
Page 1 of 1

UDP and Server at the same time

PostPosted: Tue Apr 04, 2017 4:57 am
by Dr pepper
Ok I have a esp D1 R1 operating as a http web sever, it works well, I want this esp board to communicate with another esp board via UDP at the 'same' time, so I can retrieve data using udp and then publish it on the http page.
Can I do this?, obviously I need to run the http code and udplisten sequentially, in doing this would I miss calls to the webpage or udp packets?
I could rewrite the whole thing and make everything work with http, but if I dont have to I wont.

Re: UDP and Server at the same time

PostPosted: Sat Apr 08, 2017 9:59 pm
by mrburnette
Look over my GPS Tardis Time project and see if this is what you are looking for:
https://www.hackster.io/rayburne/tardis-time-esp8266-ap-webserver-gps-6b5d2a

Ray