Topic | Pairing from a PC without BLE113

Home Forums Mooshimeter Support Pairing from a PC without BLE113

Viewing 3 reply threads
  • Author
    • #13979 Reply


      I intend to implement a driver/library to communicate with the Mooshimeter from SIGROK, using the standard linux bluetooth stack (as opposed to the one specific dongle supported by the official Python API).

      I cannot, however, get the mooshimeter to pair with my machine, neither in Linux nor in Windows 10.

      I have a BLE-capable adapter built into my computer, and scanning for devices shows my Mooshimeter as expected.

      When attempting to pair in windows, I am prompted for a passkey. Sometimes it works with six zeroes (“000000”) and sometimes with eight (“00000000”), but even after pairing, the device does not expose any services in the device properties and as far as I can tell, it is only paired but never connected.

      When attempting to pair in Linux using the bluetoothctl frontend, I am either prompted for a passcode and none works, like so:

      Or, if I attempt to force Simple Pairing (i.e. the bluetooth mode without passkeys and PINs), it looks like this:

      The time between “Connected: yes” and the AuthenticationFailed error is less than one second.

      The meter works with my Android phone, where I do not need to manually pair it at all or input any passkey – simply selecting it from the Scan screen in the mooshimeter app is enough to connect and start reading values.

      What are the correct connection parameters for the Mooshimeter?
      Has anyone successfully paired with it from a PC rather than a mobile device?

    • #13996 Reply

      After reading the README at (Thanks!), I tried fetching the BlueZ stack from git and running it with experimental features enabled (this currently includes BLE and GATT as far as I can tell), and some new things happened:

      This new output only appears about a second after the passkey prompt first comes up, but the authentication still fails, both with and without passkey.

    • #13997 Reply

      Another update: libsooshi’s example program and the more advanced sooshichef by the same developer work just fine, even without pairing with the Mooshimeter.

      It appears the problem was in my head – I didn’t realize bluetooth devices could be used without some form of handshaking/pairing but apparently it works when done by the right interface.

      In conclusion: Don’t try to pair with the Mooshimeter – you’re not supposed to need to do that. This is taken care of with GATT.

    • #14024 Reply

      Hi Albin,

      This was a good read, thank you! Sorry I didn’t get to it sooner.

      Bluetooth terminology is very confusing, especially when you get to Bluetooth Low Energy. In my opinion they shouldn’t have called it Bluetooth Low Energy, they should have used another name entirely because it’s a very different radio protocol than Bluetooth “Classic”.

      Anyway, the Mooshimeter does not use pin codes or pairing, just a basic GATT profile over BLE.


Viewing 3 reply threads
Reply To: Pairing from a PC without BLE113
Your information:

This site is protected by reCaptcha and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.