jugg

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2023 License: BSD-3-Clause Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Jugg

A simple tool for debugging serial devices

banner

Jugg Serial Port tool
Usage: jugg [mode] <arguments> [options]
Modes:
  list		List the available serial ports
  monitor	Monitors the activity on a serial port 
  send		Send data to a serial port
Arguments:
  --help	-h 	display this help menu
  --output	-o	output file
  --input	-i	input file
  --silent	-s	silent the output
  --verbose	-v 	output more data when available

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MonitorPort

func MonitorPort(port string, baud int, output chan PortData)

func SendData

func SendData(port string, baud int, data []byte) (n int, err error)

Types

type PortData

type PortData struct {
	Data []byte
	Err  error
}

type PortDetails

type PortDetails = enumerator.PortDetails

func ListDevices

func ListDevices() ([]*PortDetails, error)

Directories

Path Synopsis
cmd
jugg command

Jump to

Keyboard shortcuts

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