bluetooth

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: MIT Imports: 2 Imported by: 0

README

bluetooth

Documentation

Index

Constants

View Source
const (
	DEFAULT_DURATION = 10 * time.Second
	DEFAULT_DEBUG    = false
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.0.2

type Config struct {
	Duration time.Duration
	Debug    bool
}

type Event added in v0.0.2

type Event struct {
	Address   string    `json:"address"`
	Name      string    `json:"name"`
	RSSI      int16     `json:"rssi"`
	CreatedAt time.Time `json:"created_at"`
}

type Scanner added in v0.0.2

type Scanner struct {
	// contains filtered or unexported fields
}

func NewScanner added in v0.0.2

func NewScanner(cfg ...*Config) *Scanner

func (*Scanner) Start added in v0.0.2

func (s *Scanner) Start() chan Event

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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