cbitstech / Purple-Robot

Sensing and automation platform for Android.
Other
38 stars 19 forks source link

Purple Robot incorrectly enters 'Gathering Sensor Data' mode #188

Closed JohnJ-Guiry closed 11 years ago

JohnJ-Guiry commented 11 years ago

Test Setup: Leave Purple Robot collect a large amount of data, while WiFi is off over several hours. Disable further sensor collection, enable HTTP Upload, and ensure PR is uploading data to the server.

Expected Results: PR automatically uploads all data to the server, and only halts if there are communication issues with the server

Actual Results: PR will upload several packets of data for 5 or 10 minutes, before incorrectly entering a 'Gathering Sensor Data' mode, and ceasing further uploads until manually prompted to again.

Possible Cause: HTTPUpload thread is under pressure when examining a large quantity of files ...

Devices under test: 2 x Galaxy Nexus (with > 10000 files built up), 2 x Nexus 4s (with >1000 files built up)

PR Version: 1.3.0

audaciouscode commented 11 years ago

Fixed in public release of 1.3.0.