ble

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Discover

func Discover(stop chan struct{}, cb func(device Description)) error

Discover scans for BLE devices and calls the provided callback for each discovered device.

func NewDevice added in v0.14.0

func NewDevice(addr bluetooth.Address) msg.Device

NewDevice creates a new BLE device with the given address.

Types

type Description added in v0.14.0

type Description struct {
	Address bluetooth.Address
	RSSI    int
	Name    string
}

The Description of a BLE device.

Jump to

Keyboard shortcuts

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