-->
Page 1 of 1

Send message (with UDP connection) to server

PostPosted: Fri Sep 18, 2015 2:24 am
by DerTieja
Hello i hope i am right at this Thread. I need a code example to flash my esp8266:

The code should only be able send a datapackage (maybe a String) to my server at Port8000.

If someone can give me a small code example how to do that it will ne awesome :D

(in a later period of time i will receive the signal straight values of the accesspoints near to me and send these values to my server.)

At the moment im using the "default" Firmware with the AT commands . that is the reason i need a little bit help here. :roll:

Tanks to all :)

Re: Send message (with UDP connection) to server

PostPosted: Fri Sep 18, 2015 5:40 am
by freedom2000
Hi,

See this post page3 example is given : http://www.esp8266.com/viewtopic.php?f=15&t=5496

Re: Send message (with UDP connection) to server

PostPosted: Fri Sep 18, 2015 9:45 pm
by mrburnette
I am setting up an ESP8266-01 as an AP and using UDP to brosdcast GPS sentence specific to GPRMC every 1 seconds. Seems stable.

Code here: https://www.hackster.io/rayburne/tardis-time-esp8266-ap-webserver-gps

Ray