点击或拖拽改变大小

MqttHelperExtraMqttReceiveData 方法

解析从MQTT接受的客户端信息,解析成实际的Topic数据及Payload数据
Parse the client information received from MQTT and parse it into actual Topic data and Payload data

命名空间:  HslCommunication.MQTT
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public static OperateResult<string, byte[]> ExtraMqttReceiveData(
	byte mqttCode,
	byte[] data,
	AesCryptography aesCryptography = null
)

参数

mqttCode
类型:SystemByte
MQTT的命令码
data
类型:SystemByte
接收的MQTT原始的消息内容
aesCryptography (Optional)
类型:HslCommunication.Core.SecurityAesCryptography
AES数据加密信息

返回值

类型:OperateResultString, Byte
解析的数据结果信息
参见