test

package
v0.0.0-...-e7a313f Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataToMqtt

func DataToMqtt(l *lua.LState) int

数据推送MQTT 返回参数的int 表示:返回参数的个数

func DataToMysql

func DataToMysql(l *lua.LState) int

func MatchHex

func MatchHex() func(l *lua.LState) int

Types

type HexSegment

type HexSegment struct {
	Name  string
	Value []byte
}

func ExtHex

func ExtHex(expr, hexStr string) []HexSegment

ExtHex 根据输入的expr抽取hexStr expr := "A:[1,2];B:[4,5]" hexStr := "FFFFFF014CB2AA55"

Jump to

Keyboard shortcuts

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