Comments (3)
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
from arduino-esp8266.
Make sure send doesn't return a timeout, if it does, it's normal you get busy s...
when looking for >
from arduino-esp8266.
It had the same reason as #4, so to small _timeout
Thanks.
from arduino-esp8266.
Related Issues (20)
- setUnvarnishedMode() in the initialize() HOT 3
- All read() methods mixing incomming data from multiple connection to one stream HOT 4
- Missing return in getConnectedStations()
- send() method return TIMEOUT status for "SEND OK" HOT 6
- Library on ATmega32U4 with HardwareSerial
- Send UDP data HOT 1
- wifi.send(unsigned int id, String) always returns TIMEOUT HOT 5
- how to do a HTTP GET ? HOT 2
- doesn't work on arduino due HOT 1
- Documentation HOT 1
- MQTT & REST support HOT 4
- permanent timeout HOT 1
- http request timeout problem
- Hardware Serial Port problem,
- Random TIMEOUTs using ESP8266.h library HOT 1
- [question] Close socket from TCP client
- Link to compatible firmware
- [Flow control] Serial incomming data collision HOT 2
- UDP interface HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-esp8266.