AT+CIPSEND=id,length

dmitron1036
Posts: 1
Joined: Fri Dec 09, 2016 10:38 pm

AT+CIPSEND=id,length

Postby dmitron1036 » Fri Dec 09, 2016 10:44 pm

server sends a file to the client.


30ms : AT+CIPSEND=0,128OK> Recv 128 bytesAT+CIPSEND=0,128busy s...

I'm waiting for
ОК. (">" not waiting, not always see it)
I send 128 bytes.
waiting for SEND OK
receive: busy s...
than ОК
90 ms :AT+CIPSEND=0,128OK> Recv 128 bytesAT+CIPSEND=0,128busy s...SEND OK

previous packet - received 128 bytes.
a packet with "busy" i do not receive.

User avatar
pratik
Posts: 349
Joined: Wed Jun 29, 2016 7:17 pm
Location: India
Contact:

Re: AT+CIPSEND=id,length

Postby pratik » Sun Dec 11, 2016 1:18 pm

Hi!
You need to wait until the busy s... is not returned. Then issue CIPSEND and send data.
Regards,
Pratik Panda
Website: http://www.PratikPanda.com

Custom firmware, Knowledge base and freelancing (ESP8266/ESP32):
http://www.iot-bits.com

Who is online

Users browsing this forum: No registered users and 1 guest