File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ You should connect the new device to the new thing.
41
41
42
42
### Testing
43
43
44
+ #### Connect to the PROD environment
45
+
44
46
``` shell
45
47
$ iot-cloud-cli ping -u " <Device ID>" -p " <Secret Key>" -t < Thing ID>>
46
48
```
@@ -53,4 +55,12 @@ Property value sent successfully 81
53
55
Property value sent successfully 87
54
56
```
55
57
56
- If you visit https://create.arduino.cc/iot/devices the "Generic ESP8266 Module" device status should be "Online".
58
+ If you visit https://create.arduino.cc/iot/devices the "Generic ESP8266 Module" device status should be "Online".
59
+
60
+ #### Connect to the DEV environment
61
+
62
+ The DEV environment is using a different broker, so you need to add the option ` --host ` :
63
+
64
+ ``` shell
65
+ $ iot-cloud-cli ping --host tcps://mqtts-sa.iot.oniudra.cc:8884 -u " <Device ID>" -p " <Secret Key>" -t " <thing-id>"
66
+ ```
You can’t perform that action at this time.
0 commit comments