protocol

package
v0.0.0-...-50a2d83 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandType

type CommandType int
const (
	Version CommandType = iota
	Model
	Stop
	Left
	Right
)

type InstructRepo

type InstructRepo interface {
	Instruct(ct CommandType, data1, data2 byte) []byte
	InstructLen() int
	CheckReplay(rt ReplayType, replay []byte) error
	ReplayData(replay []byte) []byte
}

type ReplayType

type ReplayType int
const (
	NoneReplay ReplayType = iota
	VersionReplay
	ModelReplay
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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