serial

package
v0.0.0-...-38ef4c5 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(serialport string)

func Disconnect

func Disconnect()

func GetDataPoint

func GetDataPoint(emulate bool) protocol.DataPoint

func List

func List() []string

func ListSerialPorts

func ListSerialPorts(cmd *cobra.Command, args []string)

func ReadErrors

func ReadErrors(emulate bool) []protocol.Error

func ReadProtocolAndFirmware

func ReadProtocolAndFirmware(emulate bool) (string, string)

func ReadSerialNumber

func ReadSerialNumber(emulate bool) string

func Receive

func Receive() ([]byte, error)

func Send

func Send(data []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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