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 18 Next »

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

  • communicating with ClearBlade IoT Core

  • connecting to the internet when the device can't directly connect itself, such as a ZigBee or Bluetooth device

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

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

  • storing and processing data

  • 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 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 Authentication for more details. Enable or disable communication between an authenticated device and ClearBlade IoT Core through the gateway.

Setup

To use gateways with ClearBlade IoT Core:

  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.

End-to-end demo

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 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.

  • No labels