discover

package
v0.0.0-...-d22efa2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RightNowFind

func RightNowFind()

立即查询

func Run

func Run(lan string, force bool)

开始运行

func SetDeviceName

func SetDeviceName(deviceName string)

设置设备名字

func SetFwVersion

func SetFwVersion(fw_version string)

设置软件版本

func SetGateway

func SetGateway(gateway string)

设置网关

func SetHwVersion

func SetHwVersion(hw_version string)

设置硬件版本

func SetMask

func SetMask(mask string)

设置子网掩码

func SetPort

func SetPort(port uint16)

设置端口号

Types

type DeviceDiscover

type DeviceDiscover struct {
	DeviceName [16]byte
	HwVersion  [3]byte
	FwVersion  [3]byte
	Ip         [4]byte
	Port       [2]byte
	Mask       [4]byte
	Gateway    [4]byte
	Mac        [6]byte
}
var (
	Device DeviceDiscover
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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