Updated on 2023-01-18 GMT+08:00
Data Reporting
Overview
A device connected to IoTDA can send data to IoTDA in the following ways:
- Reporting device messages: A device reports custom data to the platform through message reporting APIs. The platform does not parse or store the messages reported. Instead, it forwards the messages to other Huawei Cloud services for storage and processing based on data forwarding rules. Then, the data is further processed through the consoles or APIs of the other services.
- Reporting raw device data (binary): A device reports raw code streams through binary reporting APIs. The platform uses codecs to parse the raw data into JSON data defined in the product model and then performs subsequent processing.
- Reporting device properties: A device reports property data defined in the product model through property reporting APIs. The platform parses the data and then performs subsequent processing.
- Batch reporting device properties: A gateway reports data of a batch of devices to the platform at a time. The platform parses the data and then performs subsequent processing.

Considering power consumption and bandwidth, CoAP devices can report only raw binary code streams. The platform uses codecs to convert the code streams into JSON data defined in the product model before performing subsequent processing.
Application APIs
Parent topic: Message Communications
Feedback
Was this page helpful?
Provide feedback
Thank you very much for your feedback. We will continue working to improve the
documentation.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot