From 3d3a7cfd10b3d44ff36b2b22b7b1968cb95740db Mon Sep 17 00:00:00 2001 From: linwl <304115325@qq.com> Date: Thu, 15 Apr 2021 17:05:08 +0800 Subject: [PATCH] =?UTF-8?q?IOT=E8=B0=83=E7=94=A8=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/telpo/iotgateway/server/IotCommunication.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/telpo/iotgateway/server/IotCommunication.java b/src/main/java/com/telpo/iotgateway/server/IotCommunication.java index 0fda5b8..55ee98b 100644 --- a/src/main/java/com/telpo/iotgateway/server/IotCommunication.java +++ b/src/main/java/com/telpo/iotgateway/server/IotCommunication.java @@ -71,7 +71,7 @@ public class IotCommunication { String ProductKey = "a18mXM6Cvx8"; String DeviceName = "800115470000678"; - DefaultProfile profile = DefaultProfile.getProfile("cn-hangzhou", accessKey, accessSecret); + DefaultProfile profile = DefaultProfile.getProfile("cn-shanghai", accessKey, accessSecret); IAcsClient client = new DefaultAcsClient(profile); try {