receiver

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Port is the COMport name like COM1
	Port string

	// Baud is the configured baudrate of the serial port
	Baud int
)
View Source
var Cipher *xtea.Cipher

Cipher is a pointer to the cryptpo struct filled during initialization

View Source
var Crypto bool

Crypto set to true if a -key other than "none" was given

View Source
var (
	// Device is the trice receiver to use
	Device string
)

Functions

func DoSeggerRTT

func DoSeggerRTT()

DoSeggerRTT is the endless loop for trice logging

func DoSerial

func DoSerial()

DoSerial is the endless loop for trice logging over serial port

func GetSerialPorts

func GetSerialPorts() ([]string, error)

GetSerialPorts scans for serial ports

Types

type HTTPReceiver

type HTTPReceiver struct {
	IPaddress []int
	// contains filtered or unexported fields
}

HTTPReceiver defines ...

func (*HTTPReceiver) Start

func (p *HTTPReceiver) Start()

Start starts receiving of serial data

func (*HTTPReceiver) Stop

func (p *HTTPReceiver) Stop()

Stop stops receiving of serial data

Jump to

Keyboard shortcuts

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