discovery

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Provides SMA device discovery functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscoverInverters

func DiscoverInverters(ifi *net.Interface, timeout time.Duration) ([]net.Addr, error)

DiscoverInverters discovers inverters connected to the network at the specified interface.

The function sends a multicast discover request and waits the specified duration for responses. Returns the addresses of responding devices.

Types

This section is empty.

Jump to

Keyboard shortcuts

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