sensor

package
v0.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sensor

type Sensor struct {
	Name   string
	DataCh chan pm5.Status

	ble.UUID
	*ble.Service
	// contains filtered or unexported fields
}

Sensor a ble sensor fit for both CPM and RSC and more...

func NewCyclePower

func NewCyclePower(deviceName string) *Sensor

NewCyclePower Create a new Cycle Power Service

func NewRunningSpeed

func NewRunningSpeed(deviceName string) *Sensor

NewRunningSpeed Create a new Running Speed and Cadance Service

Jump to

Keyboard shortcuts

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