This public repository is dedicated to store and register new LwM2M Objects and Reusable Resources.
Companies that would like to register a new Object or Reusable Resource should follow these steps:
The steps are described below. Please contact helpdesk@omaorg.org in case you encounter any problem during the submission
Objects
or Reusable Resources
topic
or `feature branch for the submitter to apply their changesObjID_companyName
Note: OMA provides an Editor tool called OMA LwM2M Editor / Validator. The editor facilitates the creation of a valid OMA LwM2M Object.
DDF.xml
file
4.2 Create a new Object or update an existing Object file
4.3 Add the Object file to the version_history
folder
4.4 Update the Common.xml
file (if you are registering Reusable Resource(s))The following section describes these steps in detail.
DDF.xml
fileDDF.xml
file must be updatedDDF.xml
file contains all the Objects in the Registry. Therefore, each time a new Object is added, the DDF.xml
file must be updated with a new Object placeholder.Example of a placeholder in the DDF.xml
file for e.g., Object ID = 0, version 1.0
<Item>
<ObjectID>0</ObjectID>
<!-- Integer, this number is allocated by the Maintainer -->
<!-- ObjecID also called ObjID-->
<URN>urn:oma:lwm2m:oma:0</URN>
<!-- URN of the object
for other versions than v1.0 the URN must include the version, e.g., for v1.1 the URN is urn:oma:lwm2m:oma:0:1.1 -->
<Name>LWM2M Security</Name>
<!-- Name of the object -->
<Description>Object description</Description>
<!-- Description of the Object -->
<Owner>Test WG</Owner>
<!-- Name of the organization that has registered the object -->
<Source>0</Source>
<!-- Type of Object:
0 = defined by OMA,
1 = defined by external Standards Development Organizations,
2 = private or individual -->
<Ver>1.0</Ver>
<!-- Version of the object -->
<DDF>version_history/0-1_0.xml</DDF>
<!-- URL to the xml file describing the Object
latest version the filename is stored in the root as ObjID.xml
Previous versions of the file are stored in the version_history folder as ObjID-X_Y.xml, where X.Y is the Object Version.-->
<Vorto></Vorto>
<!-- VOID- Link that opens the Object in the Vorto environment -->
<DDFLink>1</DDFLink>
<!-- 0 => if link to object should not be visible,
1 => if object should be visible (default) -->
<TS>http://www.openmobilealliance.org/release/LightweightM2M/V1_0_2-20180209-A/OMA-TS-LightweightM2M-V1_0_2-20180209-A.pdf</TS>
<!-- URL to the TS of the object, not visible, not used -->
<TSLink>1</TSLink>
<!-- 0 => if link to TS should not be visible,
1 => if link to TS should be visible (default) -->
</Item>
ObjID.xml
fileObjID.xml
file to the allocated branch, or0.xml
, you can modify the current Object directly in the root of the allocated branch. But later, you will have to add the new revision of the Object to the history_folder
; see next step.ObjID-X_Y.xml
file to the version_history
folderversion_history
folder0-1_1.xml
0-1_1.xml
file is the same as the content of the file 0.xml
for version 1.1
version_history
folder a file for each Object in the Registry; the file name indicates the ObjID and the version of the ObjectCommon.xml
file (if adding new Reusable Resources)Common.xml
file.Example of Reusable Resource placeholder
<Item ID="4000">
<!-- Resource ID of the reusable resource
The Maintainer allocates reusable Resource IDs; this is one of the reasons to raise an Issue in the first place -->
<Name>ObjectInstanceHandle</Name>
<!-- Name of the reusable resource -->
<Operations>R</Operations>
<!-- Allowed Operation on the reusable resource-->
<Type>Objlnk</Type>
<!-- Type of the reusable resource -->
<RangeEnumeration></RangeEnumeration>
<!-- Range/Enumeration of the reusable resource
A range is expressed with (..),e.g., from 0 to 10, it is expressed as; `(0..10)`
-->
<Units></Units>
<!-- Unit of the reusable resource
Please note the units expressed in this element MUST comply with the units defined in the SenML Registry -->
<Submitter>OMA</Submitter>
<!-- Name of the organization that has registered the object -->
<Description><![CDATA[Reusable Resource Description]]></Description>
<!-- Description of the reusable resource -->
<TS></TS>
<!-- Link to the technical specification (word, pdf etc.) -->
<TSLink>0</TSLink>
<!-- 0 => if link to TS should not be visible, 1 => if link to TS should be visible (default) -->
</Item>
Failed Validation
or Passed Validation