Chat freely about anything...

User avatar
By doughboy
#11240 How come it takes a long time (220ms to be precise) to complete each AT+CIPSEND?

The actual sending of command and data is fast, but to wait for the SEND OK confirmation always takes 220ms.
Can I do the next AT+CIPSEND without waiting for the SEND OK?

This is ridiculous.
a 207 byte data takes 11 seconds to send. data is broken down into 52 sends by Print class, and no, it is not a problem with the Print class, but the firmware is clearly doing something to take 220ms before responding with SEND OK

Anyone else experienced this and have a solution?
Thanks
User avatar
By doughboy
#11286 it almost seems like the esp8266 firmware was designed and written for interactive use and not for program use. Hence the commands must be human readable, and for interactive use, 220ms lag is not noticeable. It's like the time your finger comes off the enter key. But for a program, this is not feasible. They should have wrote the firmware to use some kind of enum to assign numeric values to commands, so it can be quickly processed via case / switch instead of having to wait for the string to complete and then parse , etc etc.