JosephHewitt / wardriver_rev3

A portable ESP32-based WiFi/Bluetooth scanner for Wigle.net.
https://wardriver.uk
GNU General Public License v3.0
221 stars 19 forks source link

wigle uploads are slow #127

Open pejacoby opened 8 months ago

pejacoby commented 8 months ago

Uploading files to Wigle.net via the web interface is very slow. The code reads the input a character at a time and pushes 512 byte chunks of data through the API. Is it possible to speed up the uploads by reading and transmitting a line at a time, perhaps by using filereader.readBytesUntil() as seen in get_config_option()?

JosephHewitt commented 8 months ago

I agree it is slow. I'll investigate this some more.

JosephHewitt commented 7 months ago

Reopening this since the uploads are still slow on one of my Wardrivers. This seems to affect some devices more than others.

pejacoby commented 7 months ago

Definitely saw an increase in upload speed on my Hackerboxes WiSpy.