msupply-foundation / msupply-cold-chain

Android application for viewing and monitoring temperatures of fridges
GNU General Public License v3.0
3 stars 3 forks source link

Logging stops #218

Closed mark-prins closed 1 year ago

mark-prins commented 1 year ago

Fixes #212

The blue maestro sensors are not reporting connection status correctly:

to work around this - am now disconnecting blue maestro while catching and ignoring errors, then connecting.

Another issue is that the uuid generation is throwing an error uuid.v1(): Can\'t create more than 10M uuids/sec when being called within a map loop if there are a lot of logs. Am pausing for a millisecond if this happens to allow the uuid generation to continue.

mark-prins commented 1 year ago

awesome - thanks @josh-griffin for taking a peek!