@@ -71,7 +71,7 @@ public class IotCommunication { | |||||
String ProductKey = "a18mXM6Cvx8"; | String ProductKey = "a18mXM6Cvx8"; | ||||
String DeviceName = "800115470000678"; | String DeviceName = "800115470000678"; | ||||
DefaultProfile profile = DefaultProfile.getProfile("cn-hangzhou", accessKey, accessSecret); | |||||
DefaultProfile profile = DefaultProfile.getProfile("cn-shanghai", accessKey, accessSecret); | |||||
IAcsClient client = new DefaultAcsClient(profile); | IAcsClient client = new DefaultAcsClient(profile); | ||||
try { | try { | ||||