From IoT
Jump to: navigation, search

Go Up to ThingConnect Devices

Pyle Health Weight Scale is a body weight scale from Pyle.

Use the TPyleHealthScale component to communicate with the Pyle Health Weight Scale.

Demo Location

You can find the sample projects for the Pyle Health Weight 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\PyleHealthScale
    • C++: Internet of Things\CPP\Thing Connect\PyleHealthScale

Supported Services

The Pyle Health Weight Scale supports the following Bluetooth LE services and characteristics:

Service Characteristic Property Event Read Subscribe Write
Battery Service Battery Level BatteryLevel OnBatteryLevelUpdate
Device Information Firmware Revision String FirmwareRevision OnFirmwareRevisionUpdate
Hardware Revision String HardwareRevision OnHardwareRevisionUpdate
IEEE 11073-20601 Regulatory Certification Data List IEEERegulatory OnIEEERegulatoryUpdate
Manufacturer Name String ManufacturerName OnManufacturerNameUpdate
Model Number String ModelNumber OnModelNumberUpdate
Serial Number String SerialNumber OnSerialNumberUpdate
Software Revision String SoftwareRevision OnSoftwareRevisionUpdate
System ID SystemID OnSystemIDUpdate

Pyle Health Weight Scale component supports the following custom service:

Service Property Event Read Subscribe Write Description
Custom Service OnPyleHealthMeasurementUpdate
Returns the TPyleHealthScaleData data.

Device Details

  • Device: Pyle
  • Model: BG320
  • Firmware: 13121801
  • Technology: Bluetooth LE

Custom Data Types

The Pyle Health Weight Scale component defines its custom data types in the following unit:

  • Iot.Device.PyleHealthScaleTypes

Custom Pyle Scale Data Measurement

The TPyleHealthScaleData record type returns the custom PyleHealth scale data characteristic.

  • Value: Raw array of bytes received from the device.
  • ScaleType: Returns the TPyleHealthScaleType (enumeration type) from the value.
    • IntermediateMeasurement: Intermediate measurement value.
    • FatScale: Fat scale value.
    • BodyScale: Body scale value.
    • BabyScale: Baby scale value.
  • Gender: Returns the TPyleHealthScaleGender enumeration value for the gender information.
    • Female
    • Male
  • Age: Returns the age value.
  • BodyHeight: Returns the body height value in centimeters.
  • BodyWeight: Returns the body weight in kilos with a precision of 0.1 kg.
  • BodyFatPercentage: Returns the percentage value of the body fat, with a 0.1 % of precision. The value $FF is returned for an error value.
  • BoneWeight: Returns the bone weight in kilos, with a precision of 0.1 kg.
  • MusclePercentage: Returns the muscle value in percentage, with a 0.1 % of precision. The value $FF is returned for an error value.
  • VisceraFat: Returns the percentage value of the visceral fat.
  • WaterPercentage: Returns the percentage value of the body water, with a 0.1 % of precision.
  • Calories: Returns the calories value in Kcal.

See Also