codesys

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CODESYS = "codesys"

	// V2 Protocol constants
	V2ResponseSignature = 0xbb
	MinV2ResponseLength = 10 // Minimum valid V2 response size: Header (7 bytes) + minimal metadata
	OSNameOffset        = 65
	OSTypeOffset        = 97
	ProductTypeOffset   = 129
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CODESYSPlugin

type CODESYSPlugin struct{}

func (*CODESYSPlugin) Name

func (p *CODESYSPlugin) Name() string

func (*CODESYSPlugin) PortPriority

func (p *CODESYSPlugin) PortPriority(port uint16) bool

func (*CODESYSPlugin) Priority

func (p *CODESYSPlugin) Priority() int

func (*CODESYSPlugin) Run

func (p *CODESYSPlugin) Run(conn net.Conn, timeout time.Duration, target plugins.Target) (*plugins.Service, error)

Run implements CODESYS protocol detection with multi-version fallback

func (*CODESYSPlugin) Type

func (p *CODESYSPlugin) Type() plugins.Protocol

Jump to

Keyboard shortcuts

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