Object registry

The Object Registry contains LWM2M objects based on the LWM2M Object model.  An object is a specified collection of reusable resources and represents a particular type of physical sensor, actuator, connected object or other data source. The reusable resources, which make up the Object, represent static and dynamic properties of the connected physical object and the embedded software contained therein. The Internet Protocol for the networking of Smart Objects (IPSO) Alliance seeks to register extensible smart object definitions based on the OMA LWM2M object resource model, with the ultimate aim of ensuring device and application interoperability through an agreed set of objects, resources, properties, attributes, and operations. Since IPSO has pre-defined data models for a wide variety of device types, based on the OMA LWM2M standard, they are readily usable by any application that implements OMA LWM2M. Object Definition files are XML files that begin with either an <ObjectDefinition> tag or an <ObjectDefinitions> tag.  The object registry contains predefined objects and it is possible to define your new objects. It is possible to view an existing predefined object. It is also possible to create an object. You will be able to view the object created but will not be able to delete it.

To define a single object and any accompanying resources, you need to define in the specified XML model. For example, the following XML defines an object with ID 3336:


  <LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd">
    <Object ObjectType="MODefinition">
        <Name>My Object 1 name</Name>
        <Description1> Description1
        </Description1>
        <ObjectID>3336</ObjectID>
        <ObjectURN>urn:oma:lwm2m:ext:3336</ObjectURN>
        <MultipleInstances>Multiple</MultipleInstances>
        <Mandatory>Optional</Mandatory>
        <Resources>
            <Item ID="5514">
                <Name>My Resource 0</Name>
                <Operations>R</Operations>
                <MultipleInstances>Single</MultipleInstances>
                <Mandatory>Mandatory</Mandatory>
                <Type>String</Type>
                <RangeEnumeration/>
                <Units/>
                <Description> Resource Description
                </Description>
            </Item>
        </Resources>
    </Object>
</LWM2M>

What's Inside 


This section contains the following pages: