Updated on 2024-01-17 GMT+08:00

Overview

Introduction

IoTDA supports MQTT-based machine-to-machine (M2M) communications. The platform processes the connection and communication requests from devices, so you can focus on service implementation. With M2M communications, devices can communicate with each other flexibly.

Figure 1 Service flow
  • During M2M communications, messages sent through the PUB interface and messages received through the SUB interface are counted as charging messages. No additional fee is generated.

Scenarios

  • Instant messaging scenario where a sender and recipient communicate with each other.
  • Smart home scenario where messages are exchanged between mobile apps and smart devices.
  • Device linkage scenario where devices exchange data and communicate with each other.

Constraints

  • Not available for the basic edition users.
  • Only available for devices connected using MQTT.
  • Max. topic length: 128 bytes.
  • Max. MQTT message size: 1 MB.
  • Max. subscribers of a topic: 1,000 devices.
  • An MQTT device can subscribe to up to 100 topics (50 custom topics at most).
  • Max. upstream messages for an MQTT device: 50 messages per second.