November 2018
Intermediate to advanced
556 pages
14h 42m
English
From the Command Prompt, run the device emulator as follows:
$ node cloudiot_mqtt_example_nodejs.js \ --projectId=iiot-book \ --cloudRegion=europe-west1 \ --registryId=iiot-book-registry \ --deviceId=my-iiot-device \ --privateKeyFile=../../../certificates/device_private.pem \ --algorithm=RS256
The tool will send data to the official GCP MQTT Hub: mqtt.googleapis.com:8883. We can now check the status of our Google Cloud Function:
