Resource Types determine the properties used when creating Resources.
Resource Types are defined by the OMA LwM2M standard; see LwM2M Resources on the OMA website. Yet, additional Resource Types can be created in DDM
Access Resource Types
Navigation: Settings -> Hardware Types -> Resource Types tab
Create/Edit Resource Type
Navigation: Settings -> Hardware Types -> Resource Types tab: +Create or click a Resource Type
- Name: Enter a name for the Resource Type.
- Type ID: The Type ID must be a number between 0 and 2147483647 that is unique among Resource Types within the Device Network.
- Data Type: click the drop-down arrow and select a data type from the list. The list selections are:
Note: Any update to this field also updates all Multiple Instances of the Resource Type that may exist on any Smart Object Types.
4. Access Type: Allowed operations for the Resource Type.
Note: If the Multiple Instances option is On, only Access Type Read will be available for use, but no check is done when creating the Resource Type.
5. Mandatory: Whether the Resource Type is required according to the standard.
6. Multiple Instances: Allows multiple occurrences of this Resource Type in the same Smart Object.
Note: Once the Resource Type is created, the Multiple Instance option cannot be changed.
7. Unit: The unit that is reported by the Resource Type.
8. Range: The range of unit values/measurements.
9. Save: Click Save to create the Resource Type.
Resources are the components of Smart Objects that store measurement values and units. For example, the Temperature (3303) Smart Object has one Resource for the numerical measurement, e.g. 25, and another Resource for the unit such as C (Celsius) or F (Fahrenheit). DDM supports several data types available to Resources: integer, Boolean, float, string, opaque, and more.
Resources can be categorized into Resource Collections for the purpose of Rule creation.