diff --git a/README.md b/README.md index e4126008..3c633f1a 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,8 @@ You should connect the new device to the new thing. ### Testing +#### Connect to the PROD environment + ```shell $ iot-cloud-cli ping -u "" -p "" -t > ``` @@ -53,4 +55,12 @@ Property value sent successfully 81 Property value sent successfully 87 ``` -If you visit https://create.arduino.cc/iot/devices the "Generic ESP8266 Module" device status should be "Online". \ No newline at end of file +If you visit https://create.arduino.cc/iot/devices the "Generic ESP8266 Module" device status should be "Online". + +#### Connect to the DEV environment + +The DEV environment is using a different broker, so you need to add the option `--host`: + +```shell +$ iot-cloud-cli ping --host tcps://mqtts-sa.iot.oniudra.cc:8884 -u "" -p "" -t "" +```