hi, I'm using my esp8266 module as a TCP server. when sending data from multiple client devices it oftenly shows data missing, In that cases +ipd is missing in my received data. expecting your valuable suggetions and solutions on this issue.
My settings are as follows:
AT+CWMODE=1
AT+CWDHCP=0,0
AT+CIPSTA="STA_IP","GATEWAY","SUBNET MASK"
AT+CWJAP="SSID","PASS_WORD"
AT+CIPMUX=1
AT+CIPSERVER=1,2000 I'M USING PORT 2000
AT+CIPSTO=0
AFTER the setting , client devices starts connect to the server device and sends data.. the +ipd missing occures when data receives from multiple clients...........please help me to resolve this issue...
missing +ipd
Re: missing +ipd
Postby Her Mary » Wed Jun 28, 2017 3:42 pm
In some cases, for example, bad network environment, TCP may combine 2 packets to be 1 packet, but the data should never missing.
You can check whether the <length> is correct or not. For example, maybe you sent 2 packets of which length is 6, but what you got is a +IPD with length 12, that is normal, not a bug. It combines 2 packets to be 1.
Code: Select all
+IPD,<length>:xxxxxx
You can check whether the <length> is correct or not. For example, maybe you sent 2 packets of which length is 6, but what you got is a +IPD with length 12, that is normal, not a bug. It combines 2 packets to be 1.
Re: missing +ipd
Postby vichu537 » Tue Aug 01, 2017 3:21 pm
Her Majesty wrote:In some cases, for example, bad network environment, TCP may combine 2 packets to be 1 packet, but the data should never missing.Code: Select all
+IPD,<length>:xxxxxx
You can check whether the <length> is correct or not. For example, maybe you sent 2 packets of which length is 6, but what you got is a +IPD with length 12, that is normal, not a bug. It combines 2 packets to be 1.
hi,
thanks for the replay. But the data missing issue still exist in some rare events..
Who is online
Users browsing this forum: No registered users and 4 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.