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

AndroidAppmethodDelphiDemoFiremonkeyIOS

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
AndroidComponentDelphiDemoFiremonkeyIOSLinuxOSXShowcaseWindows

Experience ChatGPT As A Native Cross-Platform Firemonkey Application

DelphiLibraryWindows

Run Large Language Models Entirely On The GPU With Delphi And Vulkan

Code SnippetDelphiDemoLibraryWindows

Add Real-Time AI Voice Conversations To Windows Applications

ComponentDelphiDemoLibraryWindows

Give AI Models Eyes, Ears, And Real-World Capabilities

Sign up for our Newsletter and
stay informed
[mailpoet_form id="1"]

Leave a Reply