From 454ac814944cf956ff02b84b70ba2ec68e5e5ea1 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期三, 15 一月 2020 19:38:47 +0800 Subject: [PATCH] 2020-01-15 1.优化MQTT连接。 2.增加本地通信加密。 --- Crabtree/SmartHome/HDL/Operation/Control.cs | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/Crabtree/SmartHome/HDL/Operation/Control.cs b/Crabtree/SmartHome/HDL/Operation/Control.cs index c8a7a12..31cf297 100644 --- a/Crabtree/SmartHome/HDL/Operation/Control.cs +++ b/Crabtree/SmartHome/HDL/Operation/Control.cs @@ -153,6 +153,20 @@ case Command.UpdataLightDimmingTheLargestLevelACK: case Command.UpdataLightDimmingMaximumOrMinimumACK: case Command.WriteManageWirelessNetACK: + //**********鏂板mqtt涓婁綅鏈哄崗璁�********** + case Command.ReadGateWayURLACK: + case Command.SetGateWayURLACK: + case Command.ReadGateWayClientIDUsernamePasswordACK: + case Command.SetGateWayClientIDUsernamePasswordACK: + case Command.ReadGateWayAESEncryptionACK: + case Command.SetGateWayAESEncryptionACK: + case Command.ReadGateWayTopicACK: + case Command.SetGateWayTopicACK: + case Command.ReadGateWayAdminInfoACK: + case Command.SetGateWayAdminInfoACK: + case Command.ReadGateWayLocalEncryptionACK: + case Command.SetReadGateWayLocalEncryptionACK: + //************************************ case Command.ReadGateWayModelInfoACK: case Command.ReadGatewayServerIPACK: case Command.SetGateWayModelInfoACK: @@ -470,6 +484,20 @@ case Command.WriteManageWirelessNet: case Command.UpdataLightDimmingTheLargestLevel: case Command.UpdataLightDimmingMaximumOrMinimum: + //**********鏂板mqtt涓婁綅鏈哄崗璁�********** + case Command.ReadGateWayURL: + case Command.SetGateWayURL: + case Command.ReadGateWayClientIDUsernamePassword: + case Command.SetGateWayClientIDUsernamePassword: + case Command.ReadGateWayAESEncryption: + case Command.SetGateWayAESEncryption: + case Command.ReadGateWayTopic: + case Command.SetGateWayTopic: + case Command.ReadGateWayAdminInfo: + case Command.SetGateWayAdminInfo: + case Command.SetGateWayLocalEncryption: + case Command.ReadGateWayLocalEncryption: + //************************************ case Command.ReadGateWayModelInfo: case Command.ReadGatewayServerIP: case Command.SetGateWayModelInfo: -- Gitblit v1.8.0