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.
How do I UDP receive?
Re: How do I UDP receive?
Postby ESP_Faye » Fri Jul 31, 2015 11:51 am
Hi,
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 !
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 !
Re: How do I UDP receive?
Postby rudi » Mon Aug 10, 2015 7:33 pm
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
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Who is online
Users browsing this forum: No registered users and 2 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.