HI 樂鑫:
We use 2016 May 11 AT non-SDK firmware.
We try to use the following AT command setting
AT
ATE0
AT+CWMODE_CUR=1
AT+CWJAP_CUR="ZYXELO","84149929"
AT+CIPSTART="TCP","192.168.91.2",5001
AT+CIPMODE=1
AT+CIPSEND
...
then we try to random send data to server, and try to get the echo data from server.
(Half-duplex). Each time, we send the data less than 1460 bytes.
Our server is a simple socket code in linux, just like
while(1)
{
n = recv(socket, buffer, BUFFER_SIZE);
sendbytes =send(socket, buffer, n);
}
In most case, the esp8266 module can get correct echo packet and report it to MCU.
資料都是小於1460 bytes.. server 都正確收到並 echo 回ESP8266 ...
But sometimes, error happen:
the server echo correct data , however, the esp8266 並沒有把所有data 回報MCU...
只回報了部分 data...
也有時候 回報的data 內容也可能會錯..
It seems that data loss between ESP8266 to MCU...
IPMODE=1, TCP connect, data loss 在 ESP8266 回報MCU 時??
Who is online
Users browsing this forum: No registered users and 5 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.