Hi,
I am trying to model object 15 into oma-objects-spec.json I am making Instance ID 0 as Sensor(15/0),Instance ID 1 as Control , Instance ID 2 as Connectivity so on.
(Open Mobile Alliance
OMA-TS-LWM2M_DevCapMgmt-V1_0_1-20151123-A is attached)
For example different kind of Sensors are modelled as 15/0/0, 15/0/1 etc as shown below.
{
"name": "Device Capability Management",
"id": 15,
"instancetype": "mutiple",
"mandatory": true,
"description": "DevCapability",
"resourcedefs": [
{
"id": 0,
"name": "Luminosity Sensor",
"operations": "ED",
"instancetype": "single",
"mandatory": true,
"type": "integer",
"range": "",
"units": "",
"description": ""
},
{
"id": 1,
"name": "Presence",
"operations": "ED",
"instancetype": "multiple",
"mandatory": true,
"type": "integer",
"range": "",
"units": "",
"description": ""
},
{
"id": 2,
"name": "Temperature",
"operations": "ED",
"instancetype": "single",
"mandatory": false,
"type": "integer",
"range": "",
"units": "",
"description": ""
},
{
"id": 3,
"name": "Hygrometrie",
"operations": "ED",
"instancetype": "single",
"mandatory": false,
"type": "integer",
"range": "",
"units": "",
"description": ""
},
{
"id": 4,
"name": "Pressure",
"operations": "ED",
"instancetype": "single",
"mandatory": true,
"type": "string",
"range": "",
"units": "",
"description": ""
},
]
},
I have a doubt how to fit in Instance type 1 (15/1) . Which is the field in ma-objects-spec.json where we can specify the Instance number.