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/ResponseEntity/ErrorCode.cs | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs b/Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs index 1312266..8090ec3 100644 --- a/Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs +++ b/Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs @@ -58,9 +58,9 @@ public readonly static string NoAddMainAccount = "Can't bind master account!"; //鑾峰彇浣忓畢鐨勭綉鍏冲垪琛ㄥけ璐ワ紒 public readonly static string FailedGetGatewaysForHome = "Failed to get list of gateways for home!"; - - //姝ょ綉鍏冲凡缁戝畾鍒颁竴涓綇鎵�锛岃鍦ㄧ粦瀹氬埌鍙︿竴涓綇鎵�涔嬪墠灏嗗叾閲嶇疆銆傛垨鑰呴暱鎸夌綉鍏虫寜閿�3S锛屽彉鎴愮孩鐏父浜繘鍏ュ己鍒剁粦瀹氭ā寮忥紒 - public readonly static string UnableToBindGateway = "This gateway is already bound to one residence, please reset it before binding to another residence.Or long press the gateway button 3S, the red light is always on to enter the forced binding mode!"; + + //姝ょ綉鍏冲凡缁戝畾鍒颁竴涓綇鎵�锛岃鍦ㄧ粦瀹氬埌鍙︿竴涓綇鎵�涔嬪墠灏嗗叾閲嶇疆銆傛垨鑰呴暱鎸夌綉鍏虫寜閿�3S锛屽彉鎴愮孩鐏父浜紝鐒跺悗閲嶈瘯锛� + public readonly static string UnableToBindGateway = "This gateway is already bound to one residence, please reset it before binding to another residence.Or long press the gateway button 3S, the red light is always on, and then try again!"; //缃戝叧鍥轰欢鐗堟湰杩囦綆锛岃鍏堝崌绾э紒 public readonly static string GatewayVersionLow = "The gateway firmware version is too low, please upgrade first!"; //璇峰厛缁戝畾鏃犵嚎缃戝叧 2020-01-11 @@ -69,6 +69,7 @@ public readonly static string LoginInAnotherDevice = "Your account is signed in with a remote connection on another device!"; //鎮ㄥ苟涓嶅叿鏈夋鍒嗕韩鑰呮浣忓畢鐨勫畬鍏ㄦ帶鍒舵潈闄�! public readonly static string InsufficientAuthority = "You don't have full control over this sharer's home!"; - + //瀵嗙爜閿欒鎴栬�呯綉鍏宠鍏跺畠浣忓畢缁戝畾锛屼笌缃戝叧閫氳澶辫触! 璇烽暱鎸夌綉鍏虫寜閽�3S锛岃繘鍏ョ孩鐏父浜紝鐒跺悗閲嶆柊鎼滅储锛� + public readonly static string GatewayPasswordError = "The password is wrong or the gateway is bound by another home, communication with the gateway failed! Please long press the gateway button 3S, the red light is always on, and then search again!"; } } -- Gitblit v1.8.0