bluetoothutil

package
v1.0.30 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendData

func SendData(sendbuf []byte) (int, error)

func SendDataMultiTimes

func SendDataMultiTimes(sendbuf []byte) error

func Start

func Start(serviceName string, recvCallBack OnRecvCallback) error

func StartByServiceUUID added in v1.0.30

func StartByServiceUUID(serviceName, serviceUUID string, recvCallBack OnRecvCallback) error

Types

type OnRecvCallback

type OnRecvCallback func(client bluetooth.Connection, offset int, value []byte)

Jump to

Keyboard shortcuts

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