Hello,
I use your wifi ESP8266 module.
I realized a smartphone app using AppInventor that sends a PUT request with associated data.
I have set your module with the following command as the server.
AT+CWMODE=2
AT+CIPMUX=1
AT+CIPSERVER=1,80
My app works perfectly.
I just saw that the canal was incremented with each new shipment of a PUT command. There is a limitation to 5 channels.
Why the channel changes every time while the PUT request always comes from the same IP address?
So I had to use your command AT + CIPCLOSE = channel number.
But when I run this command on ESP8266 module then I instantly on my smartphone the 1103 error: unable to post or put the text ....
Could tell me how to set my system to prevent this error appearing on my smartphone.
Following the closing command, my channel is closed, and I still continue to send data without worries, but it's not nice to see this error happen on my smartphone.
Do you have a solution.
Thank you for your very precise help.
Your sincerely.
Julien LAUNAY
1103 error: unable to PUT text: AT+CIPCLOSE error
Re: 1103 error: unable to PUT text: AT+CIPCLOSE error
Postby ESP_Faye » Tue Mar 01, 2016 1:57 pm
Hi,
"
AT+CWMODE=2
AT+CIPMUX=1
AT+CIPSERVER=1,80
"
It means that you create a TCP server on ESP8266, it is allowed 5 TCP connections at most by default.
The "channel number" you said is actually the TCP connection number, the first TCP client that connected to ESP8266 will get number "0", the next will be number "1", and next number "2"... and so on.
Command AT+CIPCLOSE=X means to disconnect to the number X TCP connection.
"
AT+CWMODE=2
AT+CIPMUX=1
AT+CIPSERVER=1,80
"
It means that you create a TCP server on ESP8266, it is allowed 5 TCP connections at most by default.
The "channel number" you said is actually the TCP connection number, the first TCP client that connected to ESP8266 will get number "0", the next will be number "1", and next number "2"... and so on.
Command AT+CIPCLOSE=X means to disconnect to the number X TCP connection.
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.