Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 2.5 KB

README.md

File metadata and controls

54 lines (41 loc) · 2.5 KB

Mooshimeter for Android

A Kotlin/Compose app for the Mooshimeter, a two-channel Bluetooth LE multimeter. This is a rewrite of the vendor's 2016 Java app, targeting Android 17 (API 37) with a minimum of Android 12 (API 31).

It installs alongside the official app rather than replacing it: the application ID is com.mooshim.mooshimeter.kt, and it is signed with a different key.

What it does

  • Scans for and connects to a meter over BLE, with no location permission
  • Live two-channel readings, autoranging, zeroing, and the derived math channel
  • All inputs the firmware offers: current, voltage, internal temperature, aux voltage, resistance and diode
  • A graph with independent per-channel pan and zoom
  • Spoken readout and a continuity buzzer, both of which keep working with the screen off. The buzzer plays at media volume so the phone's silent mode cannot swallow it; the app has its own mute, on by default, in the bar at the top of the meter screen
  • Recording to the meter's SD card, and downloading those logs over BLE with resume
  • Reboot and shipping mode, from the ⋮ menu on the meter screen. Shipping mode hibernates the meter and switches its radio off for storage or posting; bridging the C and Ω inputs for ten seconds wakes it again
  • A protocol console for inspecting the meter's configuration tree directly

Not included, deliberately: the firmware updater (the vendor's implementation is Texas Instruments code under terms incompatible with the GPL), support for firmware older than February 2016, and the SAMPLE_INTENT broadcast.

Building

./gradlew :protocol:test        # the protocol test suite, no device needed
./gradlew :app:assembleDebug

:protocol is pure JVM Kotlin with no Android dependency, which is what lets the wire protocol be tested in seconds without an emulator. It also carries a simulated meter that speaks the real protocol, so most of the app can be exercised with no hardware at all — enable "Show the simulated meter" in settings.

Status

Verified against a real meter (PCB 8, firmware 2018-03-28): scanning, connection, the configuration tree handshake, live streaming, autoranging, every input, graphing, log listing and download, and the continuity buzzer. Not yet verified on hardware: a value-for-value comparison against the vendor's app.

Licence

GPL-3.0-or-later, inherited from the original app, whose sources carry GPLv3 headers. See LICENSE.

This project is not affiliated with or endorsed by Mooshim Engineering.