ble

package
v0.0.0-...-55fd646 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindDeviceByAddress

func FindDeviceByAddress(adapter *bluetooth.Adapter, address string) bluetooth.ScanResult

Return a specific device from its address. TODO: right now it's unbounded, ad a max timeout.

func ScanUntilTimeout

func ScanUntilTimeout(t float32) []bluetooth.ScanResult

Scan for Bluetooth LE devices for the specified time t.

Devices are returned in descendind RSSI order.

func Send

func Send(address, text string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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