You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This directory contains samples for Google Cloud IoT Core API. `Google Cloud IoT Core`_ allows developers to easily integrate Publish and Subscribe functionality with devices and programmatically manage device authorization.
7
+
Before you run the sample, you must retrieve the Google root certificate. For example, `wget https://pki.goog/roots.pem` or `curl https://pki.goog/roots.pem > roots.pem`.
7
8
The following example runs the sample using the project ID `blue-jet-123` and the device name `my-python-device`:
8
9
9
10
python cloudiot_mqtt_example.py \
@@ -71,9 +72,9 @@ To run this sample:
71
72
[--mqtt_bridge_hostname MQTT_BRIDGE_HOSTNAME]
72
73
[--mqtt_bridge_port {8883,443}]
73
74
[--jwt_expires_minutes JWT_EXPIRES_MINUTES]
74
-
75
+
75
76
Example Google Cloud IoT Core MQTT device connection code.
0 commit comments