Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

This section explains how devices can use the HTTP bridge to communicate with ClearBlade IoT Core. For general information about HTTP and MQTT, see Protocols.

Complete these steps before using the HTTP bridge:

  • Set up one or more device registries, including a Cloud Pub/Sub topic for telemetry events

  • Create devices

Publishing telemetry events

Please use these instructions to publish telemetry events.

Configuring devices

You can use ClearBlade IoT Core to configure devices. A device configuration consists of binary data that can be used to update firmware, reboot a device, turn on a feature, or change other properties.

To configure a device using the HTTP bridge, first define the configuration in ClearBlade IoT Core, then request the configuration via the device.

Updating device configuration

When using the HTTP bridge, the device must explicitly request device configurations with the API. ClearBlade IoT Core does not push configurations to devices over the HTTP bridge; instead, devices must poll for new configurations.

To get the device configuration that's currently available from ClearBlade IoT Core, use a getConfig request.

Setting device state

Use a setState request to report device state to ClearBlade IoT Core. State data must be base64-encoded.

To retrieve device state data, view the device details in Cloud console or use the API.

  • No labels