Closed tprochazka closed 9 years ago
So I found problem, ESP return "> busy..." instead of ">", so it is necessary to make some delay before sending next message , according the ESP8266 should be 20ms, but it is not enough, also with 90ms I still get busy sometimes, it is not good. Maby would be usefull if would be possible to send data multiple times in one block. I mean something like this
prepareToSend(id, length);
sendData(data1);
sendData(data2);
sendData(data3);
Because ESP8266 allow to send 2048 bytes in one block, but preprare 2048 bytes in Arduino memory is problematic, better is prepare smaller block and sent it to the ESP8266
Make sure send doesn't return a timeout, if it does, it's normal you get busy s...
when looking for >
It had the same reason as #4, so to small _timeout Thanks.
I'm trying to send multiple block like this:
but library send tot the serial port this:
So I receive only A and D on the, sometimes A and C. I don't figure out why. Do you have some idea?
The same problem if I want to send messages to different channels like