Skip to content

Configuration - oneM2M Resources

The configuration file contains settings for the default values or configurable behaviour of oneM2M resources. These settings are used when creating resources and, if allowed, can be overridden by the values in the request.

ACP

Section: [resource.acp]

The default values for Access Control Policies (ACP) resources.

Setting Description Default
selfPermission Default selfPermission when creating an ACP resource. This is the decimal representation of the permissions bitfield. 51

Action

Section: [resource.actr]

The default values for Action resources.

Setting Description Default
ecpContinuous Default for the evalControlParam attribute, when the evalMode is continuous. The unit is number. 1.000
ecpPeriodic Default for the evalControlParam attribute, when the evalMode is periodic. The unit is milliseconds. 10.000 ms = 10 seconds

Container

Section: [resource.cnt]

The default values for Container resources.

Setting Description Default
enableLimits Enable/disable the default limits. False
mni Default for maxNrOfInstances. 10
mbs Default for maxByteSize. 10.000 bytes

Group

Section: [resource.grp]

The default values for Group resources.

Setting Description Default
resultExpirationTime Set the time for aggregating the results of a group request before interrupting. This is the CSE default and can be overwritten by a request. The format is the time in ms. A value of 0 ms means no timeout. 0 ms

LocationPolicy

Section: [resource.lcp]

The default values for the Container of a LocationPolicy resources.

Setting Description Default
mni Default for maxNrOfInstances for the LocationPolicy's container. 10
mbs Default for maxByteSize for the LocationPolicy's container. 10.000 bytes

Request

Section: [resource.req]

The default values for Request resources.

Setting Description Default
expirationTime A <request> resource's expiration time in seconds. Must be >0. 60 seconds

Subscription

Section: [resource.sub]

The default values for Subscription resources.

Setting Description Default
batchNotifyDuration Default for the batchNotify/duration in seconds. Must be >0. 60 sec

TimeSeries

Section: [resource.ts]

The default values for TimeSeries resources.

Setting Description Default
enableLimits Enable/disable the default limits. False
mni Default for maxNrOfInstances. 10
mbs Default for maxByteSize. 10.000 bytes
mdn Default for missingDataMaxNr. 10

TimeSyncBeacon

Section: [resource.tsb]

The default values for TimeSyncBeacon resources.

Setting Description Default
bcni Default timeSyncBeacon interval. This is the duration between to beacon notifications sent by the CSE to an AE or CSE.T he format must be an ISO8601 duration. "PT1H" = 1 hour
bcnt Default timeSyncBeacon threshold. When this time threshold is passed then a beacon notifications is sent to an AE or CSE. 10 seconds