Skip to content

Latest commit

 

History

History
136 lines (121 loc) · 4.68 KB

lwm2m-api.md

File metadata and controls

136 lines (121 loc) · 4.68 KB
layout assignees title description upload-models upload-tenant device-profile device-objects data-fetch device-credentials nosecurity-credentials wakaama-terminal device-objects-ce otafirmware-transport sota object-attributes
docwithnav
nick
LWM2M Device API Reference
Supported LWM2M API Reference for IoT Devices
0 1 2
image title
/images/lwm2m/upload-ce.png
Login to your ThingsBoard instance and go to System settings -> Resource Library, then click "+" button
image title
/images/lwm2m/upload-1-ce.png
Upload Resource model files
image title
/images/lwm2m/upload-2-ce.png
Make sure you can see new files in the list
0 1 2 3
image title
/images/lwm2m/upload-tenant-0-ce.png
Tenant can not delete files, uploaded by the System administrator
image title
/images/lwm2m/upload-tenant-1-ce.png
Tenant can Upload and overwrite Resource model files, uploaded by the System administrator for the same resource
image title
/images/lwm2m/upload-tenant-2-ce.png
Tenant can delete files, uploaded by himself
image title
/images/lwm2m/upload-tenant-4-ce.png
When Tenant deletes his files, file uploaded by the System administrator remains
0 1 2
image title
/images/lwm2m/deviceprofile-ce.png
Go to Device Profiles, click "+", key-in the Profile name and select or create the Rule chain, which will process messages
image title
/images/lwm2m/deviceprofile-1-ce.png
Select the "LwM2M" transport type from the drop-down menu
image title
/images/lwm2m/deviceprofile-2-ce.png
New Profile was successfully created
0 1
image title
/images/lwm2m/device-objects-ce.png
Go to Device Profiles, select "LWM2M", go to "Transport configuration" tab, click "Edit" button
image title
/images/lwm2m/device-objects-1-ce.png
Add objects from the drop-down menu. Objects should be uploaded to the Resource library
0 1 2
image title
/images/lwm2m/data-fetch-ce.png
Tick "Attrubutes" for data that you want to get when device connects and store it as ThingsBoard attributes
image title
/images/lwm2m/data-fetch-1-ce.png
Tick Telemetry and\or Observe boxes, if you would like the Server to observe them and fetch updated values
image title
/images/lwm2m/data-fetch-3-ce.png
Save changes
0 1 2 3
image title
/images/lwm2m/device-credentials-ce.png
Default is No Security mode
image title
/images/lwm2m/device-credentials-1-ce.png
Add device credentials: Pre shared Key
image title
/images/lwm2m/device-credentials-2-ce.png
Add device credentials: Raw Public Key
image title
/images/lwm2m/device-credentials-3-ce.png
Add device credentials: X.509 certificate
0
image title
/images/lwm2m/device-credentials-ce.png
With No Security mode, Endpoint Client Name is used to identify the device
0 1
image title
/images/lwm2m/wakaama-terminal.png
Terminal window with Wakaama client
image title
/images/lwm2m/wakaama-terminal-1-ce.png
You can see the last message in the Transport Log section
0 1
image title
/images/lwm2m/key-name-ce.png
Open the transport configuration settings
image title
/images/lwm2m/key-name-1-ce.png
Open LwM2M model settings
0 1
image title
/images/lwm2m/otafirmware-transport-ce.png
Open the device transport configuration settings
image title
/images/lwm2m/otafirmware-transport-1-ce.png
Select the firmware update strategy
0
image title
/images/lwm2m/sota-ce.png
Select the software update strategy from the drop down menu
0 1 2 3 4 5
image title
/images/lwm2m/object-attrib-1-ce.png
Open the device profile configuration page, LwM2M model section
image title
/images/lwm2m/object-attrib-2-ce.png
Add new attribute
image title
/images/lwm2m/object-attrib-3-ce.png
Click to open the drop-down list
image title
/images/lwm2m/object-attrib-4-ce.png
Select the attribute from the list
image title
/images/lwm2m/object-attrib-5-ce.png
Key-in the value and save
image title
/images/lwm2m/object-attrib-6-ce.png
Save the device profile configuration

{% include get-hosts-name.html %} {% include docs/reference/lwm2m-api.md %}