linktype

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: MulanPSL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MsgType

type MsgType uint8
const (

	// 读取设备属性(下行)
	MsgTypeDvcReadProp MsgType = iota + 1
	// 读取设备属性(回复)
	MsgTypeDvcReadPropReply

	// 修改设备属性(下行)
	MsgTypeDvcWriteProp
	// 修改设备属性(回复)
	MsgTypeDvcWritePropReply

	// 调用设备功能(下行)
	MsgTypeDvcFuncInvk
	// 调用设备功能(回复)
	MsgTypeDvcFuncInvkReply

	// 设备事件上报
	MsgTypeDvcEvent

	// 绑定子设备(上行)
	MsgTypeGwBindSubdvc
	// 绑定子设备(回复)
	MsgTypeGwBindSubdvcReply

	// 解绑子设备(上行)
	MsgTypeGwUnbindSubdvc
	// 解绑子设备(回复)
	MsgTypeGwUnbindSubdvcReply

	// 子设备上下线(上行)
	MsgTypeGwOnofflineSubdvc
	// 子设备上下线(回复)
	MsgTypeGwOnofflineSubdvcReply

	// 查询拓扑关系(上行)
	MsgTypeGwTopoQuery
	// 查询拓扑关系(回复)
	MsgTypeGwTopoQueryReply

	// 拓扑关系变化(下行)
	MsgTypeGwTopoChange

	// 云端消息推送(下行)
	MsgTypeCfgPush

	// 设备端配置查询(上行)
	MsgTypeCfgQuery
	// 设备端配置查询(回复)
	MsgTypeCfgQueryReply

	// 透传消息(下行)
	MsgTypeTransparent
	// 透传消息(回复)
	MsgTypeTransparentReply

	// 非法消息
	MsgTypeInvalid // 开发者注意:该消息类型保持放在最后,否则会影响消息类型迭代器!
)

注意与 Link 保持一致,用于设备影子操作

Jump to

Keyboard shortcuts

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