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
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:
Decide how to authenticate the devices to ClearBlade IoT Core through the gateway.
Optional: Create devices.
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.
Pricing
Sent gateway messages are billed as normal device traffic. For details, see the main Pricing documentation.