Reporting Device Properties
LwM2M Object Resource
A device reports properties to the IoT platform by carrying the token delivered by the IoT platform for /19/0/0 subscription.
Operation |
CoAP Method |
URI |
Success |
Failure |
---|---|---|---|---|
Notify |
Asynchronous Response |
N/A |
2.05 Content with {value} |
N/A |
Data reported by devices using LwM2M is binary packet data and needs to be parsed using codecs. For details, see Developing a Codec.
Request Parameters
Parameter |
Location |
Mandatory |
Description |
---|---|---|---|
value |
Payload |
Mandatory |
Data reported by the device. |
Request Example
If the value is c4 0d 5a 6e 96 0b c3 0e 2b 30 37, the report example is as follows: NON-2.05 MID=48590, Token=2cb6a673cba24c04, OptionSet={"Observe":22, "Content-Format":"application/octet-stream"}, c4 0d 5a 6e 96 0b c3 0e 2b 30 37
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot