Updated on 2024-12-02 GMT+08:00

Reporting Device Properties

LwM2M Object Resource

A device reports properties to the platform by carrying the token delivered by the 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.

Example Request

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