ESP8266 Developer Zone The Official ESP8266 Forum 2015-08-10T19:33:53+08:00 https://bbs.espressif.com:443/feed.php?f=16&t=725 2015-08-10T19:33:53+08:00 2015-08-10T19:33:53+08:00 https://bbs.espressif.com:443/viewtopic.php?t=725&p=3119#p3119 <![CDATA[Re: How do I UDP receive?]]>
jonshouse wrote:
I am using the Beta1 AT interpreter, I tried flashing beta2 but the board just sits with the blue LED on and does not work.

How do I UDP receive ?

The AT+CIPSERVER commands seems to ignore UDP data. My product requires on UDP receive as it is a core part of the protocol.




you need no 'server' for UDP, udp works without response from a 'server'

try this:

AT+CIPSTART="UDP","0",0,1025,2

now - the esp is listening at port 1025 at the ip
( AP or Station or AP + Station - exactly what you start with AT+CWMODE..

send a UDP message to the ip of the esp8266
example with delphi & udp client from indy

IdUDPClient1.send('28.0.0.0', 1025, hello world');

or with an other esp that connect with AT command the listening esp.
desination is: IP of the esp, Port of esp ( in this example 1025 )

best wishes
rudi ;-)

best example in own src, try this:

'listening'
viewtopic.php?f=31&t=230

'sending'
viewtopic.php?f=31&t=440

Statistics: Posted by rudi — Mon Aug 10, 2015 7:33 pm


]]>
2015-07-31T11:51:14+08:00 2015-07-31T11:51:14+08:00 https://bbs.espressif.com:443/viewtopic.php?t=725&p=2957#p2957 <![CDATA[Re: How do I UDP receive?]]>
Please download esp_iot_sdk_v1.2.0, and unzip it.

In folder "document", there is a documentation "4B-ESP8266__AT Command Examples", it shows how to do UDP transmission.

Thanks for your interest in Espressif Systems and ESP8266 !

Statistics: Posted by ESP_Faye — Fri Jul 31, 2015 11:51 am


]]>
2015-07-11T02:54:50+08:00 2015-07-11T02:54:50+08:00 https://bbs.espressif.com:443/viewtopic.php?t=725&p=2621#p2621 <![CDATA[How do I UDP receive?]]>
How do I UDP receive ?

The AT+CIPSERVER commands seems to ignore UDP data. My product requires on UDP receive as it is a core part of the protocol.

Statistics: Posted by jonshouse — Sat Jul 11, 2015 2:54 am


]]>