1103 error: unable to PUT text: AT+CIPCLOSE error

julien
Posts: 1
Joined: Tue Feb 16, 2016 9:16 pm

1103 error: unable to PUT text: AT+CIPCLOSE error

Postby julien » Tue Feb 16, 2016 9:18 pm

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

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

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.

Who is online

Users browsing this forum: No registered users and 2 guests