lifespan-dt-fetch

command module
v0.0.0-...-77aabf6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2020 License: MIT Imports: 12 Imported by: 0

README

lifespan-dt-fetch

Go program to get values from LifeSpan DT walking desk threadmill using Bluetooth (BLE)

Install

go install github.com/codingtony/lifespan-dt-fetch

Build

go build

Use (tested on Linux only)

Requires sudo to access hci0

sudo lifespan-dt-fetch 
Scanning for 30s...
Distance: 0.43 [ A1 AA 00 2B 00 00 ]
Calories: 40 [ A1 AA 00 28 00 00 ]
Steps:    998 [ A1 AA 03 E6 00 00 ]
Time:     0:16:28 [ A1 AA 00 10 1C 00 ]
Speed:    1.60 [ A1 AA 01 3C 00 00 ]
Disconnecting [ 00:0c:bf:37:b2:84 ]... (this might take up to few seconds on OS X)
[ 00:0c:bf:37:b2:84 ] is disconnected 

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL