API Overview
LwM2M Object Resources Supported by the IoT Platform
Path |
Object |
Resource |
Function |
---|---|---|---|
/rd?ep={nodeId} |
Device |
Register |
Connecting devices to the platform |
/3/0/3 |
Device |
Firmware Version |
Querying the firmware version |
/4/0/0 |
Connectivity monitoring |
Network Bearer |
Identifying the type of the network to which the device is connected |
/4/0 |
Connectivity monitoring |
Network Signal Strength |
Querying the signal level |
/4/0/8 |
Connectivity monitoring |
Cell ID |
Identifying a cell |
/5/0/1 |
Firmware Update |
Package URI |
Delivering the firmware download URL |
/5/0/2 |
Firmware Update |
Update |
Pushing a firmware upgrade notification |
/5/0/3 |
Firmware Update |
State |
Pushing a firmware upgrade status notification |
/5/0/5 |
Firmware Update |
Update Result |
Querying the firmware upgrade result |
/19/0/0 |
BinaryAppDataContainer |
Data |
Upstream service message transmission |
/19/1/0 |
BinaryAppDataContainer |
Data |
Downstream service data transmission |
BinaryAppDataContainer object:
To simplify LwM2M object use for device manufacturers, Huawei defines this object, which is implemented by chips or modules. Devices only need to call AT commands or functions to send and receive service data, regardless of the LwM2M protocol. For details, see Specifications.
Authenticating a Device
API |
Description |
---|---|
When a device registers with the IoT platform, the platform authenticates the device. The platform subscribes to resources from the device. The device obtains the token delivered by the IoT platform for subscription. Token information must be carried when other APIs (for example, the API for property reporting) are called. |
Reporting Device Properties
API |
Description |
---|---|
A device reports properties to the IoT platform by carrying the token delivered by the IoT platform for /19/0/0 subscription. |
Delivering a Command
API |
Description |
---|---|
The IoT platform delivers a command to a device by packing the command into the payload of the LwM2M write message through the /19/1/0 resource object. |
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