Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!


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.

Related posts

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes


Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores


DelphiCon 2020 FireMonkey Sessions Available Starting November 19


Powerful Commercial Gorilla3D Framework Upgraded For Delphi FireMonkey On Windows And Android

Sign up for our Newsletter and
stay informed

Leave a Reply