We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The updates to A are loaded in chunks into a 4096 buffer one byte at a time:
A
while (binreader.available()) { byte c = binreader.read(); binbuf[counter] = c; counter++;
This can likely be refactored to something like what was recently used for uploading files to WiGLE, eg:
#define CBUFLEN 1024 byte cbuf[CBUFLEN]; while (filereader.available()){ long bytes_available = filereader.available(); int toread = CBUFLEN; if (bytes_available < CBUFLEN){ toread = bytes_available; } filereader.read(cbuf, toread);
Check if this increases the OTA update speed. This doesn't need to be done for B since that has other bottlenecks elsewhere.
B
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The updates to
A
are loaded in chunks into a 4096 buffer one byte at a time:This can likely be refactored to something like what was recently used for uploading files to WiGLE, eg:
Check if this increases the OTA update speed. This doesn't need to be done for
B
since that has other bottlenecks elsewhere.The text was updated successfully, but these errors were encountered: