Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create and configure the gateway if you haven't already.

  2. Create devices if you haven't already.

  3. Bind the devices to the gateway.

  4. Use the gateway to publish telemetry events and update a device's configuration.

...

Telemetry events are forwarded to a Cloud Pub/Sub topic, as specified in the console or with the eventNotificationConfigs[i].pubsubTopicName field in the device registry resource. The publishEvent method provides an optional subFolder field for classifying telemetry events. To learn how to publish data from subfolders to separate Pub/Sub topics, see using the HTTP bridge.

Updating device configuration through the gateway

...

View the Cloud console’s device details or use the API to retrieve device state data.