LWM2M Object model
LWM2M objects are functionalities the LWM2M client provides. The client contains the object instances which is a collection of resources. A Resource is a single, typed, item of data which is exposed by a LWM2M client for consumption by an application. The diagram below shows the relationship betweenLWM2M Client, Object, and Resources.
For example, a LWM2M location object contains the following 6 resources:
An Object is a named collection of individual resource definitions which is mapped directly to a device or to a software component for the purpose of data sharing. A Resource is read, written or executed. Resources within Objects are accessed with simple URIs:/{Object ID}/{Object Instance}/{Resource ID}. For example, in the following figure to access the Firmware Update state,you need to use the following URI: /5/0/3