ble-scale-yunchen
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

BLE Scale Yunchen

Read weight and body measurements via BLE from a yunchen digital weight scale.

Usage

const profile: YunchenScaleProfile = {
  gender: YunchenScaleProfileGender.Male,
  age: 30,
  height: 180,
  waistCircumference: 80,
  hipCircumference: 90
}

await DiscoveryService.startScanning(scale => {
  const measurement = await scale.getMeasurement(profile)
  console.log(measurement)
})

Dependents (0)

Package Sidebar

Install

npm i ble-scale-yunchen

Weekly Downloads

0

Version

2.0.1

License

MIT

Unpacked Size

13 kB

Total Files

17

Last publish

Collaborators

  • jdiehl