Mallik J
Mallik J

Reputation: 1

Reading weight from Weighing scale

I am trying to read weight from a weighing scale (BLE device) through bluetooth using my android app. I am able to connect to it and retrieve the services and characterstics with the given UUIDs(from the official documentation). But not sure how to read the weight value. In the documentation they have also mentioned that I have to pass some commands to read the values from the weighing scale. I am not sure how to pass the commands to the weighing scale through bluetooth. Please help me in this regard, thanks in advance.

Upvotes: 0

Views: 3552

Answers (1)

kashyap
kashyap

Reputation: 508

Connect your bluetooth device and get an instance of inputstream to fetch data. Or use this library. https://github.com/akexorcist/Android-BluetoothSPPLibrary

Upvotes: 1

Related Questions