suggestions to the example script
@@ -35,9 +35,11 @@ echo
echo "* Login to Grafana (using SSO): $DASHBOARD_URL"
echo "* Search for the 'Examples' dashboard"
echo
-bold "Login in with 'drg':"
+bold "Login with 'drg':"
bold "---------------------"
echo
+echo "* Get drg: https://github.com/drogue-iot/drg/releases/latest"
+echo "* Execute:"
echo " drg login $API_URL"
echo
bold "Initial application and device:"
@@ -59,8 +61,8 @@ echo
echo "Binary content mode (MQTT v5 only):"
echo " mqtt sub -v -h $MQTT_INTEGRATION_HOST -p $MQTT_INTEGRATION_PORT -pw \"\$(drg whoami -t)\" -s --cafile build/certs/endpoints/root-cert.pem -t 'app/example-app'" -up content-mode=binary
echo
-echo "You can also subscribe to data using WebSockets, receiving Cloud Events:"
-echo " websocat -H=\"Authorization: Bearer \$(drg whoami -t)\" $WEBSOCKET_INTEGRATION_URL/example-app"
+echo "You can also subscribe to data using drg, receiving Cloud Events:"
+echo " drg stream example-app"
echo
bold "Publish data:"
bold "---------------"
@@ -96,7 +98,7 @@ fi
echo
echo "Then, send a command to that device from another terminal window:"
echo
-echo " http POST $API_URL/api/command/v1alpha1/apps/example-app/devices/device1 command==set-temp target-temp:=25" \"Authorization:Bearer \$\(drg whoami -t\)\"
+echo " drg cmd set-temp device1 --app example-app --payload '{\"target-temp\:25}' "
echo
if [[ "$DIGITAL_TWIN" == "true" ]]; then
