From 418f62a85b3d8414859c79cd8903125542d82e6b Mon Sep 17 00:00:00 2001 From: Maurizio Branca Date: Tue, 13 Apr 2021 18:22:12 +0200 Subject: [PATCH] Add how to connect to DEV environment --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 "" +```