Iot.Device.WeightGurusScale.TWeightGurusScale
Go Up to ThingConnect Devices
Weight Gurus Scale is a scale with biometric calculator.
Use the TWeightGurusScale
component to communicate with the Weight Gurus Scale.
Contents
Demo Location
You can find the sample projects for the Weight Gurus Scale in the following IoT demo directories after installing the component:
- Start | Programs | Embarcadero RAD Studio Berlin | Samples and then navigate to:
- Delphi:
Internet of Things\Object Pascal\Thing Connect\WeightGurusScale
- C++:
Internet of Things\CPP\Thing Connect\WeightGurusScale
- Delphi:
Supported Services
The Weight Gurus Scale component supports the following Bluetooth LE services and characteristics:
Service | Characteristic | Property | Event | Read | Subscribe | Write |
---|---|---|---|---|---|---|
Device Information | Firmware Revision String | FirmwareRevision
|
OnFirmwareRevisionUpdate
|
|||
Hardware Revision String | HardwareRevision
|
OnHardwareRevisionUpdate
|
||||
Manufacturer Name String | ManufacturerName
|
OnManufacturerNameUpdate
|
||||
Model Number String | ModelNumber
|
OnModelNumberUpdate
|
||||
Serial Number String | SerialNumber
|
OnSerialNumberUpdate
|
||||
Software Revision String | SoftwareRevision
|
OnSoftwareRevisionUpdate
|
||||
System ID | SystemID
|
OnSystemIDUpdate
|
The Weight Gurus Scale component supports the following custom services:
Service | Property | Event | Read | Subscribe | Write | Description |
---|---|---|---|---|---|---|
WeightGurus Service | Command
|
Sends a command to the device. | ||||
Feature
|
OnFeatureUpdate
|
Returns the type of device (Weight Gurus Scale). | ||||
OnAppendMeasurementUpdate
|
Returns the estimated body composition measurements from the device. | |||||
OnResponseUpdate
|
Returns the response data from the device. | |||||
OnMeasurementUpdate
|
Returns the user measurements from the device. |
Device Details
- Device:
Weight Gurus
- Model:
Weight Gurus Scale
- Firmware:
1.0
- Technology: Bluetooth LE
Custom Data Types
The Weight Gurus Scale defines its custom data types in the following unit:
- Iot.Device.WeightGurusScaleTypes
Weight Gurus Scale Response
The TWeightGurusScaleResponse
type returns the response to the request data, received from the Weight Gurus Scale.
Value
: Raw array of bytes received from the device.
Weight Gurus Scale Command
The TWeightGurusScaleCommand
type contains the command data to send to the Weight Gurus Scale.
Value
: Raw array of bytes to be sent to the device.
Weight Gurus Scale Measurement
The TWeightGurusScaleMeasurement
type returns the user measurements from the device.
Value
: Raw array of bytes received from the device.PresentProperties
: Set of properties in the measurement.- Possible values are:
MeasurementStatus, Impedance, Timestamp, UnitSystem, UserNumber, WeightDifference, Weight
- Possible values are:
UnitSystem
: Preferred user unit system:Kilograms: 0
.Pounds: 1
.Stones: 2
.
Weight
: Weight measurement returned from the device, in the selectedUnitSystem
.Impedance
: Feet impedance value returned from the measurement.Timestamp
: UTC Timestamp value when the measurement was taken.WeightDifference
: Difference between the goal weight estimated and the real measurement.UserNumber
: User profile number of the measurement.MeasurementStatus
: Measurement reliability status.
Weight Gurus Scale Append Measurement
The TWeightGurusScaleAppendMeasurement
type returns the estimated body composition measurements from the device.
Value
: Raw array of bytes received from the device.PresentProperties
: Set of properties in the measurement.- Possible values are:
BasalMeta, Battery, BodyFat, BodyWater, BoneDensity, MuscleMass, Timestamp, UserNumber, VisceralFat
- Possible values are:
Timestamp
: UTC Timestamp value when the append measurement was taken.UserNumber
: User profile number of the measurement.BasalMeta
: The estimated calories of the measurement.BodyFat
: Percentage body fat value.BodyWater
: Percentage of the total body water in the body.VisceralFat
: Percentage of the visceral fat.MuscleMass
: Total muscle mass percentage estimation.BoneDensity
: Percentage of the total bone density calculated from the measurement.Battery
: Battery level of the device.
Known Issues
- Weight Gurus Scale device cannot be paired to a Windows machine. If the target platform of your application is 32-bit Windows or 64-bit Windows, it cannot be paired to the Weight Gurus Scale.
Device Specific Information
- Pairing: Press and hold the button on the back of the scale to start Bluetooth and initiate the pairing mode. This mode allows you to retrieve information (serial number, hardware revision etc.) and to set a personalized broadcast name. If you define the
BroadCastName
const, pairing is optional. - Measuring: Press
SEL
on the scale, select a user and weigh yourself to start Bluetooth. - Be sure
BroadCastName
const has a correct value. To get theBroadCastName
andDeviceName
, run a Bluetooth scanner. You can deploy theBLEScanner
demo project found in the Samples directory (\Samples\Object Pascal\Multi-Device Samples\Device Sensors and Services\Bluetooth\BLEScanner
).
Here is an example of what you are looking for:
Mode | BLEScanner | Const |
---|---|---|
|
|
|
|
|
|