File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 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.
4141
4242### Testing
4343
44+ #### Connect to the PROD environment
45+
4446``` shell
4547$ iot-cloud-cli ping -u " <Device ID>" -p " <Secret Key>" -t < Thing ID>>
4648```
@@ -53,4 +55,12 @@ Property value sent successfully 81
5355Property value sent successfully 87
5456```
5557
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