Connecting to LPMS-B2 via Bluetooth low energy (BLE, Bluetooth 4)
General
LPMS-B2 does not require any specific settings to put the sensor into BLE (Bluetooth low energy) mode. Once powered up, it should be discoverable by default.
To check the BLE connection we suggest to use a phone app (eg. BLE Scanner) to see if you can discover and connect to the sensor via BLE.
Below is an example of using a BLE scanner to scan and connect to the sensor.
Once connected, the sensor should display a few GATT services for data communication.Due to limitations of the Bluetooth module in our sensor, we are currently streaming sensor data (in LP-BUS format) via the battery service with UUID 00001101-0000-1000-8000-00805F9B34FB as shown below:
NOTE: Please see further information about LP-BUS in our manual from page 22: https://lp-research.com/wp-content/uploads/2020/07/20200702LpmsUserManual.pdf
LPMS-B2 Android Application
Our Android application to connect to LPMS-B2 can be downloaded here as APK file:
https://bitbucket.org/lpresearch/openmat/downloads/LpmsB2App-3.6.9.apk
Documentation on how to use this application is here:
https://lp-research.com/wp-content/uploads/2020/10/LpmsB2AppManual20160901.pdf
This application allows connecting to LPMS-B2 either via Bluetooth 2 or Bluetooth low energy.
An example how to communicate with LPMS-B2 from your own Android application code is here:
https://bitbucket.org/lpresearch/lpmsb2forandroid/src/master/