APIs Device to Cloud One M2 M mgmtObj

The mgmtObj (resourceType = 13) are children of a node . The mgmtObj resource contains management data which represents individual M2M management functions. It functions mostly as a base class for defining specializations for management aspects, such as for “battery”, “memory”, etc.

Note: All instances of mgmtObj share the same resourceType, namely 13. They are distinguished by setting the mandatory mgmtDefinition attribute to the appropriate value (see “Interpretation of mgmtDefinition”) on this page.

Supported child resources

Child Resources TypeMultiplicityDescription
subscription0..nA subscription to a resource allows an entity in the oneM2M architecture to be notified about changes of the subscribed-to resource.
semanticDescriptor0..n
transaction0..n

Universal and common attributes

NameFull NameTypeMultiplicityMode
tyresourceTypem2m:resourceType / integer1RO
riresourceIDm2m:ID / string1RO
rnresourceNamestring1WO
piparentIDm2m:ID / string1RO
lbllabelsm2m:labels / list of string0..1(L)RW
acpiaccessControlPolicyIDsm2m:acpType / list of resouceID0..1(L)RW
ctcreationTimem2m:timestamp1RO
ltlastModifiedTimem2m:timestamp1RO
atannounceTolist of URI0..1 (L)RW
aaannouncedAttributelist of string0..1 (L)RW
holder0..1RW

Mode: RW = Read/Write, RO = Read Only, WO = Write Once

Resource specific attributes

NameFull NameMultiplicityModeCreateUpdateDescription
mgdmgmtDefinition1WOMNPSpecifies the type of mgmtObjresource e.g. software, firmware, memory. The list of the values of the attribute can be seen below.
objectIDsobis0..1(L)WOONPContains the list URNs that uniquely identify the technology specific data model objects used for this mgmtObjresource as well as the managed function and version it represents. This attribute shall be provided during the creation of the mgmtObjresource and shall not be modifiable afterwards. If the mgmtObjresource is mapped to multiple technology specific data model objects, this attribute shall list all URNs for each mapped technology specific data model objects. This is mandatory for the , for which the data model is not specified by oneM2M but mapped from technology specific data model.
objectAttributesee specializations0..nRWOOEach objectAttribute is mapped from a leaf node of a hierarchical structured technology specific data model object (including oneM2M data model and the technology specific data model objects) based on the mapping rules defined by each specialization. In other words: These are the attributes added by each specialization.

Mode: RW = Read/Write, RO = Read Only, WO = Write Once

Request Optionality: NP = not provisioned, O = optional, M = Mandatory

Interpretation of “mgmtDefinition”

ValueInterpretation
1001firmware
1002software
1003memory
1004areaNwkInfo
1005areaNwkDeviceInfo
1006battery
1007deviceInfo
1008deviceCapability
1009reboot
1023myCertFileCred

DVI - DeviceInfo attributes

DeviceInfo (resourceType=13, mgmtDefinition=1007)

NameFull NameMultiplicityModeCreateUpdate
mgdmgmtDefinition1WOMNP
obisobjectIDs0..1(L)WOONP
dcdescription0..1RWOO
dlbdeviceLabel1RWMO
modmodel1WOMNP
dvnmdeviceName0..1RWOO
loclocation0..1RWOO

Attribute: mgd (mgmtDefinition)

Specifies the type of mgmtObjresource e.g. software, firmware, memory. The list of the values of the attribute can be seen below.

Attribute: obis (objectIDs)

Contains the list URNs that uniquely identify the technology specific data model objects used for this mgmtObjresource as well as the managed function and version it represents. This attribute shall be provided during the creation of the mgmtObjresource and shall not be modifiable afterwards. If the mgmtObjresource is mapped to multiple technology specific data model objects, this attribute shall list all URNs for each mapped technology specific data model objects. This is mandatory for the mgmtObj, for which the data model is not specified by oneM2M but mapped from technology specific data model.

Attribute: dc (description)

Text format description of .

Attribute: dlb (deviceLabel)

Unique device label assigned by the manufacturer. The value of the attribute typically exposes the device’s serial number that is specific to a manufacturer and possibly further restricted within the manufacturer by a deviceType or model.

Attribute: mod (model)

The name/identifier of the device mode assigned by the manufacturer.

Attribute: dvnm (deviceName)

Device name.

Attribute: loc (location)

Location where the device is installed. It may be configured via the user interface provided by the ‘presentationURL’ property or any other means. The type of this attribute is a URN and follows the Geo URI format (see https://en.wikipedia.org/wiki/Geo_URI_scheme and RFC 5870). A simple geo URI might look like: geo:48.861069,2.335796 where the two numerical values represent latitude and longitude respectively, and are separated by a comma. They are coordinates of a horizontal grid (2D). If a third comma-separated value is present, it represents altitude; so, coordinates of a 3D grid. Coordinates in the Southern and Western hemispheres as well as altitudes below the coordinate reference system (depths) are signed negative with a leading dash.

CRDS - credentials

Credentials (resourceType=13, mgmtDefinition=1029)

NameFull NameMultiplicityModeCreateUpdateDescription
mgdmgmtDefinition1WOMNPSpecifies the type of mgmtObjresource e.g. software, firmware, memory. The list of the values of the attribute can be seen below.
objectIDsobis0..1(L)WOONPContains the list URNs that uniquely identify the technology specific data model objects used for this mgmtObjresource as well as the managed function and version it represents. This attribute shall be provided during the creation of the mgmtObjresource and shall not be modifiable afterwards. If the mgmtObjresource is mapped to multiple technology specific data model objects, this attribute shall list all URNs for each mapped technology specific data model objects. This is mandatory for the , for which the data model is not specified by oneM2M but mapped from technology specific data model.
dcdescription0..1RWOOText format description of .
credentialID0..1RWOO
credentialSecret0..1RWOO
credentialToken0..1RWOO