Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
commit (d0ef60f1fc219b68f55bc8b7f71bd13f434ba332)
  • Loading branch information
sbernard31 committed Jul 23, 2018
1 parent c68e33a commit 15f3ecd
Show file tree
Hide file tree
Showing 39 changed files with 208 additions and 68 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public class LeshanServerDemo {
"3326.xml", "3327.xml", "3328.xml", "3329.xml", "3330.xml", "3331.xml", "3332.xml",
"3333.xml", "3334.xml", "3335.xml", "3336.xml", "3337.xml", "3338.xml", "3339.xml",
"3340.xml", "3341.xml", "3342.xml", "3343.xml", "3344.xml", "3345.xml", "3346.xml",
"3347.xml", "3348.xml",
"3347.xml", "3348.xml", "3349.xml", "3350.xml",

"Communication_Characteristics-V1_0.xml",

Expand Down
2 changes: 1 addition & 1 deletion leshan-server-demo/src/main/resources/models/3200.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<Operations>E</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Opaque</Type>
<Type></Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Reset the Counter value.</Description>
Expand Down
2 changes: 1 addition & 1 deletion leshan-server-demo/src/main/resources/models/3202.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<Operations>E</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Opaque</Type>
<Type></Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Reset the Min and Max Measured Values to Current Value</Description>
Expand Down
8 changes: 4 additions & 4 deletions leshan-server-demo/src/main/resources/models/3203.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
</Item>
<Item ID="5750">
<Name>Application Type</Name>
<Operations>R</Operations>
<Operations>RW</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>String</Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>If present, the application type of the actuator as a string, for instance, “Thermostat”</Description>
<Description>If present, the application type of the actuator as a string, for instance, “Valve”</Description>
</Item>
<Item ID="5603">
<Name>Min Range Value</Name>
Expand All @@ -36,7 +36,7 @@
<Type>Float</Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>The minimum value that can be measured by the sensor</Description>
<Description>The minimum value that can be set for the output</Description>
</Item>
<Item ID="5604">
<Name>Max Range Value</Name>
Expand All @@ -46,7 +46,7 @@
<Type>Float</Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>The maximum value that can be measured by the sensor</Description>
<Description>The maximum value that can be set for the output</Description>
</Item>
</Resources>
<Description2></Description2>
Expand Down
2 changes: 1 addition & 1 deletion leshan-server-demo/src/main/resources/models/3300.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Specific object for a given range of sensors is described later in the document,
<Operations>E</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Opaque</Type>
<Type></Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Reset the Min and Max Measured Values to Current Value</Description>
Expand Down
2 changes: 1 addition & 1 deletion leshan-server-demo/src/main/resources/models/3301.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<Operations>E</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Opaque</Type>
<Type></Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Reset the Min and Max Measured Values to Current Value</Description>
Expand Down
2 changes: 1 addition & 1 deletion leshan-server-demo/src/main/resources/models/3302.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<Operations>E</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Opaque</Type>
<Type></Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Reset the Counter value</Description>
Expand Down
4 changes: 2 additions & 2 deletions leshan-server-demo/src/main/resources/models/3304.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<Operations>R</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>String</Type>
<Type>Float</Type>
<RangeEnumeration></RangeEnumeration>
<Units>Defined by “Units” resource.</Units>
<Description>The minimum value that can be measured by the sensor</Description>
Expand Down Expand Up @@ -73,7 +73,7 @@
<Operations>E</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Opaque</Type>
<Type></Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Reset the Min and Max Measured Values to Current Value</Description>
Expand Down
4 changes: 2 additions & 2 deletions leshan-server-demo/src/main/resources/models/3305.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
<Operations>E</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Opaque</Type>
<Type></Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Reset both cumulative active/reactive power</Description>
Expand All @@ -183,7 +183,7 @@
<Operations>E</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Opaque</Type>
<Type></Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Reset the Min and Max Measured Values to Current Value</Description>
Expand Down
10 changes: 10 additions & 0 deletions leshan-server-demo/src/main/resources/models/3310.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@
<Units>%</Units>
<Description>Defines the duty cycle for the load control event, i.e, what percentage of time the receiving device is allowed to be on.</Description>
</Item>
<Item ID="5750">
<Name>Application Type</Name>
<Operations>RW</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>String</Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>The application type of the sensor or actuator as a string, for instance, “Air Pressure”</Description>
</Item>
</Resources>
<Description2></Description2>
</Object>
Expand Down
12 changes: 11 additions & 1 deletion leshan-server-demo/src/main/resources/models/3311.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,17 @@
<Units></Units>
<Description>If present, the type of sensor defined as the UCUM Unit Definition e.g. “Cel” for Temperature in Celcius.</Description>
</Item>
<Item ID="5750">
<Name>Application Type</Name>
<Operations>RW</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>String</Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>The application type of the sensor or actuator as a string, for instance, “Air Pressure”</Description>
</Item>
</Resources>
<Description2></Description2>
</Object>
</LWM2M>
</LWM2M>
14 changes: 12 additions & 2 deletions leshan-server-demo/src/main/resources/models/3312.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</Item>
<Item ID="5851">
<Name>Dimmer</Name>
<Operations>W</Operations>
<Operations>RW</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Integer</Type>
Expand Down Expand Up @@ -58,7 +58,17 @@
<Units></Units>
<Description>The power factor of the load.</Description>
</Item>
<Item ID="5750">
<Name>Application Type</Name>
<Operations>RW</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>String</Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>The application type of the sensor or actuator as a string, for instance, “Air Pressure”</Description>
</Item>
</Resources>
<Description2></Description2>
</Object>
</LWM2M>
</LWM2M>
2 changes: 1 addition & 1 deletion leshan-server-demo/src/main/resources/models/3315.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<Operations>E</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Opaque</Type>
<Type></Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Reset the Min and Max Measured Values to Current Value</Description>
Expand Down
2 changes: 1 addition & 1 deletion leshan-server-demo/src/main/resources/models/3316.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<Operations>E</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Opaque</Type>
<Type></Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Reset the Min and Max Measured Values to Current Value</Description>
Expand Down
4 changes: 2 additions & 2 deletions leshan-server-demo/src/main/resources/models/3317.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Operations>R</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Float</Type>
<Type>String</Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Measurement Units Definition e.g. “Cel” for Temperature in Celsius</Description>
Expand Down Expand Up @@ -74,7 +74,7 @@
<Operations>E</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Opaque</Type>
<Type></Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Reset the Min and Max Measured Values to Current Value</Description>
Expand Down
4 changes: 2 additions & 2 deletions leshan-server-demo/src/main/resources/models/3318.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Operations>R</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Float</Type>
<Type>String</Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Measurement Units Definition e.g. “Cel” for Temperature in Celsius</Description>
Expand Down Expand Up @@ -74,7 +74,7 @@
<Operations>E</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Opaque</Type>
<Type></Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Reset the Min and Max Measured Values to Current Value</Description>
Expand Down
4 changes: 2 additions & 2 deletions leshan-server-demo/src/main/resources/models/3319.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Operations>R</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Float</Type>
<Type>String</Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Measurement Units Definition e.g. “Cel” for Temperature in Celsius</Description>
Expand Down Expand Up @@ -74,7 +74,7 @@
<Operations>E</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Opaque</Type>
<Type></Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Reset the Min and Max Measured Values to Current Value</Description>
Expand Down
4 changes: 2 additions & 2 deletions leshan-server-demo/src/main/resources/models/3320.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Operations>R</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Float</Type>
<Type>String</Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Measurement Units Definition e.g. “Cel” for Temperature in Celsius</Description>
Expand Down Expand Up @@ -74,7 +74,7 @@
<Operations>E</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Opaque</Type>
<Type></Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Reset the Min and Max Measured Values to Current Value</Description>
Expand Down
4 changes: 2 additions & 2 deletions leshan-server-demo/src/main/resources/models/3321.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Operations>R</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Float</Type>
<Type>String</Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Measurement Units Definition e.g. “Cel” for Temperature in Celsius</Description>
Expand Down Expand Up @@ -74,7 +74,7 @@
<Operations>E</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Opaque</Type>
<Type></Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Reset the Min and Max Measured Values to Current Value</Description>
Expand Down
4 changes: 2 additions & 2 deletions leshan-server-demo/src/main/resources/models/3322.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Operations>R</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Float</Type>
<Type>String</Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Measurement Units Definition e.g. “Cel” for Temperature in Celsius</Description>
Expand Down Expand Up @@ -74,7 +74,7 @@
<Operations>E</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Opaque</Type>
<Type></Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Reset the Min and Max Measured Values to Current Value</Description>
Expand Down
4 changes: 2 additions & 2 deletions leshan-server-demo/src/main/resources/models/3323.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Operations>R</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Float</Type>
<Type>String</Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Measurement Units Definition e.g. “Cel” for Temperature in Celsius</Description>
Expand Down Expand Up @@ -74,7 +74,7 @@
<Operations>E</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Opaque</Type>
<Type></Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Reset the Min and Max Measured Values to Current Value</Description>
Expand Down
4 changes: 2 additions & 2 deletions leshan-server-demo/src/main/resources/models/3324.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Operations>R</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Float</Type>
<Type>String</Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Measurement Units Definition e.g. “Cel” for Temperature in Celsius</Description>
Expand Down Expand Up @@ -74,7 +74,7 @@
<Operations>E</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Opaque</Type>
<Type></Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Reset the Min and Max Measured Values to Current Value</Description>
Expand Down
4 changes: 2 additions & 2 deletions leshan-server-demo/src/main/resources/models/3325.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Operations>R</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Float</Type>
<Type>String</Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Measurement Units Definition e.g. “Cel” for Temperature in Celsius</Description>
Expand Down Expand Up @@ -74,7 +74,7 @@
<Operations>E</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Opaque</Type>
<Type></Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Reset the Min and Max Measured Values to Current Value</Description>
Expand Down
4 changes: 2 additions & 2 deletions leshan-server-demo/src/main/resources/models/3326.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Operations>R</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Float</Type>
<Type>String</Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Measurement Units Definition e.g. “Cel” for Temperature in Celsius</Description>
Expand Down Expand Up @@ -74,7 +74,7 @@
<Operations>E</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Optional</Mandatory>
<Type>Opaque</Type>
<Type></Type>
<RangeEnumeration></RangeEnumeration>
<Units></Units>
<Description>Reset the Min and Max Measured Values to Current Value</Description>
Expand Down
Loading

0 comments on commit 15f3ecd

Please sign in to comment.