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
Click to show internal directories.
Click to hide internal directories.