bt

package
v0.0.0-...-683b059 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package bt contains helper functions to work with Bluetooth.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpectPowered

func ExpectPowered(powered bool) option

ExpectPowered returns an option that configures expected powered value of Bluetooth adapter for ValidateBluetoothData function.

func ValidateBluetoothData

func ValidateBluetoothData(ctx context.Context, msg *dtcpb.HandleBluetoothDataChangedRequest, opts ...option) error

ValidateBluetoothData validates whether HandleBluetoothDataChangedRequest contains correct Bluetooth data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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