Versions Compared

Key

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

A gateway is a device that connects its client devices to ClearBlade IoT Core and performs several tasks on their behalf, such as:

  • communicating Communicating with ClearBlade IoT Core

  • connecting Connecting to the internet when the device can't directly connect

  • authenticating Authenticating to ClearBlade IoT Core when the device can't send its credentials, or when you want to add a security layer of security by using the device and gateway’s credentials

  • publishing Publishing telemetry events, getting configuration data, or setting device state

  • storing Storing and processing data

  • translating Translating protocols

You can manage gateways like any other device: they can publish their telemetry data, report state, and receive configuration data.

ClearBlade IoT Core supports gateway connections and communication over MQTT and HTTP.

Architecture

The following diagram gives an overview of the device/gateway architecture for use with the MQTT bridge.

...

Key concepts

To understand gateways, you should be familiar with the following these concepts:

Bind/unbind: Create or remove an association between the device and gateway. Binding enables devices to access ClearBlade IoT Core through the gateway without providing their JSON Web Token (JWT). Binding is optional; see Non-gateway Device Authenticationdevice authentication for more details. Enable or disable communication between an authenticated device and ClearBlade IoT Core through the gateway.

...

  1. Decide how to authenticate the devices to ClearBlade IoT Core through the gateway.

  2. Create the gateway.

  3. Configure the gateway and get state.

  4. Optional: Create devices.

  5. Use the MQTT or HTTP bridge to relay messages and configuration data between the devices and ClearBlade IoT Core.

...

Try a demo that walks you through creating a gateway and device, binding the device to the gateway, listening for configuration messages, and sending state data on the device’s behalf of the device.

Try an end-to-end demo

Using ClearBlade IoT Core gateways with a Raspberry Pi

See the community tutorial to learn how to set up and use gateways with a Raspberry Pi*.

*Raspberry Pi is a trademark of the Raspberry Pi Foundation.

Pricing

Sent gateway messages are billed as normal device traffic. For details, see the main Pricing documentation.