protocol

package
v0.0.0-...-88de81d Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DATA_CODE_LEN = 6
	INDEX_MAX     = 127
)
View Source
const (
	EXTRA_LEN      = 40
	EXTRA_HEAD_LEN = 5
)
View Source
const (
	GUIDE_CODE_LEN = 4
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DataCode

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

func NewDataCode

func NewDataCode(u8 uint16, index int) *DataCode

func (*DataCode) GetBytes

func (d *DataCode) GetBytes() []byte

type DatumCode

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

func NewDatumCode

func NewDatumCode(apSsid, apBssid, apPassword, ipAddress []byte) *DatumCode

func (*DatumCode) GetBytes

func (d *DatumCode) GetBytes() []byte

func (*DatumCode) GetU8s

func (d *DatumCode) GetU8s() []uint16

type EsptouchGenerator

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

func NewEsptouchGenerator

func NewEsptouchGenerator(apSsid, apBssid, apPassword []byte, ipAddress net.IP) *EsptouchGenerator

func (*EsptouchGenerator) GetDCBytes2

func (e *EsptouchGenerator) GetDCBytes2() [][]byte

func (*EsptouchGenerator) GetGCBytes2

func (e *EsptouchGenerator) GetGCBytes2() [][]byte

type GuideCode

type GuideCode struct {
}

func NewGuideCode

func NewGuideCode() *GuideCode

func (*GuideCode) GetU8s

func (g *GuideCode) GetU8s() []uint16

Jump to

Keyboard shortcuts

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