Access Weight Info From Wahoo Balance Scale Via Bluetooth In Appmethod On Android And IOS

Delphi XE7 Firemonkey Appmethod Wahoo Scale Demo AndroidDeveloper Brian Alexakis from Embarcadero has a blog post up where he demonstrates how to connect to a Wahoo Balance scale with Bluetooth from Appmethod. Appmethod supports both Object Pascal and C++ with the Firemonkey framework. This demo is in C++ but the code is almost the same in Object Pascal. Appmethod has a component called TBluetoothLE which you can use to pair with the Wahoo Balance scale to get weight data that it generates. In the blog post it shows how you first define the UUID of the device and then use the TBluetoothLE component to discover and pair with the device. Once the device is discovered you read the characteristics (weight) data via the CharacteristicRead event. The number that is reported via the event is an integer and the demo shows you how to convert it to pounds. Full source code is provided with the demo and it should compile for Android and IOS. Additionally, you should be able to load up the project in C++Builder or convert the source to Object Pascal and re-create it in Delphi XE7 if needed.

Head over and check out the full blog post about pairing Appmethod with the Wahoo Balance scale via Bluetooth before downloading the demo source code.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Access Weight Info From Wahoo Balance Scale Via Bluetooth In Appmethod On Android And IOS by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Delphi XE7 Firemonkey USB Library Windows Mac OSX
Access USB Devices With This Library In Delphi XE7 Firemonkey On Windows And Mac OSX

Erik Salaj from Winsoft has released a new USB library wrapper for Delphi XE7 Firemonkey. This wraps the HIDAPI library...

Close