Documentation ¶
Index ¶
- type Bluetooth
- func (b *Bluetooth) Connect(ctx context.Context, deviceName string) (err error)
- func (b *Bluetooth) Connected() bool
- func (b *Bluetooth) Disconnect() error
- func (b *Bluetooth) ListUUIDs() error
- func (b *Bluetooth) ScanDevices()
- func (b *Bluetooth) StartNotifier(chNotify chan []byte, ServiceUUID [16]byte, CharacteristicUUID [16]byte) error
- func (b *Bluetooth) StartWriter(ch chan []byte, ServiceUUID [16]byte, CharacteristicUUID [16]byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bluetooth ¶
type Bluetooth struct {
// contains filtered or unexported fields
}
func (*Bluetooth) Disconnect ¶
func (*Bluetooth) ScanDevices ¶
func (b *Bluetooth) ScanDevices()
func (*Bluetooth) StartNotifier ¶
Click to show internal directories.
Click to hide internal directories.