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.
Click to show internal directories.
Click to hide internal directories.