Reply | Reply To: Problem with connection

Home Forums Mooshimeter Support Problem with connection Reply To: Problem with connection

#5851
admin
Keymaster

Hi Jochen,

I have a suspicion that you are encountering a bug where Android is caching the state of the Mooshimeter too aggressively. Here is what I wrote to another user on this topic:

The app determines whether the meter is in “meter” or “bootloader” mode based on a process called service discovery, where Android probes the mooshimeter to see what types of data it offers. It looks like Android is wrongly reporting that the device is in “meter” mode through the service discovery process, and then crashing when the app tries to talk to the bootloader as if it were meter firmware.

This is a documented Android bug that the existing android app tries to work around (using the solution found on this StackOverflow post) but it appears that the workaround doesn’t cover all Android versions. I’ll try to think of another way around it, or at the very least make the failure more graceful.

In the immediate term though – if your Mooshimeter has valid firmware, I think you can get around the problem by simply rebooting your phone. This should clear any cache and when you connect to the Mooshimeter in application mode (not bootloader mode), you should see measurements.

Hope this helps, let me know how it goes. Best
~James