samfarm

package
v0.0.0-...-89eb2bc Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSamDevices

func GetSamDevices(ctx *Context) (map[uint64]SamDevice, error)

func ReaderChannel

func ReaderChannel(sam samav2.SamAv2, input, output chan []byte)

func RecvResp

func RecvResp(chns []chan []byte) ([]byte, int, error)

func SendCmd

func SendCmd(input []byte, chns []chan []byte) (int, error)

Types

type Context

type Context struct {
	*pcsc.Context
}

func NewContext

func NewContext() (*Context, error)

type SamDevice

type SamDevice samav2.SamAv2

Directories

Path Synopsis
* this app implements a SAMav2 cluster through MQTT topics
* this app implements a SAMav2 cluster through MQTT topics

Jump to

Keyboard shortcuts

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