Skip to content

Instantly share code, notes, and snippets.

@jaimejim
Last active February 5, 2019 10:01
Show Gist options
  • Save jaimejim/151ed76c96061bcdf6b70cb1ec63863b to your computer and use it in GitHub Desktop.
Save jaimejim/151ed76c96061bcdf6b70cb1ec63863b to your computer and use it in GitHub Desktop.
LWM2M:
Object:
ObjectID: 3001
ObjectURN: "urn:oma:lwm2m:ext:3001"
Name: Level
MultipleInstances: Multiple
Mandatory: Optional
Description: "Sensor or Actuator for Proportional Level Control"
Resources:
-
ResourceID: 5001
Name: "Current Level"
Operations: RW
MultipleInstances: Single
Mandatory: Mandatory
Type: Float
RangeEnumeration: ""
Units: "ucum:%"
Description: "The Current Level Value in % or units specified by Units resource"
_ID: 5001
-
ResourceID: 5701
Name: Units
Operations: R
MultipleInstances: Single
Mandatory: Optional
Type: String
RangeEnumeration: ""
Units: ""
Description: "Engineering Units"
_ID: 5701
-
ResourceID: 5052
Name: Actions
Operations: CRWD
MultipleInstances: Multiple
Mandatory: Optional
Type: String
RangeEnumeration: JSON
Units: ""
Description: "Reusable resource for current collection of actions"
_ID: 5052
-
ResourceID: 5053
Name: "Current Action"
Operations: R
MultipleInstances: Multiple
Mandatory: Optional
Type: Integer
RangeEnumeration: ""
Units: ""
Description: "Index in Actions array of the current action"
_ID: 5053
-
ResourceID: 5044
Name: "Change Level"
Operations: E
MultipleInstances: Single
Mandatory: Optional
Type: Float
RangeEnumeration: ""
Units: ""
Description: "Change Level Setting"
_ID: 5044
-
ResourceID: 5002
Name: "Transition Time"
Operations: RW
MultipleInstances: Single
Mandatory: Optional
Type: Float
RangeEnumeration: ""
Units: "ucum:%"
Description: "Time to reach the new state or value"
_ID: 5002
-
ResourceID: 5003
Name: "Remaining Time"
Operations: RW
MultipleInstances: Single
Mandatory: Optional
Type: Float
RangeEnumeration: ""
Units: "ucum:%"
Description: "Time left to execute teh current Action"
_ID: 5003
-
ResourceID: 5004
Name: Stop
Operations: E
MultipleInstances: Single
Mandatory: Optional
Type: Opaque
RangeEnumeration: ""
Units: ""
Description: "Stop the currently executing Action"
_ID: 5004
-
ResourceID: 5005
Name: Move
Operations: E
MultipleInstances: Single
Mandatory: Optional
Type: Float
RangeEnumeration: ""
Units: "ucum:%/ucum:s"
Description: "Start Move operatoin at a given rate, % per second"
_ID: 5005
-
ResourceID: 5006
Name: Step
Operations: E
MultipleInstances: Single
Mandatory: Optional
Type: Float
RangeEnumeration: ""
Units: "ucum:%"
Description: "Start Step operation of a given size"
_ID: 5006
-
ResourceID: 5007
Name: "Step Time"
Operations: RW
MultipleInstances: Single
Mandatory: Optional
Type: Float
RangeEnumeration: ""
Units: "ucum:s"
Description: "Time to move Step amount"
_ID: 5007
-
ResourceID: 5008
Name: "OnOff Link"
Operations: RW
MultipleInstances: Multiple
Mandatory: Optional
Type: Objlink
RangeEnumeration: ""
Units: ""
Description: "Associated OnOff Actuator"
_ID: 5008
-
ResourceID: 5009
Name: "On Level"
Operations: RW
MultipleInstances: Single
Mandatory: Optional
Type: Float
RangeEnumeration: ""
Units: "ucum:%"
Description: "Go to this level when OnOff is set to On"
_ID: 5009
-
ResourceID: 5010
Name: "OnOff Transition Time"
Operations: RW
MultipleInstances: Single
Mandatory: Optional
Type: Float
RangeEnumeration: ""
Units: "ucum:s"
Description: "Time to move OnOff state from off to on, or from on to off"
_ID: 5010
-
ResourceID: 5750
Name: "Application Type"
Operations: R
MultipleInstances: Single
Mandatory: Optional
Type: String
RangeEnumeration: ""
Units: ""
Description: "The application type or use context"
_ID: 5750
_ObjectType: MODefinition
"_xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance"
"_xsi:noNamespaceSchemaLocation": "http://openmobilealliance.org/tech/profiles/LWM2M.xsd"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment