Updated on 2025-12-26 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
- Only the standard and enterprise editions support the M2M function.
- 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.
Parent topic: M2M Communications
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot