Updated on 2026-09-30 GMT+08:00
Usage
Process
Figure 1 Broadcast communication sequence diagram
Procedure
- A device initiates connection authentication. For details about how to set authentication parameters, see MQTT Device Connection Authentication.
- After the device is authenticated, it initiates a broadcast topic subscription. The broadcast topic must be prefixed with $oc/broadcast/. Example:
$oc/broadcast/test
- The application server delivers a broadcast message (see Broadcasting a Message) and specifies the topic name and message content.
POST https://{Endpoint}/v5/iot/{project_id}/broadcast-messages Content-Type: application/json X-Auth-Token: ******** { "topic_full_name" : "$oc/broadcast/test", "message" : "eyJhIjoxfQ==" }
The topic must be prefixed with $oc/broadcast/, and the message content must be encoded using Base64.
- The device receives the broadcast message. Example message:
Topic: $oc/broadcast/test Data content {"a":1}
Parent topic: Broadcast Communications
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank 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