diff --git a/leshan-client-demo/src/main/java/org/eclipse/leshan/client/demo/LeshanClientDemo.java b/leshan-client-demo/src/main/java/org/eclipse/leshan/client/demo/LeshanClientDemo.java index 5ec03a8702..fd8acd7fc8 100644 --- a/leshan-client-demo/src/main/java/org/eclipse/leshan/client/demo/LeshanClientDemo.java +++ b/leshan-client-demo/src/main/java/org/eclipse/leshan/client/demo/LeshanClientDemo.java @@ -60,7 +60,33 @@ public class LeshanClientDemo { private static final Logger LOG = LoggerFactory.getLogger(LeshanClientDemo.class); - private final static String[] modelPaths = new String[] { "3303.xml" }; + // /!\ This class is a COPY of org.eclipse.leshan.server.demo.LeshanServerDemo.modelPaths /!\ + // TODO create a leshan-demo project ? + private final static String[] modelPaths = new String[] { "31024.xml", + + "10241.xml", "10242.xml", "10243.xml", "10244.xml", "10245.xml", "10246.xml", "10247.xml", + "10248.xml", "10249.xml", "10250.xml", + + "2048.xml", "2049.xml", "2050.xml", "2051.xml", "2052.xml", "2053.xml", "2054.xml", + "2055.xml", "2056.xml", "2057.xml", + + "3200.xml", "3201.xml", "3202.xml", "3203.xml", "3300.xml", "3301.xml", "3302.xml", + "3303.xml", "3304.xml", "3305.xml", "3306.xml", "3308.xml", "3310.xml", "3311.xml", + "3312.xml", "3313.xml", "3314.xml", "3315.xml", "3316.xml", "3317.xml", "3318.xml", + "3319.xml", "3320.xml", "3321.xml", "3322.xml", "3323.xml", "3324.xml", "3325.xml", + "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", "3349.xml", "3350.xml", + + "Communication_Characteristics-V1_0.xml", + + "LWM2M_Lock_and_Wipe-V1_0.xml", "LWM2M_Cellular_connectivity-v1_0.xml", + "LWM2M_APN_connection_profile-v1_0.xml", "LWM2M_WLAN_connectivity4-v1_0.xml", + "LWM2M_Bearer_selection-v1_0.xml", "LWM2M_Portfolio-v1_0.xml", "LWM2M_DevCapMgmt-v1_0.xml", + "LWM2M_Software_Component-v1_0.xml", "LWM2M_Software_Management-v1_0.xml", + + "Non-Access_Stratum_NAS_configuration-V1_0.xml" }; private static final int OBJECT_ID_TEMPERATURE_SENSOR = 3303; private final static String DEFAULT_ENDPOINT = "LeshanClientDemo"; diff --git a/leshan-client-demo/src/main/resources/models/10241.xml b/leshan-client-demo/src/main/resources/models/10241.xml new file mode 100644 index 0000000000..04ed43264d --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/10241.xml @@ -0,0 +1,50 @@ + + + HostDeviceInfo + + 10241 + urn:oma:lwm2m:x:10241 + + + Multiple + Mandatory + + Host Device Manufacturer + R + Multiple + Mandatory + String + + + + + Host Device Model Number + R + Multiple + Mandatory + String + + + + + Host Device Unique ID + R + Multiple + Mandatory + String + + + + + Host Device Software Version + R + Multiple + Mandatory + String + + + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/10242.xml b/leshan-client-demo/src/main/resources/models/10242.xml new file mode 100644 index 0000000000..e3a471b624 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/10242.xml @@ -0,0 +1,629 @@ + + + + + 3-Phase Power Meter + + + + 10242 + urn:oma:lwm2m:x:10242 + Multiple + Optional + + + Manufacturer + R + Single + Optional + String + + + + + + + + Model Number + R + Single + Optional + String + + + + + + + + Serial Number + R + Single + Optional + String + + + + + + + + Description + R + Single + Optional + String + + + + + + + + Tension R + R + Single + Mandatory + Float + + V + + + + + + Current R + R + Single + Mandatory + Float + + A + + + + + + Active Power R + R + Single + Optional + Float + + kW + + + + + + Reactive Power R + R + Single + Optional + Float + + kvar + + + + + + Inductive Reactive Power R + R + Single + Optional + Float + + kvarL + + + + + + Capacitive Reactive Power R + R + Single + Optional + Float + + kvarC + + + + + + Apparent Power R + R + Single + Optional + Float + + kVA + + + + + + Power Factor R + R + Single + Optional + Float + -1..1 + + + + + + + THD-V R + R + Single + Optional + Float + + % + + + + + + THD-A R + R + Single + Optional + Float + + % + + + + + + Tension S + R + Single + Mandatory + Float + + V + + + + + + Current S + R + Single + Mandatory + Float + + A + + + + + + Active Power S + R + Single + Optional + Float + + kW + + + + + + Reactive Power S + R + Single + Optional + Float + + kvar + + + + + + Inductive Reactive Power S + R + Single + Optional + Float + + kvarL + + + + + + Capacitive Reactive Power S + R + Single + Optional + Float + + kvarC + + + + + + Apparent Power S + R + Single + Optional + Float + + kVA + + + + + + Power Factor S + R + Single + Optional + Float + -1..1 + + + + + + + THD-V S + R + Single + Optional + Float + + % + + + + + + THD-A S + R + Single + Optional + Float + + % + + + + + + Tension T + R + Single + Mandatory + Float + + V + + + + + + Current T + R + Single + Mandatory + Float + + A + + + + + + Active Power T + R + Single + Optional + Float + + kW + + + + + + Reactive Power T + R + Single + Optional + Float + + kvar + + + + + + Inductive Reactive Power T + R + Single + Optional + Float + + kvarL + + + + + + Capacitive Reactive Power T + R + Single + Optional + Float + + kvarC + + + + + + Apparent Power T + R + Single + Optional + Float + + kVA + + + + + + Power Factor T + R + Single + Optional + Float + -1..1 + + + + + + + THD-V T + R + Single + Optional + Float + + % + + + + + + THD-A T + R + Single + Optional + Float + + % + + + + + + 3-Phase Active Power + R + Single + Optional + Float + + kW III + + + + + + 3-Phase Reactive Power + R + Single + Optional + Float + + kvar III + + + + + + 3-Phase Inductive Reactive Power + R + Single + Optional + Float + + kvarL III + + + + + + 3-Phase Capacitive Reactive Power + R + Single + Optional + Float + + kvarC III + + + + + + 3-Phase Apparent Power + R + Single + Optional + Float + + kVA III + + + + + + 3-Phase Power Factor + R + Single + Optional + Float + -1..1 + + + + + + + 3-Phase phi cosine + R + Single + Optional + Float + -1..1 + + + + + + + Active Energy + R + Single + Optional + Float + + kW/h III + + + + + + Reactive Energy + R + Single + Optional + Float + + kvar/h III + + + + + + Inductive Reactive Energy + R + Single + Optional + Float + + kvarL/h III + + + + + + Capacitive Reactive Energy + R + Single + Optional + Float + + kvarC/h III + + + + + + Apparent Energy + R + Single + Optional + Float + + kVA/h III + + + + + + Tension R-S + R + Single + Optional + Float + + V + + + + + + Tension S-T + R + Single + Optional + Float + + V + + + + + + Tension T-R + R + Single + Optional + Float + + V + + + + + + Frequency + R + Single + Optional + Float + + Hz + + + + + + Neutral Current + R + Single + Optional + Float + + A + + + + + + + + diff --git a/leshan-client-demo/src/main/resources/models/10243.xml b/leshan-client-demo/src/main/resources/models/10243.xml new file mode 100644 index 0000000000..56714f0f2a --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/10243.xml @@ -0,0 +1,233 @@ + + + + + Single-Phase Power Meter + + + + 10243 + urn:oma:lwm2m:x:10243 + Multiple + Optional + + + Manufacturer + R + Single + Optional + String + + + + + + + + Model Number + R + Single + Optional + String + + + + + + + + Serial Number + R + Single + Optional + String + + + + + + + + Description + R + Single + Optional + String + + + + + + + + Tension + R + Single + Mandatory + String + + V + + + + + + Current + R + Single + Mandatory + Float + + A + + + + + + Active Power + R + Single + Optional + Float + + kW + + + + + + Reactive Power + R + Single + Optional + Float + + kvar + + + + + + Inductive Reactive Power + R + Single + Optional + Float + + kvarL + + + + + + Capacitive Reactive Power + R + Single + Optional + Float + + kvarC + + + + + + Apparent Power + R + Single + Optional + Float + + kVA + + + + + + Power Factor + R + Single + Optional + Float + -1..1 + + + + + + + THD-V + R + Single + Optional + Float + + % + + + + + + THD-A + R + Single + Optional + Float + + % + + + + + + Active Energy + R + Single + Optional + Float + + kW/h + + + + + + Reactive Energy + R + Single + Optional + Float + + kvar/h + + + + + + Apparent Energy + R + Single + Optional + Float + + kVA/h + + + + + + Frequency + R + Single + Optional + Float + + Hz + + + + + + + + diff --git a/leshan-client-demo/src/main/resources/models/10244.xml b/leshan-client-demo/src/main/resources/models/10244.xml new file mode 100644 index 0000000000..c64ea988e9 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/10244.xml @@ -0,0 +1,301 @@ + + + VehicleControlUnit + + 10244 + urn:oma:lwm2m:x:10244 + Single + Optional + + Vehicle UI State + R + Single + Mandatory + Integer + 0-15 + + + + Vehicle Speed + R + Single + Mandatory + Integer + + km/h + + + Vehicle Shift Status + R + Single + Mandatory + Integer + 0-3 + + + + Vehicle AP Position + R + Single + Mandatory + Integer + 0-100 + % + + + Vehicle Power + R + Single + Optional + Float + + kW + + + Vehicle Drive Energy + R + Single + Optional + Float + + Wh + + + Vehicle Energy Consumption Efficiency + R + Single + Optional + Float + + Wh/km + + + Vehicle Estimated Mileage + R + Single + Optional + Integer + + km + + + Vehicle Charge Cable Status + R + Single + Mandatory + Boolean + + + + + Vehicle Charge Status + R + Single + Mandatory + Integer + 0-15 + + + + Vehicle Charge Voltage + R + Single + Mandatory + Float + + V + + + Vehicle Charge Current + R + Single + Mandatory + Float + + A + + + Vehicle Charge Remaining Time + R + Single + Mandatory + Integer + + minute + + + Battery Pack Voltage + R + Single + Mandatory + Float + + V + + + Battery Pack Current + R + Single + Mandatory + Float + + A + + + Battery Pack Remaining Capacity + R + Single + Mandatory + Integer + + Ah + + + Battery Pack SOC + R + Single + Mandatory + Integer + 0-100 + % + + + Battery Pack SOH + R + Single + Mandatory + Integer + 0-100 + % + + + Battery Cell MinVolt + R + Single + Mandatory + Integer + + mV + + + Battery Cell MaxVolt + R + Single + Mandatory + Integer + + mV + + + Battery Module MinTemp + R + Single + Mandatory + Integer + + Celsius + + + Battery Module MaxTemp + R + Single + Mandatory + Integer + + Celsius + + + Battery Connection Status + R + Single + Mandatory + Boolean + + + + + + MCU Voltage + R + Single + Mandatory + Integer + + V + + + MCU Temperature + R + Single + Mandatory + Integer + + Celsius + + + Motor Speed + R + Single + Mandatory + Integer + + rpm + + + Motor Temperature + R + Single + Mandatory + Integer + + Celsius + + + Motor OT Warning + R + Single + Optional + Boolean + + + + + MCU OT Warning + R + Single + Optional + Boolean + + + + + Battery Pack OT Warning + R + Single + Optional + Boolean + + + + + MCU fault + R + Single + Optional + Boolean + + + + + Motor Error + R + Single + Optional + Boolean + + + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/10245.xml b/leshan-client-demo/src/main/resources/models/10245.xml new file mode 100644 index 0000000000..631cbb169e --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/10245.xml @@ -0,0 +1,183 @@ + + + Relay Management + 10245 + urn:oma:lwm2m:x:10245 + Single + Mandatory + This LWM2M Object provides a range of eNB related measurements and parameters of which several are changeable. Furthermore, it includes Resources to enable/disable the eNB. + + + + eNB Availability + R + Single + Mandatory + Boolean + AVAILABLE; UNAVAILABLE + + This field indicates to the CCC whether or not the eNB of the CrowdBox is available for activation: AVAILABLE = TRUE; UNAVAILABLE = FALSE This is set by the CrowdBox itself using an algorithm specific to the use case and based on parameters known to the CrowdBox which may not necessarily be signalled to the network. In the absence of a more specific algorithm, this parameter should be set to AVAILABLE, unless a fault is detected which would prevent activation of the eNB, in which case it should be set to UNAVAILABLE. + + + GPS Status + R + Single + Mandatory + Boolean + UNSYNCHRONISED; SYNCHRONISED + + States whether the CrowdBox GPS receiver is synchronised to GPS time or not: UNSYCHRONISED = FALSE; SYNCHRONISED = TRUE If more than one GPS receiver is used by the CrowdBox, then SYNCHRONISED should be reported only if all receivers are synchronised. + + + Orientation + R + Single + Optional + Integer + -180..180 + degrees + Orientation of CrowdBox with respect to magnetic north. The reference orientation of the CrowdBox shall be the pointing direction of the eNB antenna(s) or, in the case of an omni-directional CrowdBox antenna, as defined in the accompanying product documentation. + + + eNB EARFCN + RW + Single + Mandatory + Integer + 0..65535 + + EARFCN currently used by the eNB. Highest valid value in 3GPP is currently 46589. If the requested EARFCN is not supported by the eNB, the response should be "Bad Request". The CrowdBox shall only apply a change of this resource upon execution of the “Enable eNB” command. + + + eNB Bandwidth + RW + Single + Mandatory + Integer + 5, 10, 15, 20 + + Bandwidth of the currently used eNB carrier. If the requested bandwidth is not supported by the eNB, the response should be "Bad Request". The CrowdBox shall only apply a change of this resource upon execution of the “Enable eNB” command. + + + Backhaul Primary EARFCN + RW + Single + Mandatory + Integer + 0..65535 + + EARFCN of primary cell used for the backhaul. If the requested EARFCN is not supported by the CrowdBox UE, the response should be "Bad Request". The CrowdBox shall only apply a change of this resource upon execution of the “Enable eNB” command. + + + Backhaul Secondary EARFCN + RW + Multiple + Mandatory + Integer + 0..65535 + + EARFCN of any secondary cells used for the backhaul, in the event that carrier aggregation is being used. If the requested EARFCN is not supported by the CrowdBox UE, the response should be "Bad Request". The CrowdBox shall only apply a change of this resource upon execution of the “Enable eNB” command. + + + Cumulative Measurement Window + RW + Single + Mandatory + Integer + 0..65535 + s + The current measurement interval over which cumulative statistics are collected for the following resources: Cumulative Number of Unique Users, Cumulative Downlink Throughput per Connected User, Cumulative Uplink Throughput per Connected User. Note that this measurement period is a sliding window rather than a granularity period. Measurements should never be reset, but rather old measurements should be removed from the cumulative total as they fall outside of the window. A value of 0 shall be interpreted as meaning only the current value should be reported. A value of 65535 shall be interpreted as an infinite window size (i.e. old measurements are never discarded). + + + eNB ECI + R + Single + Mandatory + Integer + 0..2^28-1 + + A 28 bit E-UTRAN Cell Identifier (ECI) + + + eNB Status + RW + Single + Mandatory + Boolean + + + This resource indicates the current status of the eNB and can be used by the CCC to change the state from enabled to disabled. TRUE = eNB enabled FALSE = eNB disabled + + + Enable eNB + E + Single + Mandatory + + + + Enables the eNB. In addition the CrowdBox shall also update its configuration to reflect the current state of other relevant parameters. This might require a reboot. + + + eNB Maximum Power + RW + Single + Mandatory + Integer + 0..63 + dBm + Maximum power for the eNB measured as the sum of input powers to all antenna connectors. The maximum power per antenna port is equal to the maximum eNB power divided by the number of antenna ports. If the requested power is above or below the maximum or minimum power levels of the eNB, then the power level should be set to the maximum or minimum respectively. The CrowdBox shall only apply a change of this resource upon execution of the “Enable eNB” command. + + + Backhaul Primary q-OffsetFreq + RW + Single + Mandatory + Integer + -24..24 + dB + q-OffsetFreq parameter for the backhaul primary EARFCN in SIB5 of the CrowdBox eNB BCCH. See TS 36.331 for details. Range: dB-24; dB-22 .. dB24 The CrowdBox shall only apply a change of this resource upon execution of the “Enable eNB” command. + + + Backhaul Secondary q-OffsetFreq + RW + Multiple + Mandatory + Integer + -24..24 + dB + q-OffsetFreq parameter for the backhaul secondary EARFCN in SIB5 of the CrowdBox eNB BCCH. See TS 36.331 for details Range: dB-24; dB-22 .. dB24 The CrowdBox shall only apply a change of this resource upon execution of the “Enable eNB” command. + + + Neighbour CrowdBox EARFCN + RW + Multiple + Mandatory + Integer + 0..66635 + + EARFCN of a neighbour CrowdBox. Each instance of this resource relates to the same instance of resource ID 15. + + + Neighbour CrowdBox q-OffsetFreq + RW + Multiple + Mandatory + Integer + -24..24 + dB + q-OffsetFreq parameter of the Neighbour CrowdBox EARFCN in SIB5 of the Neighbour CrowdBox eNB BCCH. See TS 36.331 for details Range: dB-24; dB-22 .. dB24 Each instance of this resource relates to the same instance of resource ID 14. The CrowdBox shall only apply a change of this resource upon execution of the “Enable eNB” command. + + + Serving Macro eNB cellIndividualOffset + RW + Single + Mandatory + Integer + -24..24 + dB + Specifies the value of the cellIndividualOffset parameter applicable to the CrowdBox macro serving cell that is to be signalled to connected UEs in their measurement configuration information . See TS 36.331 for details. The CrowdBox shall only apply a change of this resource upon execution of the “Enable eNB” command. + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/10246.xml b/leshan-client-demo/src/main/resources/models/10246.xml new file mode 100644 index 0000000000..a494f06a02 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/10246.xml @@ -0,0 +1,73 @@ + + + CrowdBox Measurements + 10246 + urn:oma:lwm2m:x:10246 + Mandatory + Single + This LWM2M Object provides CrowdBox-related measurements such as serving cell parameters, backhaul timing advance, and neighbour cell reports. + + + + Serving Cell ID + R + Single + Mandatory + Integer + 0..2^32-1 + + Serving cell ID as specified by the cellIdentity field broadcast in SIB1 of the serving cell (see TS 36.331). + + + Serving Cell RSRP + R + Single + Mandatory + Integer + 0..97 + + Serving cell RSRP, as defined in TS 36.133, Section 9.1.4. Range: RSRP_00; RSRP_01 .. RSRP_97 + + + Serving Cell RSRQ + R + Single + Mandatory + Integer + -30..46 + + Serving cell RSRQ, as defined in TS 36.133, Section 9.1.7. Range: RSRQ_-30; RSRQ_-29 .. RSRQ_46 + + + Serving Cell SINR + R + Single + Mandatory + Integer + -10..30 + dB + SINR of serving cell as estimated by the CrowdBox. Note that this is a proprietary measurement dependent on the UE chipset manufacturer. The UE chipset used should be stated in the accompanying product documentation. + + + Cumulative Backhaul Timing Advance + R + Single + Optional + Integer + 0..65535 + + The cumulative timing advance signalled by the current serving cell to the CrowdBox. This is the sum of the initial timing advance signalled in the MAC payload of the Random Access Response (11 bits, 0 .. 1282) and subsequent adjustments signalled in the MAC PDU of DL-SCH transmissions (6 bits, -31 .. 32). See TS 36.321 for details. + + + Neighbour Cell Report + R + Multiple + Mandatory + Objlnk + + + A link to the "Neighbour Cell Report" object for each neighbour cell of the CrowdBox. + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/10247.xml b/leshan-client-demo/src/main/resources/models/10247.xml new file mode 100644 index 0000000000..e8be1ee032 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/10247.xml @@ -0,0 +1,63 @@ + + + Neighbour Cell Report + 10247 + urn:oma:lwm2m:x:10247 + Multiple + Mandatory + This LWM2M Object provides the neighbour cell report. The CrowdBox Measurements Object and the Connected UE Report Object have both Objlnk Resources pointing to this Object. + + + + Neighbour PCI + R + Single + Mandatory + Integer + 0..503 + + Physical Cell ID of neighbouring LTE cell, as defined in TS 36.211 + + + Neighbour Cell ID + R + Single + Optional + Integer + 0..2^32-1 + + Neighbour cell ID as specified by the cellIdentity field broadcast in SIB1 of the neighbour cell (see TS 36.331). + + + Neighbour Cell Rank + R + Single + Mandatory + Integer + 0..255 + + Current neighbour cell rank. Neighbour cells should be ordered (ranked) by the CrowdBox according to neighbour cell RSRP, with a higher RSRP corresponding to a lower index. Hence the neighbouring cell with the highest RSRP should be neighbour cell 0, the second neighbour cell 1, and so on. + + + Neighbour Cell RSRP + R + Single + Mandatory + Integer + 0..97 + + Neighbour cell RSRP, as defined in TS 36.133, Section 9.1.4. Range: RSRP_00; RSRP_01 .. RSRP_97 + + + Neighbour Cell RSRQ + R + Single + Mandatory + Integer + -30..46 + + Neighbour cell RSRQ, as defined in TS 36.133, Section 9.1.7. Range: RSRQ_-30; RSRQ_-29 .. RSRQ_46 + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/10248.xml b/leshan-client-demo/src/main/resources/models/10248.xml new file mode 100644 index 0000000000..74bffea1f8 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/10248.xml @@ -0,0 +1,43 @@ + + + Connected UE Measurements + 10248 + urn:oma:lwm2m:x:10248 + Single + Mandatory + This LWM2M Object provides a range of measurements of connected UEs and provides an Object link to the Connected UE report. + + + + Number of Connected Users + R + Single + Mandatory + Integer + 0..255 + + The number of different UEs currently connected to the eNB (i.e. in RRC_CONNECTED state). + + + Cumulative Number of Unique Users + R + Single + Mandatory + Integer + 0..65535 + + The number of different UEs that have connected to the eNB over the immediately preceding period specified by the "Cumulative Measurement Window" field. + + + Connected UE Report + R + Multiple + Mandatory + Objlnk + + + Provides an Object link to the Connected UE Report which provides a range of information related to the connected UEs. + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/10249.xml b/leshan-client-demo/src/main/resources/models/10249.xml new file mode 100644 index 0000000000..7fe7275318 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/10249.xml @@ -0,0 +1,103 @@ + + + Connected UE Report + 10249 + urn:oma:lwm2m:x:10249 + Multiple + Mandatory + This LWM2M Object provides a range of information related to the connected UEs. + + + + Connected User MMEC + R + Single + Mandatory + Integer + 0..255 + + MMEC signalled by the UE to the eNB in the RRCConnectionRequest message (see TS 36.331). + + + Connected User M-TMSI + R + Single + Mandatory + Integer + 0..2^32-1 + + M-TMSI signalled by the UE to the eNB in the RRCConnectionRequest message (see TS 36.331). + + + Serving Cell (CrowdBox) eNB RSRP + R + Single + Mandatory + Integer + 0..97 + + The RSRP of the CrowdBox eNB, as defined in TS 36.133, Section 9.1.4. Range: RSRP_00; RSRP_01 .. RSRP_97 + + + Serving Cell (CrowdBox) eNB RSRQ + R + Single + Mandatory + Integer + -30..46 + + The RSRQ of the CrowdBox eNB, as defined in TS 36.133, Section 9.1.7. Range: RSRQ_-30; RSRQ_-29 .. RSRQ_46 + + + Cumulative Timing Advance per Connected User + R + Single + Optional + Integer + 0-65535 + + The cumulative timing advance signalled by the eNB to each currently connected UE. This is the sum of the initial timing advance signalled in the MAC payload of the Random Access Response (11 bits, 0 .. 1282) and subsequent adjustments signalled in the MAC PDU of DL-SCH transmissions (6 bits, -31 .. 32). See TS 36.321 for details. + + + Last downlink CQI report per Connected User + R + Single + Mandatory + Integer + 0..255 + + The last downlink wideband CQI reported by a connected user the eNB. The CQI format is defined in Table 7.2.3-1 of TS 36.213. + + + Cumulative Downlink Throughput per Connected User + R + Single + Mandatory + Integer + 0..2^32-1 + bytes + The total number of MAC bytes sent to the connected user over the immediately preceding period specified by the "Cumulative Measurement Window" field. + + + Cumulative Uplink Throughput per Connected User + R + Single + Mandatory + Integer + 0..2^32-1 + bytes + The total number of MAC bytes received from the connected user over the immediately preceding period specified by the "Cumulative Measurement Window" field. + + + Neighbour Cell Report + R + Multiple + Mandatory + Objlnk + + + A link to the "Neighbour Cell Report" object for each neighbour cell reported to the CrowdBox by the connected UE + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/10250.xml b/leshan-client-demo/src/main/resources/models/10250.xml new file mode 100644 index 0000000000..b789964298 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/10250.xml @@ -0,0 +1,40 @@ + + + + App Data Container + + 10250 + urn:oma:lwm2m:x:10250 + 1.0 + 1.0 + Single + Optional + + + UL data + R + Single + Mandatory + Opaque + + + + + + + + DL data + W + Single + Mandatory + Opaque + + + + + + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/2048.xml b/leshan-client-demo/src/main/resources/models/2048.xml new file mode 100644 index 0000000000..7d8f4ea65b --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/2048.xml @@ -0,0 +1,57 @@ + + + CmdhPolicy + + 2048 + urn:oma:lwm2m:ext:20481.0 + 1.0Multiple + Optional + + Name + RW + Single + Mandatory + String + + + + + DefaultRule + RW + Single + Mandatory + Objlnk + + + + + LimiRules + RW + Multiple + Mandatory + Objlnk + + + + + NetworkAccessECRules + RW + Multiple + Mandatory + Objlnk + + + + + BufferRules + RW + Multiple + Mandatory + Objlnk + + + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/2049.xml b/leshan-client-demo/src/main/resources/models/2049.xml new file mode 100644 index 0000000000..10cf638ff7 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/2049.xml @@ -0,0 +1,26 @@ + + + ActiveCmdhPolicy + + 2049 + urn:oma:lwm2m:ext:20491.0 + 1.0Single + Optional + + ActiveLink + RW + Single + Mandatory + Objlnk + + + + + + + + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/2050.xml b/leshan-client-demo/src/main/resources/models/2050.xml new file mode 100644 index 0000000000..fc65f844b9 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/2050.xml @@ -0,0 +1,35 @@ + + + CmdhDefaults + + 2050 + urn:oma:lwm2m:ext:20501.0 + 1.0Multiple + Optional + + DefaultEcRules + RW + Multiple + Mandatory + Objlnk + + + + + + + + + + DefaultEcParamRules + RW + Multiple + Mandatory + Objlnk + + + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/2051.xml b/leshan-client-demo/src/main/resources/models/2051.xml new file mode 100644 index 0000000000..abfa655a68 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/2051.xml @@ -0,0 +1,66 @@ + + + CmdhDefEcValues + + 2051 + urn:oma:lwm2m:ext:20511.0 + 1.0Multiple + Optional + + Order + RW + Single + Mandatory + Integer + + + + + DefEcValue + RW + Single + Mandatory + String + + + + + RequestOrigin + RW + Multiple + Mandatory + String + + + + + RequestContext + RW + Single + Optional + String + + + + + RequestContextNotification + RW + Single + Optional + Boolean + + + + + RequestCharacteristics + RW + Single + Optional + String + + + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/2052.xml b/leshan-client-demo/src/main/resources/models/2052.xml new file mode 100644 index 0000000000..7df5acd2de --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/2052.xml @@ -0,0 +1,78 @@ + + + CmdhEcDefParamValues + + 2052 + urn:oma:lwm2m:ext:20521.0 + 1.0Multiple + Optional + + ApplicableEventCategory + RW + Multiple + Mandatory + Integer + + + + + DefaultRequestExpTime + RW + Single + Mandatory + Integer + + ms + + + + + + + + + DefaultResultExpTime + RW + Single + Mandatory + Integer + + ms + + + + DefaultOpExecTime + RW + Single + Mandatory + Integer + + ms + + + DefaultRespPersistence + RW + Single + Mandatory + Integer + + ms + + + DefaultDelAggregation + RW + Single + Mandatory + Integer + + ms + + + + + + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/2053.xml b/leshan-client-demo/src/main/resources/models/2053.xml new file mode 100644 index 0000000000..af2739aaad --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/2053.xml @@ -0,0 +1,132 @@ + + + CmdhLimits + + 2053 + urn:oma:lwm2m:ext:20531.0 + 1.0Multiple + Optional + + Order + RW + Single + Mandatory + Integer + + + + + RequestOrigin + RW + Multiple + Mandatory + String + + + + + + + + + + + RequestContext + RW + Single + Optional + String + + + + + + RequestContextNotificatio + RW + Single + Optional + Boolean + + + + + RequestCharacteristics + RW + Single + Optional + String + + + + + LimitsEventCategory + RW + Multiple + Mandatory + Integer + + + + + LimitsRequestExpTime + RW + Multiple + Mandatory + Integer + 2 Instances + ms + + + LimitsResultExpTime + RW + Multiple + Mandatory + Integer + 2 Instances + ms + + + LimitsOptExpTime + RW + Multiple + Mandatory + Integer + 2 Instances + ms + + + LimitsRespPersistence + RW + Multiple + Mandatory + Integer + 2 Instances + ms + + + LimitsDelAggregation + RW + Multiple + Mandatory + String + + + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/2054.xml b/leshan-client-demo/src/main/resources/models/2054.xml new file mode 100644 index 0000000000..eeeebb3001 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/2054.xml @@ -0,0 +1,36 @@ + + + CmdhNetworkAccessRules + + 2054 + urn:oma:lwm2m:ext:20541.0 + 1.0Multiple + Optional + + ApplicableEventCategories + RW + Multiple + Mandatory + Integer + + + + + NetworkAccessRule + RW + Multiple + Optional + Objlnk + + + + + + + + + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/2055.xml b/leshan-client-demo/src/main/resources/models/2055.xml new file mode 100644 index 0000000000..18598be8d3 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/2055.xml @@ -0,0 +1,67 @@ + + + CmdhNwAccessRule + + 2055 + urn:oma:lwm2m:ext:20551.0 + 1.0Multiple + Optional + + TargetNetwork + RW + Multiple + Mandatory + String + + + + + SpreadingWaitTime + RW + Single + Mandatory + Integer + + ms + + + MinReqVolume + RW + Single + Mandatory + Integer + + Byte + + + BackOffParameters + RW + Single + Mandatory + Objlnk + + + + + OtherConditions + RW + Single + Mandatory + String + + + + + AllowedSchedule + RW + Multiple + Mandatory + String + + + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/2056.xml b/leshan-client-demo/src/main/resources/models/2056.xml new file mode 100644 index 0000000000..f0585118e9 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/2056.xml @@ -0,0 +1,44 @@ + + + CmdhBuffer + + 2056 + urn:oma:lwm2m:ext:20561.0 + 1.0Multiple + Optional + + ApplicableEventCategory + RW + Multiple + Mandatory + Integer + + + + + MaxBufferSize + RW + Single + Mandatory + Integer + + Byte + + + StoragePriority + RW + Single + Mandatory + Integer + 1..10 + + + + + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/2057.xml b/leshan-client-demo/src/main/resources/models/2057.xml new file mode 100644 index 0000000000..2ec0927f8c --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/2057.xml @@ -0,0 +1,59 @@ + + + CmdhBackOffParametersSet + + 2057 + urn:oma:lwm2m:ext:2057 + 1.0 + 1.0 + Multiple + Optional + + NetworkAction + RW + Single + Optional + Integer + 1..5 + + + + InitialBackoffTime + RW + Single + Mandatory + Integer + + ms + + + AdditionalBackoffTime + RW + Single + Mandatory + Integer + + ms + + + MaximumBackoffTime + RW + Single + Mandatory + Integer + + ms + + + OptionalRandomBackoffTime + RW + Multiple + Optional + Integer + + ms + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/31024.xml b/leshan-client-demo/src/main/resources/models/31024.xml new file mode 100644 index 0000000000..85ba52a79d --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/31024.xml @@ -0,0 +1,51 @@ + + + + Test + A Wakaama object for testing purpose. + + 31024 + urn:oma:lwm2m:x:31024 + Multiple + Optional + + + test + RW + Single + Mandatory + Integer + 0-255 + + + + exec + E + Single + Mandatory + + + + dec + RW + Single + Mandatory + Float + + + + + + sig + RW + Single + Optional + Integer + + + 16-bit signed integer + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3200.xml b/leshan-client-demo/src/main/resources/models/3200.xml new file mode 100644 index 0000000000..4e47a64ea3 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3200.xml @@ -0,0 +1,96 @@ + + + + + + Digital Input + Generic digital input for non-specific sensors + 3200 + urn:oma:lwm2m:ext:3200 + Multiple + Optional + + + Digital Input State + R + Single + Mandatory + Boolean + + + The current state of a digital input. + + + Digital Input Counter + R + Single + Optional + Integer + + + The cumulative value of active state detected. + + + Digital Input Polarity + RW + Single + Optional + Boolean + + + The polarity of the digital input as a Boolean (0 = Normal, 1= Reversed) + + + Digital Input Debounce + RW + Single + Optional + Integer + + ms + The debounce period in ms. . + + + Digital Input Edge Selection + RW + Single + Optional + Integer + 1-3 + + The edge selection as an integer (1 = Falling edge, 2 = Rising edge, 3 = Both Rising and Falling edge). + + + Digital Input Counter Reset + E + Single + Optional + + + + Reset the Counter value. + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string, for instance, “Air Pressure” + + + Sensor Type + R + Single + Optional + String + + + The type of the sensor (for instance PIR type) + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3201.xml b/leshan-client-demo/src/main/resources/models/3201.xml new file mode 100644 index 0000000000..e5ac9e05b4 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3201.xml @@ -0,0 +1,44 @@ + + + + Digital Output + Generic digital output for non-specific actuators + 3201 + urn:oma:lwm2m:ext:3201 + Multiple + Optional + + + Digital Output State + RW + Single + Mandatory + Boolean + + + The current state of a digital output. + + + Digital Output Polarity + RW + Single + Optional + Boolean + + + The polarity of a digital ouput as a Boolean (0 = Normal, 1= Reversed). + + + Application Type + RW + Single + Optional + String + + + The application type of the output as a string, for instance, “LED” + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3202.xml b/leshan-client-demo/src/main/resources/models/3202.xml new file mode 100644 index 0000000000..b75569db74 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3202.xml @@ -0,0 +1,94 @@ + + + + Analog Input + Generic analog input for non-specific sensors + 3202 + urn:oma:lwm2m:ext:3202 + Multiple + Optional + + + Analog Input Current Value + R + Single + Mandatory + Float + 0-1 + + The current value of the analog input. + + + Min Measured Value + R + Single + Optional + Float + + + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + + The maximum value that can be measured by the sensor + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string, for instance, “Air Pressure” + + + Sensor Type + R + Single + Optional + String + + + The type of the sensor, for instance PIR type + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3203.xml b/leshan-client-demo/src/main/resources/models/3203.xml new file mode 100644 index 0000000000..f3082eff46 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3203.xml @@ -0,0 +1,54 @@ + + + + Analog Output + This IPSO object is a generic object that can be used with any kind of analog output interface. + 3203 + urn:oma:lwm2m:ext:3203 + Multiple + Optional + + + Analog Output Current Value + RW + Single + Mandatory + Float + 0-1 + + The current state of the analogue output. + + + Application Type + RW + Single + Optional + String + + + If present, the application type of the actuator as a string, for instance, “Valve” + + + Min Range Value + R + Single + Optional + Float + + + The minimum value that can be set for the output + + + Max Range Value + R + Single + Optional + Float + + + The maximum value that can be set for the output + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3300.xml b/leshan-client-demo/src/main/resources/models/3300.xml new file mode 100644 index 0000000000..ca03f71d91 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3300.xml @@ -0,0 +1,105 @@ + + + + Generic Sensor + This IPSO object allow the description of a generic sensor. It is based on the description of a value and a unit according to the UCUM specification. Thus, any type of value defined within this specification can be reporting using this object. +Specific object for a given range of sensors is described later in the document, enabling to identify the type of sensors directly from its Object ID. This object may be used as a generic object if a dedicated one does not exist. + 3300 + urn:oma:lwm2m:ext:3300 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + Last or Current Measured Value from the Sensor + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius. + + + Min Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Application Type + RW + Single + Optional + String + + + If present, the application type of the sensor as a string, for instance, “CO2” + + + Sensor Type + R + Single + Optional + String + + + The type of the sensor (for instance PIR type) + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3301.xml b/leshan-client-demo/src/main/resources/models/3301.xml new file mode 100644 index 0000000000..debb1170ed --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3301.xml @@ -0,0 +1,84 @@ + + + + Illuminance + Illuminance sensor, example units = lx + 3301 + urn:oma:lwm2m:ext:3301 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + The current value of the luminosity sensor. + + + Min Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + Sensor Units + R + Single + Optional + String + + + If present, the type of sensor defined as the UCUM Unit Definition e.g. “Cel” for Temperature in Celcius. + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3302.xml b/leshan-client-demo/src/main/resources/models/3302.xml new file mode 100644 index 0000000000..e7afb5a6e1 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3302.xml @@ -0,0 +1,74 @@ + + + + Presence + Presence sensor with digital sensing, optional delay parameters + 3302 + urn:oma:lwm2m:ext:3302 + Multiple + Optional + + + Digital Input State + R + Single + Mandatory + Boolean + + + The current state of the presence sensor + + + Digital Input Counter + R + Single + Optional + Integer + + + The cumulative value of active state detected. + + + Digital Input Counter Reset + E + Single + Optional + + + + Reset the Counter value + + + Sensor Type + R + Single + Optional + String + + + The type of the sensor (for instance PIR type) + + + Busy to Clear delay + RW + Single + Optional + Integer + + ms + Delay from the detection state to the clear state in ms + + + Clear to Busy delay + RW + Single + Optional + Integer + + ms + Delay from the clear state to the busy state in ms + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3304.xml b/leshan-client-demo/src/main/resources/models/3304.xml new file mode 100644 index 0000000000..8216847a43 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3304.xml @@ -0,0 +1,84 @@ + + + + Humidity + Description: This IPSO object should be used with a humidity sensor to report a humidity measurement. It also provides resources for minimum/maximum measured values and the minimum/maximum range that can be measured by the humidity sensor. An example measurement unit is relative humidity as a percentage (ucum:%). + 3304 + urn:oma:lwm2m:ext:3304 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + Last or Current Measured Value from the Sensor + + + Min Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius. + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3305.xml b/leshan-client-demo/src/main/resources/models/3305.xml new file mode 100644 index 0000000000..050ae493e2 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3305.xml @@ -0,0 +1,194 @@ + + + + Power Measurement + This IPSO object should be used over a power measurement sensor to report a remote power measurement. It also provides resources for minimum/maximum measured values and the minimum/maximum range for both active and reactive power. Il also provides resources for cumulative energy, calibration, and the power factor. + 3305 + urn:oma:lwm2m:ext:3305 + Multiple + Optional + + + Instantaneous active power + R + Single + Mandatory + Float + + W + The current active power + + + Min Measured active power + R + Single + Optional + Float + + W + The minimum active power measured by the sensor since it is ON + + + Max Measured active power + R + Single + Optional + Float + + W + The maximum active power measured by the sensor since it is ON + + + Min Range active power + R + Single + Optional + Float + + W + The minimum active power that can be measured by the sensor + + + Max Range active power + R + Single + Optional + Float + + W + The maximum active power that can be measured by the sensor + + + Cumulative active power + R + Single + Optional + Float + + Wh + The cumulative active power since the last cumulative energy reset or device start + + + Active Power Calibration + W + Single + Optional + Float + + W + Request an active power calibration by writing the value of a calibrated load. + + + Instantaneous reactive power + R + Single + Optional + Float + + VAR + The current reactive power + + + Min Measured reactive power + R + Single + Optional + Float + + VAR + The minimum reactive power measured by the sensor since it is ON + + + Max Measured reactive power + R + Single + Optional + Float + + VAR + The maximum reactive power measured by the sensor since it is ON + + + Min Range reactive power + R + Single + Optional + Float + + VAR + The minimum active power that can be measured by the sensor + + + Max Range reactive power + R + Single + Optional + Float + + VAR + The maximum reactive power that can be measured by the sensor + + + Cumulative reactive power + R + Single + Optional + Float + + VARh + The cumulative reactive power since the last cumulative energy reset or device start + + + Reactive Power Calibration + W + Single + Optional + Float + + VAR + Request a reactive power calibration by writing the value of a calibrated load. + + + Power Factor + R + Single + Optional + Float + + + If applicable, the power factor of the current consumption. + + + Current Calibration + RW + Single + Optional + Float + + + Read or Write the current calibration coefficient + + + Reset Cumulative energy + E + Single + Optional + + + + Reset both cumulative active/reactive power + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3306.xml b/leshan-client-demo/src/main/resources/models/3306.xml new file mode 100644 index 0000000000..8c1cd45812 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3306.xml @@ -0,0 +1,64 @@ + + + + Actuation + This IPSO object is dedicated to remote actuation such as ON/OFF action or dimming. A multi-state output can also be described as a string. This is useful to send pilot wire orders for instance. It also provides a resource to reflect the time that the device has been switched on. + 3306 + urn:oma:lwm2m:ext:3306 + Multiple + Optional + + + On/Off + RW + Single + Mandatory + Boolean + + + On/Off + + + Dimmer + RW + Single + Optional + Integer + 0-100 + % + This resource represents a light dimmer setting, which has an Integer value between 0 and 100 as a percentage. + + + On Time + RW + Single + Optional + Integer + + sec + The time in seconds that the device has been on. Writing a value of 0 resets the counter. + + + Muti-state Output + RW + Single + Optional + String + + + A string describing a state for multiple level output such as Pilot Wire + + + Application Type + RW + Single + Optional + String + + + The Application type of the device, for example “Motion Closure”. + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3308.xml b/leshan-client-demo/src/main/resources/models/3308.xml new file mode 100644 index 0000000000..850ea9f099 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3308.xml @@ -0,0 +1,54 @@ + + + + Set Point + Description: This IPSO object should be used to set a desired value to a controller, such as a thermostat. This object enables a setpoint to be expressed units defined in the UCUM specification, to match an associated sensor or measurement value. A special resource is added to set the colour of an object. + 3308 + urn:oma:lwm2m:ext:3308 + Multiple + Optional + + + Set Point Value + RW + Single + Mandatory + Float + + Defined by “Units” resource. + The setpoint value. + + + Sensor Units + R + Single + Optional + String + + + If present, the type of sensor defined as the UCUM Unit Definition e.g. “Cel” for Temperature in Celcius. + + + Colour + RW + Single + Optional + String + + + A string representing a value in some color space + + + Application Type + RW + Single + Optional + String + + + The Application type of the device, for example “Motion Closure”. + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3310.xml b/leshan-client-demo/src/main/resources/models/3310.xml new file mode 100644 index 0000000000..13b6dbce4e --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3310.xml @@ -0,0 +1,84 @@ + + + + Load Control + Description: This Object is used for demand-response load control and other load control in automation application (not limited to power). + 3310 + urn:oma:lwm2m:ext:3310 + Multiple + Optional + + + Event Identifier + RW + Single + Mandatory + String + + + The event identifier as a string. + + + Start Time + RW + Single + Mandatory + String + + + Time when the load control event will start started. + + + Duration In Min + RW + Single + Mandatory + String + + Min + The duration of the load control event. + + + Criticality Level + RW + Single + Optional + String + + + The criticality of the event. The device receiving the event will react in an appropriate fashion for the device. + + + Avg Load Adj Pct + RW + Single + Optional + String + 0-100 + % + Defines the maximum energy usage of the receivng device, as a percentage of the device's normal maximum energy usage. + + + Duty Cycle + RW + Single + Optional + String + 0-100 + % + Defines the duty cycle for the load control event, i.e, what percentage of time the receiving device is allowed to be on. + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string, for instance, “Air Pressure” + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3311.xml b/leshan-client-demo/src/main/resources/models/3311.xml new file mode 100644 index 0000000000..7cd78bea59 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3311.xml @@ -0,0 +1,94 @@ + + + + Light Control + Description: This Object is used to control a light source, such as a LED or other light. It allows a light to be turned on or off and its dimmer setting to be control as a % between 0 and 100. An optional colour setting enables a string to be used to indicate the desired colour. + 3311 + urn:oma:lwm2m:ext:3311 + Multiple + Optional + + + On/Off + RW + Single + Mandatory + Boolean + + + This resource represents a light, which can be controlled, the setting of which is a Boolean value (1,0) where 1 is on and 0 is off. + + + Dimmer + RW + Single + Optional + Integer + 0-100 + % + This resource represents a light dimmer setting, which has an Integer value between 0 and 100 as a percentage. + + + On Time + RW + Single + Optional + Integer + + sec + The time in seconds that the light has been on. Writing a value of 0 resets the counter. + + + Cumulative active power + R + Single + Optional + Float + + Wh + The total power in Wh that the light has used. + + + Power Factor + R + Single + Optional + Float + + + The power factor of the light. + + + Colour + RW + Single + Optional + String + + + A string representing a value in some color space + + + Sensor Units + R + Single + Optional + String + + + If present, the type of sensor defined as the UCUM Unit Definition e.g. “Cel” for Temperature in Celcius. + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string, for instance, “Air Pressure” + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3312.xml b/leshan-client-demo/src/main/resources/models/3312.xml new file mode 100644 index 0000000000..761a24b1bb --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3312.xml @@ -0,0 +1,74 @@ + + + + Power Control + Description: This Object is used to control a power source, such as a Smart Plug. It allows a power relay to be turned on or off and its dimmer setting to be control as a % between 0 and 100. + 3312 + urn:oma:lwm2m:ext:3312 + Multiple + Optional + + + On/Off + RW + Single + Mandatory + Boolean + + + This resource represents a power relay, which can be controlled, the setting of which is a Boolean value (1,0) where 1 is on and 0 is off. + + + Dimmer + RW + Single + Optional + Integer + 0-100 + % + This resource represents a power dimmer setting, which has an Integer value between 0 and 100 as a percentage. + + + On Time + RW + Single + Optional + Integer + + sec + The time in seconds that the power relay has been on. Writing a value of 0 resets the counter. + + + Cumulative active power + R + Single + Optional + Float + + Wh + The total power in Wh that has been used by the load. + + + Power Factor + R + Single + Optional + Float + + + The power factor of the load. + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string, for instance, “Air Pressure” + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3313.xml b/leshan-client-demo/src/main/resources/models/3313.xml new file mode 100644 index 0000000000..71786067ff --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3313.xml @@ -0,0 +1,74 @@ + + + + Accelerometer + Description: This IPSO object can be used to represent a 1-3 axis accelerometer. + 3313 + urn:oma:lwm2m:ext:3313 + Multiple + Optional + + + X Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + The measured value along the X axis. + + + Y Value + R + Single + Optional + Float + + Defined by “Units” resource. + The measured value along the Y axis. + + + Z Value + R + Single + Optional + Float + + Defined by “Units” resource. + The measured value along the Z axis. + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius. + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3314.xml b/leshan-client-demo/src/main/resources/models/3314.xml new file mode 100644 index 0000000000..d92f0df020 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3314.xml @@ -0,0 +1,64 @@ + + + + Magnetometer + Description: This IPSO object can be used to represent a 1-3 axis magnetometer with optional compass direction. + 3314 + urn:oma:lwm2m:ext:3314 + Multiple + Optional + + + X Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + The measured value along the X axis. + + + Y Value + R + Single + Optional + Float + + Defined by “Units” resource. + The measured value along the Y axis. + + + Z Value + R + Single + Optional + Float + + Defined by “Units” resource. + The measured value along the Z axis. + + + Compass Direction + R + Single + Optional + Float + 0-360 + Deg + The compass direction + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius. + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3315.xml b/leshan-client-demo/src/main/resources/models/3315.xml new file mode 100644 index 0000000000..acc61f5bd4 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3315.xml @@ -0,0 +1,84 @@ + + + + Barometer + Description: This IPSO object should be used with an air pressure sensor to report a barometer measurement. It also provides resources for minimum/maximum measured values and the minimum/maximum range that can be measured by the barometer sensor. An example measurement unit is kPa (ucum:kPa). + 3315 + urn:oma:lwm2m:ext:3315 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + Last or Current Measured Value from the Sensor + + + Min Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Sensor Units + R + Single + Optional + String + + + If present, the type of sensor defined as the UCUM Unit Definition e.g. “Cel” for Temperature in Celcius. + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3316.xml b/leshan-client-demo/src/main/resources/models/3316.xml new file mode 100644 index 0000000000..f7454bf188 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3316.xml @@ -0,0 +1,105 @@ + + + + Voltage + This IPSO object should be used with voltmeter sensor to report measured voltage between two points. It also provides resources for minimum and maximum measured values, as well as the minimum and maximum range that can be measured by the sensor. An example measurement unit is volts (ucum: V). + + 3316 + urn:oma:lwm2m:ext:3316 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + Last or Current Measured Value from the Sensor + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius + + + Min Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + Current Calibration + RW + Single + Optional + String + + + Read or Write the current calibration coefficient + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3317.xml b/leshan-client-demo/src/main/resources/models/3317.xml new file mode 100644 index 0000000000..05b49a73fa --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3317.xml @@ -0,0 +1,105 @@ + + + + Current + This IPSO object should be used with an ammeter to report measured electric current in amperes. It also provides resources for minimum and maximum measured values, as well as the minimum and maximum range that can be measured by the sensor. An example measurement unit is volts (ucum: A). + + 3317 + urn:oma:lwm2m:ext:3317 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + Last or Current Measured Value from the Sensor + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius + + + Min Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + Current Calibration + RW + Single + Optional + String + + + Read or Write the current calibration coefficient + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3318.xml b/leshan-client-demo/src/main/resources/models/3318.xml new file mode 100644 index 0000000000..d9c748883b --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3318.xml @@ -0,0 +1,105 @@ + + + + Frequency + This IPSO object should be used to report frequency measurements. It also provides resources for minimum and maximum measured values, as well as the minimum and maximum range that can be measured by the sensor. An example measurement unit is volts (ucum: Hz). + + 3318 + urn:oma:lwm2m:ext:3318 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + Last or Current Measured Value from the Sensor + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius + + + Min Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + Current Calibration + RW + Single + Optional + String + + + Read or Write the current calibration coefficient + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3319.xml b/leshan-client-demo/src/main/resources/models/3319.xml new file mode 100644 index 0000000000..6a64dac832 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3319.xml @@ -0,0 +1,105 @@ + + + + Depth + This IPSO object should be used to report depth measurements. It can, for example, be used to describe a generic rain gauge that measures the accumulated rainfall in millimetres (mm) or in fathoms (fth). + + 3319 + urn:oma:lwm2m:ext:3319 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + Last or Current Measured Value from the Sensor + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius + + + Min Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + Current Calibration + RW + Single + Optional + String + + + Read or Write the current calibration coefficient + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3320.xml b/leshan-client-demo/src/main/resources/models/3320.xml new file mode 100644 index 0000000000..888aa8f544 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3320.xml @@ -0,0 +1,105 @@ + + + + Percentage + This IPSO object should can be used to report measurements relative to a 0-100% scale. For example it could be used to measure the level of a liquid in a vessel or container in units of %. + + 3320 + urn:oma:lwm2m:ext:3320 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + Last or Current Measured Value from the Sensor + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius + + + Min Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + Current Calibration + RW + Single + Optional + String + + + Read or Write the current calibration coefficient + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3321.xml b/leshan-client-demo/src/main/resources/models/3321.xml new file mode 100644 index 0000000000..d869ae1da9 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3321.xml @@ -0,0 +1,105 @@ + + + + Altitude + This IPSO object should be used with an altitude sensor to report altitude above sea level in meters. Note that Altitude can be calculated from the measured pressure given the local sea level pressure. It also provides resources for minimum and maximum measured values, as well as the minimum and maximum range that can be measured by the sensor. An example measurement unit is meters (ucum: m). + + 3321 + urn:oma:lwm2m:ext:3321 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + Last or Current Measured Value from the Sensor + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius + + + Min Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + Current Calibration + RW + Single + Optional + String + + + Read or Write the current calibration coefficient + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3322.xml b/leshan-client-demo/src/main/resources/models/3322.xml new file mode 100644 index 0000000000..557b9e2361 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3322.xml @@ -0,0 +1,105 @@ + + + + Load + This IPSO object should be used with a load sensor (as in a scale) to report the applied weight or force. It also provides resources for minimum and maximum measured values, as well as the minimum and maximum range that can be measured by the sensor. An example measurement unit is kilograms (ucum: Kg). + + 3322 + urn:oma:lwm2m:ext:3322 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + Last or Current Measured Value from the Sensor + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius + + + Min Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + Current Calibration + RW + Single + Optional + String + + + Read or Write the current calibration coefficient + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3323.xml b/leshan-client-demo/src/main/resources/models/3323.xml new file mode 100644 index 0000000000..6b2f07b381 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3323.xml @@ -0,0 +1,105 @@ + + + + Pressure + This IPSO object should be used to report pressure measurements. It also provides resources for minimum and maximum measured values, as well as the minimum and maximum range that can be measured by the sensor. An example measurement unit is pascals (ucum: Pa). + + 3323 + urn:oma:lwm2m:ext:3323 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + Last or Current Measured Value from the Sensor + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius + + + Min Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + Current Calibration + RW + Single + Optional + String + + + Read or Write the current calibration coefficient + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3324.xml b/leshan-client-demo/src/main/resources/models/3324.xml new file mode 100644 index 0000000000..3afd8ad276 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3324.xml @@ -0,0 +1,105 @@ + + + + Loudness + This IPSO object should be used to report loudness or noise level measurements. It also provides resources for minimum and maximum measured values, as well as the minimum and maximum range that can be measured by the sensor. An example measurement unit is decibels (ucum: dB). + + 3324 + urn:oma:lwm2m:ext:3324 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + Last or Current Measured Value from the Sensor + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius + + + Min Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + Current Calibration + RW + Single + Optional + String + + + Read or Write the current calibration coefficient + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3325.xml b/leshan-client-demo/src/main/resources/models/3325.xml new file mode 100644 index 0000000000..8d407ce80f --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3325.xml @@ -0,0 +1,105 @@ + + + + Concentration + This IPSO object should be used to the particle concentration measurement of a medium. It also provides resources for minimum and maximum measured values, as well as the minimum and maximum range that can be measured by the sensor. An example measurement unit is parts per million (ucum: ppm). + + 3325 + urn:oma:lwm2m:ext:3325 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + Last or Current Measured Value from the Sensor + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius + + + Min Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + Current Calibration + RW + Single + Optional + String + + + Read or Write the current calibration coefficient + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3326.xml b/leshan-client-demo/src/main/resources/models/3326.xml new file mode 100644 index 0000000000..202cdf2340 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3326.xml @@ -0,0 +1,105 @@ + + + + Acidity + This IPSO object should be used to report an acidity measurement of a liquid. It also provides resources for minimum and maximum measured values, as well as the minimum and maximum range that can be measured by the sensor. An example measurement unit is pH. + + 3326 + urn:oma:lwm2m:ext:3326 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + Last or Current Measured Value from the Sensor + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius + + + Min Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + Current Calibration + RW + Single + Optional + String + + + Read or Write the current calibration coefficient + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3327.xml b/leshan-client-demo/src/main/resources/models/3327.xml new file mode 100644 index 0000000000..1c68c2155e --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3327.xml @@ -0,0 +1,105 @@ + + + + Conductivity + This IPSO object should be used to report a measurement of the electric conductivity of a medium or sample. It also provides resources for minimum and maximum measured values, as well as the minimum and maximum range that can be measured by the sensor. An example measurement unit is Siemens (ucum: S). + + 3327 + urn:oma:lwm2m:ext:3327 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + Last or Current Measured Value from the Sensor + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius + + + Min Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + Current Calibration + RW + Single + Optional + String + + + Read or Write the current calibration coefficient + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3328.xml b/leshan-client-demo/src/main/resources/models/3328.xml new file mode 100644 index 0000000000..3613009fee --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3328.xml @@ -0,0 +1,105 @@ + + + + Power + This IPSO object should be used to report power measurements. It also provides resources for minimum and maximum measured values, as well as the minimum and maximum range that can be measured by the sensor. An example measurement unit is Watts (ucum: W). This resource may be used for either real power or apparent power (units= ucum:VA) measurements. The Application type can be use for reactive power or active power for example. + + 3328 + urn:oma:lwm2m:ext:3328 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + Last or Current Measured Value from the Sensor + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius + + + Min Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + Current Calibration + RW + Single + Optional + String + + + Read or Write the current calibration coefficient + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3329.xml b/leshan-client-demo/src/main/resources/models/3329.xml new file mode 100644 index 0000000000..421dfc2075 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3329.xml @@ -0,0 +1,105 @@ + + + + Power Factor + This IPSO object should be used to report a measurement or calculation of the power factor of a reactive electrical load. Power Factor is normally the ratio of non-reactive power to total power. This object also provides resources for minimum and maximum measured values, as well as the minimum and maximum range that can be measured by the sensor. + + 3329 + urn:oma:lwm2m:ext:3329 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + Last or Current Measured Value from the Sensor + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius + + + Min Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + Current Calibration + RW + Single + Optional + String + + + Read or Write the current calibration coefficient + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3330.xml b/leshan-client-demo/src/main/resources/models/3330.xml new file mode 100644 index 0000000000..5ccf25644a --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3330.xml @@ -0,0 +1,105 @@ + + + + Distance + This IPSO object should be used to report a distance measurement. It also provides resources for minimum and maximum measured values, as well as the minimum and maximum range that can be measured by the sensor. An example measurement unit is Meters (ucum: m). + + 3330 + urn:oma:lwm2m:ext:3330 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + Last or Current Measured Value from the Sensor + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius + + + Min Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + Current Calibration + RW + Single + Optional + String + + + Read or Write the current calibration coefficient + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3331.xml b/leshan-client-demo/src/main/resources/models/3331.xml new file mode 100644 index 0000000000..1a2b7cb579 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3331.xml @@ -0,0 +1,55 @@ + + + + Energy + This IPSO object should be used to report energy consumption (Cumulative Power) of an electrical load. An example measurement unit is Watt Hours (ucum:W*h). + + 3331 + urn:oma:lwm2m:ext:3331 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + Last or Current Measured Value from the Sensor. + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius. + + + Reset Cumulative Energy + E + Single + Optional + + + + Reset both cumulative active/reactive power. + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case. + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3332.xml b/leshan-client-demo/src/main/resources/models/3332.xml new file mode 100644 index 0000000000..1ae8e6770a --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3332.xml @@ -0,0 +1,65 @@ + + + + Direction + This IPSO object is used to report the direction indicated by a compass, wind vane, or other directional indicator. The units of measure is plane angle degrees (ucum:deg). + + 3332 + urn:oma:lwm2m:ext:3332 + Multiple + Optional + + + Compass Direction + R + Single + Mandatory + Float + 0-360 + deg + This indicates the compass direction of some phenomenon (i.e. direction of travel, wind direction…). + + + Min Measured Value + R + Single + Optional + Float + + + The minimum value measured by the sensor since power ON or reset. + + + Max Measured Value + R + Single + Optional + Float + + + The maximum value measured by the sensor since power ON or reset. + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value. + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case. + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3333.xml b/leshan-client-demo/src/main/resources/models/3333.xml new file mode 100644 index 0000000000..3c8a3839ce --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3333.xml @@ -0,0 +1,45 @@ + + + + Time + This IPSO object is used to report the current time in seconds since January 1, 1970 UTC. There is also a fractional time counter that has a range of less than one second. + + 3333 + urn:oma:lwm2m:ext:3333 + Multiple + Optional + + + Current Time + RW + Single + Mandatory + Time + + s + Unix Time. A signed integer representing the number of seconds since Jan 1st, 1970 in the UTC time zone. + + + Fractional Time + RW + Single + Optional + Float + 0-1 + seconds + For shorter times of a fraction of a second (i.e. 0.23). + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case. + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3334.xml b/leshan-client-demo/src/main/resources/models/3334.xml new file mode 100644 index 0000000000..ce35bacd0a --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3334.xml @@ -0,0 +1,155 @@ + + + + Gyrometer + This IPSO Object is used to report the current reading of a gyrometer sensor in 3 axes. It provides tracking of the minimum and maximum angular rate in all 3 axes. An example unit of measure is radians per second (ucum:rad/s). + + 3334 + urn:oma:lwm2m:ext:3334 + Multiple + Optional + + + X Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + The measured value along the X axis. + + + Y Value + R + Single + Optional + Float + + Defined by “Units” resource. + The measured value along the Y axis. + + + Z Value + R + Single + Optional + Float + + Defined by “Units” resource. + The measured value along the Z axis. + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius. + + + Min X Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum measured value along the X axis + + + Max X Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum measured value along the X axis + + + Min Y Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum measured value along the Y axis + + + Max Y Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum measured value along the Y axis + + + Min Z Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum measured value along the Z axis + + + Max Z Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum measured value along the Z axis + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value. + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case. + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3335.xml b/leshan-client-demo/src/main/resources/models/3335.xml new file mode 100644 index 0000000000..1e5bb30a72 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3335.xml @@ -0,0 +1,45 @@ + + + + Colour + This IPSO object should be used to report the measured value of a colour sensor in some colour space described by the units resource. + + 3335 + urn:oma:lwm2m:ext:3335 + Multiple + Optional + + + Colour + RW + Single + Mandatory + String + + + A string representing a value in some colour space. + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. “Cel” for Temperature in Celsius. + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case. + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3336.xml b/leshan-client-demo/src/main/resources/models/3336.xml new file mode 100644 index 0000000000..bc6631162c --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3336.xml @@ -0,0 +1,95 @@ + + + + Location + This IPSO object represents GPS coordinates. This object is compatible with the LWM2M management object for location, but uses reusable resources. + + 3336 + urn:oma:lwm2m:ext:3336 + Multiple + Optional + + + Latitude + R + Single + Mandatory + String + + + The decimal notation of latitude, e.g. -43.5723 (World Geodetic System 1984). + + + Longitude + R + Single + Mandatory + String + + + The decimal notation of longitude, e.g. 153.21760 (World Geodetic System 1984). + + + Altitude + R + Single + Optional + String + + + The decimal notation of altitude in meters above sea level. + + + Uncertainty + R + Single + Optional + String + + + The accuracy of the position in meters. + + + Compass Direction + R + Single + Optional + Float + 0-360 + Degrees + Measured Direction. + + + Velocity + R + Single + Optional + Opaque + + + The velocity of the device as defined in 3GPP 23.032 GAD specification. This set of values may not be available if the device is static. + + + Timestamp + R + Single + Optional + Time + + + The timestamp of when the location measurement was performed. + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case. + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3337.xml b/leshan-client-demo/src/main/resources/models/3337.xml new file mode 100644 index 0000000000..19dcdeada9 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3337.xml @@ -0,0 +1,105 @@ + + + + Positioner + This IPSO object should be used with a generic position actuator from 0 to 100%. This resource optionally allows setting the transition time for an operation that changes the position of the actuator, and for reading the remaining time of the currently active transition. + + 3337 + urn:oma:lwm2m:ext:3337 + Multiple + Optional + + + Current Position + RW + Single + Mandatory + Float + 0-100 + % + Current position or desired position of a positioner actuator. + + + Transition Time + RW + Single + Optional + Float + + s + The time expected to move the actuator to the new position. + + + Remaining Time + R + Single + Optional + Float + + s + The time remaining in an operation. + + + Min Measured Value + R + Single + Optional + Float + Same as Measured Value + Same as Measured Value + The minimum value set on the actuator since power ON or reset. + + + Max Measured Value + R + Single + Optional + Float + Same as Measured Value + Same as Measured Value + The maximum value set on the actuator since power ON or reset. + + + Reset Min and Max Measured Value + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value. + + + Min Limit + R + Single + Optional + Float + Same as Measured Value + Same as Measured Value + The minimum value that can be measured by the sensor. + + + Max Limit + R + Single + Optional + Float + Same as Measured Value + Same as Measured Value + The maximum value that can be measured by the sensor. + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case. + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3338.xml b/leshan-client-demo/src/main/resources/models/3338.xml new file mode 100644 index 0000000000..73e79c3868 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3338.xml @@ -0,0 +1,65 @@ + + + + Buzzer + This IPSO object should be used to actuate an audible alarm such as a buzzer, beeper, or vibration alarm. There is a dimmer control for setting the relative loudness of the alarm, and an optional duration control to limit the length of time the alarm sounds when turned on. Each time a “1” is written to the On/Off resource, the alarm will sound again for the configured duration. If no duration is programmed or the setting is zero, writing a “1” to the On/Off resource will result in the alarm sounding continuously until a “0” is written to the On/Off resource. + + 3338 + urn:oma:lwm2m:ext:3338 + Multiple + Optional + + + On/Off + RW + Single + Mandatory + Boolean + + + On/Off control, 0=OFF, 1=ON. + + + Level + RW + Single + Optional + Float + 0-100 + % + Audio volume control, float value between 0 and 100 as a percentage. + + + Delay Duration + RW + Single + Optional + Float + + s + The duration of the time delay. + + + Minimum Off-time + RW + Single + Mandatory + Float + + s + The off time when On/Off control remains on. + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case. + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3339.xml b/leshan-client-demo/src/main/resources/models/3339.xml new file mode 100644 index 0000000000..b34e5f9689 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3339.xml @@ -0,0 +1,64 @@ + + + + Audio Clip + This IPSO object should be used for a speaker that plays a pre-recorded audio clip or an audio output that is sent elsewhere. For example, an elevator which announces the floor of the building. A resource is provided to store the clip, a dimmer resource controls the relative sound level of the playback, and a duration resource limits the maximum playback time. After the duration time is reached, any remaining samples in the clip are ignored, and the clip player will be ready to play another clip. + 3339 + urn:oma:lwm2m:ext:3339 + Multiple + Optional + + + Clip + RW + Single + Mandatory + Opaque + + + Audio Clip that is playable (i.e. short audio recording indicating the floor in an elevator). + + + Trigger + E + Single + Optional + + + + Trigger initiating actuation. + + + Level + RW + Single + Optional + Float + 0-100 + % + Audio volume control, float value between 0 and 100 as a percentage. + + + Duration + RW + Single + Optional + Float + + seconds + The duration of the sound once trigger. + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case. + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3340.xml b/leshan-client-demo/src/main/resources/models/3340.xml new file mode 100644 index 0000000000..24590c310c --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3340.xml @@ -0,0 +1,125 @@ + + + + Timer + This IPSO object is used to time events and actions, using patterns common to industrial timers. A POST to the trigger resource or On/Off input state change starts the timing operation, and the timer remaining time shows zero when the operation is complete. The patterns supported are One-Shot (mode 1), On-Time or Interval (mode 2), Time delay on pick-up or TDPU (tmode 3), and Time Delay on Drop-Out or TDDO (mode 4). Mode 0 disables the timer, so the output follows the input with no delay. A counter is provided to count occurrences of the timer output changing from 0 to 1. Writing a value of zero resets the counter. The Digital Input State resource reports the state of the timer output. + + 3340 + urn:oma:lwm2m:ext:3340 + Multiple + Optional + + + Duration + RW + Single + Mandatory + Float + + s + The duration of the time delay. + + + Remaining Time + R + Single + Optional + Float + + s + The time remaining in an operation. + + + Minimum Off-time + RW + Single + Optional + Float + + s + The duration of the rearm delay (i.e. the delay from the end of one cycle until the beginning of the next, the inhibit time). + + + Trigger + E + Single + Optional + + + + Trigger initiating actuation. + + + On/Off + RW + Single + Optional + Boolean + + + On/off control for the timer input, 0=OFF, 1=ON. + + + Digital Input Counter + R + Single + Optional + Integer + + + The number of times the input. + + + Cumulative Time + RW + Single + Optional + Float + + s + The total time in seconds that the timer input is true. Writing a 0 resets the time. + + + Digital State + R + Single + Optional + Boolean + + + The current state of the timer output. + + + Counter + RW + Single + Optional + Integer + + + Counts the number of times the timer output transitions from 0 to 1. + + + Mode + RW + Single + Optional + Integer + 0-4 + + Type of timer pattern used by the patterns. + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case. + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3341.xml b/leshan-client-demo/src/main/resources/models/3341.xml new file mode 100644 index 0000000000..e71a2bdf68 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3341.xml @@ -0,0 +1,105 @@ + + + + Addressable Text Display + This IPSO object is used to send text to a text-only or text mode graphics display. POSTing a string of text to the text resource causes it to be displayed at the selected X and Y locations on the display. If X or Y are set to a value greater than the size of the display, the position “wraps around” to the modulus of the setting and the display size. Likewise, if the text string overflows the display size, the text “wraps around” and displays on the next line down or, if the last line has been written, wraps around to the top of the display. Brightness and Contrast controls are provided to allow control of various display types including STN and DSTN type LCD character displays. POSTing an empty payload to the Clear Display resource causes the display to be erased. + + 3341 + urn:oma:lwm2m:ext:3341 + Multiple + Optional + + + Text + RW + Single + Mandatory + String + + + A string of text. + + + X Coordinate + RW + Single + Optional + Integer + + + X Coordinate. + + + Y Coordinate + RW + Single + Optional + Integer + + + Y Coordinate. + + + Max X Coordinate + R + Single + Optional + Integer + + + The highest X coordinate the display supports before wrapping to the next line. + + + Max Y Coordinate + R + Single + Optional + Integer + + + The highest Y coordinate the display supports before wrapping to the next line. + + + Clear Display + E + Single + Optional + + + + Command to clear the display. + + + Level + RW + Single + Optional + Float + 0-100 + % + Brightness control, integer value between 0 and 100 as a percentage. + + + Contrast + RW + Single + Optional + Float + 0-100 + % + Proportional control, integer value between 0 and 100 as a percentage. + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case. + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3342.xml b/leshan-client-demo/src/main/resources/models/3342.xml new file mode 100644 index 0000000000..e2d42b56ca --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3342.xml @@ -0,0 +1,64 @@ + + + + On/Off switch + This IPSO object should be used with an On/Off switch to report the state of the switch. + 3342 + urn:oma:lwm2m:ext:3342 + Multiple + Optional + + + Digital Input State + R + Single + Mandatory + Boolean + + + The current state of a digital input. + + + Digital Input Counter + R + Single + Optional + Integer + + + The number of times the input transitions from 0 to 1. + + + On Time + RW + Single + Optional + Integer + + s + The time in seconds since the On command was sent. Writing a value of 0 resets the counter. + + + Off Time + RW + Single + Optional + Integer + + s + The time in seconds since the Off command was sent. Writing a value of 0 resets the counter. + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case. + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3343.xml b/leshan-client-demo/src/main/resources/models/3343.xml new file mode 100644 index 0000000000..b7aa257cfe --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3343.xml @@ -0,0 +1,55 @@ + + + + Dimmer + This IPSO object should be used with a dimmer or level control to report the state of the control. + + 3343 + urn:oma:lwm2m:ext:3343 + Multiple + Optional + + + Level + RW + Single + Mandatory + Float + 0-100 + % + Proportional control, integer value between 0 and 100 as a percentage. + + + On Time + RW + Single + Optional + Integer + + s + The time in seconds that the dimmer has been on (Dimmer value has to be > 0). Writing a value of 0 resets the counter. + + + Off Time + RW + Single + Optional + Integer + + s + The time in seconds that the dimmer has been off (dimmer value less or equal to 0) Writing a value of 0 resets the counter. + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3344.xml b/leshan-client-demo/src/main/resources/models/3344.xml new file mode 100644 index 0000000000..f9d3d542de --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3344.xml @@ -0,0 +1,65 @@ + + + + Up/Down Control + This IPSO object is used to report the state of an up/down control element like a pair of push buttons or a rotary encoder. Counters for increase and decrease operations are provided for counting pulses from a quadrature encoder. + + 3344 + urn:oma:lwm2m:ext:3344 + Multiple + Optional + + + Increase Input State + R + Single + Mandatory + Boolean + + + Indicates an increase control action. + + + Decrease Input State + R + Single + Mandatory + Boolean + + + Indicates a decrease control action. + + + Up Counter + RW + Single + Optional + Integer + + + Counts the number of times the increase control has been operated. Writing a 0 resets the counter. + + + Down Counter + RW + Single + Optional + Integer + + + Counts the times the decrease control has been operated. Writing a 0 resets the counter. + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case. + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3345.xml b/leshan-client-demo/src/main/resources/models/3345.xml new file mode 100644 index 0000000000..ca57510e50 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3345.xml @@ -0,0 +1,75 @@ + + + + Multiple Axis Joystick + This IPSO object can be used to report the position of a shuttle or joystick control. A digital input is provided to report the state of an associated push button. + + 3345 + urn:oma:lwm2m:ext:3345 + Multiple + Optional + + + Digital Input State + R + Single + Optional + Boolean + + + The current state of a digital input. + + + Digital Input Counter + R + Single + Optional + Integer + + + The number of times the input transitions from 0 to 1. + + + X Value + R + Single + Optional + Float + + Defined by “Units” resource. + The measured value along the X axis. + + + Y Value + R + Single + Optional + Float + + Defined by “Units” resource. + The measured value along the Y axis. + + + Z Value + R + Single + Optional + Float + + Defined by “Units” resource. + The measured value along the Z axis. + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case. + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3346.xml b/leshan-client-demo/src/main/resources/models/3346.xml new file mode 100644 index 0000000000..21e60f2460 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3346.xml @@ -0,0 +1,105 @@ + + + + Rate + This object type should be used to report a rate measurement, for example the speed of a vehicle, or the rotational speed of a drive shaft. It also provides resources for minimum and maximum measured values, as well as the minimum and maximum range that can be measured by the sensor.An example measurement unit is Feet per Second (ucum:ft_us/s). + + 3346 + urn:oma:lwm2m:ext:3346 + Multiple + Optional + + + Sensor Value + R + Single + Mandatory + Float + + Defined by “Units” resource. + Last or Current Measured Value from the Sensor + + + Sensor Units + R + Single + Optional + String + + + Measurement Units Definition e.g. Rate, example units = Feet per Second + + + Min Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value measured by the sensor since power ON or reset + + + Max Measured Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value measured by the sensor since power ON or reset + + + Min Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The minimum value that can be measured by the sensor + + + Max Range Value + R + Single + Optional + Float + + Defined by “Units” resource. + The maximum value that can be measured by the sensor + + + Reset Min and Max Measured Values + E + Single + Optional + + + + Reset the Min and Max Measured Values to Current Value + + + Current Calibration + RW + Single + Optional + String + + + Read or Write the current calibration coefficient + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3347.xml b/leshan-client-demo/src/main/resources/models/3347.xml new file mode 100644 index 0000000000..b0bf6b0128 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3347.xml @@ -0,0 +1,45 @@ + + + + Push button + This IPSO object is used to report the state of a momentary action push button control and to count the number of times the control has been operated since the last observation. + + 3347 + urn:oma:lwm2m:ext:3347 + Multiple + Optional + + + Digital Input State + R + Single + Mandatory + Boolean + + + The current state of a digital input. + + + Digital Input Counter + R + Single + Optional + Integer + + + The number of times the input transitions from 0 to 1. + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case. + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3348.xml b/leshan-client-demo/src/main/resources/models/3348.xml new file mode 100644 index 0000000000..b55db3ca95 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3348.xml @@ -0,0 +1,35 @@ + + + + Multi-state Selector + This IPSO object is used to represent the state of a Multi-state selector switch with a number of fixed positions. + + 3348 + urn:oma:lwm2m:ext:3348 + Multiple + Optional + + + Multi-state Input + R + Single + Mandatory + Integer + + + The current state of a Multi-state input or selector. + + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case. + + + + + diff --git a/leshan-client-demo/src/main/resources/models/3349.xml b/leshan-client-demo/src/main/resources/models/3349.xml new file mode 100644 index 0000000000..eba88afbc0 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3349.xml @@ -0,0 +1,50 @@ + + + Bitmap + Summarize several digital inputs to one value by mapping each bit to a digital input. + 3349 + urn:oma:lwm2m:ext:3349 + + + Multiple + Optional + + Bitmap Input + R + Single + Mandatory + Integer + + + Integer in which each of the bits are associated with specific digital input value. Represented as a binary signed integer in network byte order, and in two's complement representation. Using values in range 0-127 is recommended to avoid ambiguities with byte order and negative values. + + Bitmap Input Reset + E + Single + Optional + + + + Reset the Bitmap Input value. + + Element Description + RW + Multiple + Optional + String + + + The description of each bit as a string. First instance describes the least significant bit, second instance the second least significant bit. + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case. + + + + diff --git a/leshan-client-demo/src/main/resources/models/3350.xml b/leshan-client-demo/src/main/resources/models/3350.xml new file mode 100644 index 0000000000..d10e5c83f8 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/3350.xml @@ -0,0 +1,50 @@ + + + Stopwatch + An ascending timer that counts how long time has passed since the timer was started after reset. + 3350 + urn:oma:lwm2m:ext:3350 + + + Multiple + Optional + + Cumulative Time + RW + Single + Mandatory + Float + + s + The total time in seconds that the stopwatch has been on. Writing a 0 resets the time. + + On/Off + RW + Single + Optional + Boolean + + + On/Off control for the stopwatch, True=ON, False=OFF. + + Digital Input Counter + R + Single + Optional + Integer + + + The number of times the input transitions from off to on. + + Application Type + RW + Single + Optional + String + + + The application type of the sensor or actuator as a string depending on the use case. + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/Communication_Characteristics-V1_0.xml b/leshan-client-demo/src/main/resources/models/Communication_Characteristics-V1_0.xml new file mode 100644 index 0000000000..b46edcadef --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/Communication_Characteristics-V1_0.xml @@ -0,0 +1,149 @@ + + + + + + + Communication Characteristics + + 17 + urn:oma:lwm2m:oma:17 + Single + Optional + + Maximum uplink packet size + R + Single + Optional + Integer + + octets + + + Maximum downlink packet size + R + Single + Optional + Integer + + octets + + + CoAP ACK_TIMEOUT + RW + Single + Optional + Integer + + + + + CoAP ACK_RANDOM_FACTOR + RW + Single + Optional + Integer + + + + + CoAP MAX_RETRANSMIT + RW + Single + Optional + Integer + + + + + CoAP NSTART + RW + Single + Optional + Integer + + + + + CoAP DEFAULT_LEISURE + RW + Single + Optional + Integer + + + + + CoAP PROBING_RATE + RW + Single + Optional + Integer + + + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/LWM2M_APN_connection_profile-v1_0.xml b/leshan-client-demo/src/main/resources/models/LWM2M_APN_connection_profile-v1_0.xml new file mode 100644 index 0000000000..a96aa321f3 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/LWM2M_APN_connection_profile-v1_0.xml @@ -0,0 +1,331 @@ + + + + + + + APN connection profile + + 11 + urn:oma:lwm2m:oma:11 + Multiple + Optional + + Profile name + RW + Single + Mandatory + String + + + + + APN + RW + Single + Optional + String + + + + + Auto select APN by device + RW + Single + Optional + Boolean + + + + + Enable status + RW + Single + Optional + Boolean + + + + + Authentication Type + RW + Single + Mandatory + Integer + + + + + User Name + RW + Single + Optional + String + + + + + Secret + RW + Single + Optional + String + + + + + Reconnect Schedule + RW + Single + Optional + String + + + + + Validity (MCC, MNC) + RW + Multiple + Optional + String + + + + + Connection establishment time (1) + R + Multiple + Optional + Time + + + + + Connection establishment result (1) + R + Multiple + Optional + Integer + + + + + Connection establishment reject cause (1) + R + Multiple + Optional + Integer + 0-111 + + + + Connection end time (1) + R + Multiple + Optional + Time + + + + + TotalBytesSent + R + Single + Optional + Integer + + + + + TotalBytesReceived + R + Single + Optional + Integer + + + + + IP address (2) + RW + Multiple + Optional + String + + + + + Prefix length(2) + RW + Multiple + Optional + String + + + + + Subnet mask (2) + RW + Multiple + Optional + String + + + + + Gateway (2) + RW + Multiple + Optional + String + + + + + Primary DNS address (2) + RW + Multiple + Optional + String + + + + + Secondary DNS address (2) + RW + Multiple + Optional + String + + + + + QCI (3) + R + Single + Optional + Integer + 1-9 + + + + Vendor specific extensions + R + Single + Optional + Objlnk + + + + + TotalPacketsSent + R + Single + Optional + Integer + + + + + PDN Type + RW + Single + Optional + Integer + + + + + APN Rate Control + R + Single + Optional + Integer + + + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/LWM2M_Bearer_selection-v1_0.xml b/leshan-client-demo/src/main/resources/models/LWM2M_Bearer_selection-v1_0.xml new file mode 100644 index 0000000000..3053f20f1d --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/LWM2M_Bearer_selection-v1_0.xml @@ -0,0 +1,219 @@ + + + + + + + Bearer selection + + 13 + urn:oma:lwm2m:oma:13 + Single + Optional + + Preferred Communications Bearer + RW + Multiple + Optional + Integer + 8-bit + + + + Acceptable RSSI (GSM) + RW + Single + Optional + Integer + + + + + Acceptable RSCP (UMTS) + RW + Single + Optional + Integer + + + + + Acceptable RSRP (LTE) + RW + Single + Optional + Integer + + + + + Acceptable RSSI (1xEV-DO) + RW + Single + Optional + Integer + + + + + Cell lock list + RW + Single + Optional + String + + + + + Operator list + RW + Single + Optional + String + + + + + Operator list mode + RW + Single + Optional + Boolean + + + + + List of available PLMNs + R + Single + Optional + String + + + + + Vendor specific extensions + R + Single + Optional + Objlnk + + + + + Acceptable RSRP (NB-IoT) + RW + Single + Optional + Integer + + + + + Higher Priority PLMN Search Timer + RW + Single + Optional + Integer + + + + + Attach without PDN connection + RW + Single + Optional + Boolean + + + + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/LWM2M_Cellular_connectivity-v1_0.xml b/leshan-client-demo/src/main/resources/models/LWM2M_Cellular_connectivity-v1_0.xml new file mode 100644 index 0000000000..1000ed5e0e --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/LWM2M_Cellular_connectivity-v1_0.xml @@ -0,0 +1,193 @@ + + + + + + + Cellular connectivity + + 10 + urn:oma:lwm2m:oma:10 + Single + Optional + + Activated Profile Names + R + Multiple + Mandatory + String + + + + + SMSC address + RW + Single + Optional + String + + + + + Disable radio period + RW + Single + Optional + Integer + 0-65535 + minutes + 0 the device SHALL disconnect. When the period has elapsed the device MAY reconnect.]]> + + Module activation code + RW + Single + Optional + String + + + + + Vendor specific extensions + R + Single + Optional + Objlnk + + + + + PSM Timer (1) + RW + Single + Optional + Integer + 10min-992 days + s + + + Active Timer (1) + RW + Single + Optional + Integer + 2sec-31 min + s + + + Serving PLMN Rate control + R + Single + Optional + Integer + + + + + eDRX parameters for Iu mode (1) + RW + Single + Optional + Opaque + 8 bits + + + + eDRX parameters for WB-S1 mode (1) + RW + Single + Optional + Opaque + 8 bits + + + + eDRX parameters for NB-S1 mode (1) + RW + Single + Optional + Opaque + 8 bits + + + + eDRX parameters for A/Gb mode (1) + RW + Single + Optional + Opaque + 8 bits + + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/LWM2M_DevCapMgmt-v1_0.xml b/leshan-client-demo/src/main/resources/models/LWM2M_DevCapMgmt-v1_0.xml new file mode 100644 index 0000000000..c499d3d691 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/LWM2M_DevCapMgmt-v1_0.xml @@ -0,0 +1,174 @@ + + + + + + + DevCapMgmt + + 15 + urn:oma:lwm2m:oma:15 + Multiple + Optional + + Property + R + Single + Mandatory + String + + + + + Group + R + Single + Mandatory + Integer + 0-15 + + + + Description + R + Single + Optional + String + + + + + Attached + R + Single + Optional + Boolean + + + + + Enabled + R + Single + Mandatory + Boolean + + + + + opEnable + E + Single + Mandatory + + + + + + opDisable + E + Multiple + Mandatory + + + + + + NotifyEn + RW + Single + Optional + Boolean + + + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/LWM2M_Lock_and_Wipe-V1_0.xml b/leshan-client-demo/src/main/resources/models/LWM2M_Lock_and_Wipe-V1_0.xml new file mode 100644 index 0000000000..155815b7d1 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/LWM2M_Lock_and_Wipe-V1_0.xml @@ -0,0 +1,80 @@ + + + Lock and Wipe + + 8 + urn:oma:lwm2m: oma:8 + Single + Optional + + State + RW + Single + Mandatory + Integer + 0-2 + + + + Lock target + W + Multiple + Mandatory + String + + + + + Wipe item + R + Multiple + Optional + String + + + + + Wipe + E + Single + Mandatory + + + + + + + Wipe target + W + Multiple + Mandatory + String + + + + Lock or Wipe Operation Result + R + Single + Mandatory + Integer + 0-8 + + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/LWM2M_Portfolio-v1_0.xml b/leshan-client-demo/src/main/resources/models/LWM2M_Portfolio-v1_0.xml new file mode 100644 index 0000000000..206e40819d --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/LWM2M_Portfolio-v1_0.xml @@ -0,0 +1,129 @@ + + + + + + + Portfolio + + 16 + urn:oma:lwm2m:oma:16 + Multiple + Optional + + Identity + RW + Multiple + Mandatory + String + + + + + GetAuthData + E + Single + Optional + + + + + + AuthData + R + Multiple + Optional + String + + + + + AuthStatus + R + Single + Optional + Integer + [0-2] + + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/LWM2M_Software_Component-v1_0.xml b/leshan-client-demo/src/main/resources/models/LWM2M_Software_Component-v1_0.xml new file mode 100644 index 0000000000..f88f9c0009 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/LWM2M_Software_Component-v1_0.xml @@ -0,0 +1,140 @@ + + + + + + + LWM2M Software Component + + 14 + urn:oma:lwm2m:oma:14 + Multiple + Optional + + + Component Identity + R + Single + Optional + String + 0-255 bytes + + + + + Component Pack + R + Single + Optional + Opaque + + + + + + Component Version + R + Single + Optional + String + 0-255 bytes + + + + + Activate + E + Single + Optional + + + + + + + Deactivate + E + Single + Optional + + + + + + Activation State + R + Single + Optional + Boolean + + + + + + + + diff --git a/leshan-client-demo/src/main/resources/models/LWM2M_Software_Management-v1_0.xml b/leshan-client-demo/src/main/resources/models/LWM2M_Software_Management-v1_0.xml new file mode 100644 index 0000000000..a95426ebea --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/LWM2M_Software_Management-v1_0.xml @@ -0,0 +1,280 @@ + + + + + + + LWM2M Software Management + + 9 + urn:oma:lwm2m:oma:9 + Multiple + Optional + + + PkgName + R + Single + Mandatory + String + 0-255 bytes + + + + + PkgVersion + R + Single + Mandatory + String + 0-255 bytes + + + + + Package + W + Single + Optional + Opaque + + + + + + Package URI + W + Single + Optional + String + 0-255 bytes + + + + + Install + E + Single + Mandatory + + + + + + Checkpoint + R + Single + Optional + Objlnk + + + + + Uninstall + E + Single + Mandatory + + + + + + Update State + R + Single + Mandatory + Integer + 0-4 + + + + Update Supported Objects + RW + Single + Optional + Boolean + + + + + Update Result + R + Single + Mandatory + Integer + 0-200 + + + + Activate + E + Single + Mandatory + + + + + + Deactivate + E + Single + Mandatory + + + + + + Activation State + R + Single + Mandatory + Boolean + + + + + Package Settings + RW + Single + Optional + Objlnk + + + + + User Name + W + Single + Optional + String + 0-255 bytes + + + + Password + W + Single + Optional + String + 0-255 bytes + + + + + + diff --git a/leshan-client-demo/src/main/resources/models/LWM2M_WLAN_connectivity4-v1_0.xml b/leshan-client-demo/src/main/resources/models/LWM2M_WLAN_connectivity4-v1_0.xml new file mode 100644 index 0000000000..bf7692d0b5 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/LWM2M_WLAN_connectivity4-v1_0.xml @@ -0,0 +1,572 @@ + + + + + + + WLAN connectivity + + 12 + urn:oma:lwm2m:oma:12 + + + Multiple + Optional + + Interface name + RW + Single + Mandatory + String + + + + + Enable + RW + Single + Mandatory + Boolean + + + + + Radio Enabled + RW + Single + Optional + Integer + + + + + Status + R + Single + Mandatory + Integer + + + + + BSSID + R + Single + Mandatory + String + 12 bytes + + + + SSID + RW + Single + Mandatory + String + 1-32 Bytes + + + + Broadcast SSID + RW + Single + Optional + Boolean + + + + + Beacon Enabled + RW + Single + Optional + Boolean + + + + + Mode + RW + Single + Mandatory + Integer + + + + + Channel + RW + Single + Mandatory + Integer + 0-255 + + + + Auto Channel + RW + Single + Optional + Boolean + + + + + Supported Channels + RW + Multiple + Optional + Integer + + + + + Channels In Use + RW + Multiple + Optional + Integer + + + + + Regulatory Domain + RW + Single + Optional + String + 3 Bytes + + + + Standard + RW + Single + Mandatory + Integer + + + + + Authentication Mode + RW + Single + Mandatory + Integer + + + + + Encryption Mode + RW + Single + Optional + Integer + + + + + WPA Pre Shared Key + W + Single + Optional + String + 64 Bytes + + + + WPA Key Phrase + W + Single + Optional + String + 1-64 Bytes + + + + WEP Encryption Type + RW + Single + Optional + Integer + + + + + WEP Key Index + RW + Single + Optional + Integer + [1:4] + + + + WEP Key Phrase + W + Single + Optional + String + 1-64 Bytes + + + + WEP Key 1 + W + Single + Optional + String + 0 or 26 Bytes + + + + WEP Key 2 + W + Single + Optional + String + 0 or 26 Bytes + + + + WEP Key 3 + W + Single + Optional + String + 10 or 26 Bytes + + + + WEP Key 4 + W + Single + Optional + String + 10 or 26 Bytes + + + + RADIUS Server + RW + Single + Optional + String + 1-256 Bytes + + + + RADIUS Server Port + RW + Single + Optional + Integer + + + + + RADIUS Secret + W + Single + Optional + String + 1-256 Bytes + + + + WMM Supported + R + Single + Optional + Boolean + + + + + WMM Enabled + RW + Single + Optional + Boolean + + + + + MAC Control Enabled + RW + Single + Optional + Boolean + + + + + MAC Address List + RW + Multiple + Optional + String + 12 Bytes + + + + Total Bytes Sent + R + Single + Optional + Integer + + + + + Total Bytes Received + R + Single + Optional + Integer + + + + + Total Packets Sent + R + Single + Optional + Integer + + + + + Total Packets Received + R + Single + Optional + Integer + + + + + Transmit Errors + R + Single + Optional + Integer + + + + + Receive Errors + R + Single + Optional + Integer + + + + + Unicast Packets Sent + R + Single + Optional + Integer + + + + + Unicast Packets Received + R + Single + Optional + Integer + + + + + Multicast Packets Received + R + Single + Optional + Integer + + + + + Multicast Packets Received + R + Single + Optional + Integer + + + + + Broadcast Packets Sent + R + Single + Optional + Integer + + + + + 44 Broadcast Packets Received + R + Single + Optional + Integer + + + + + Discard Packets Sent + R + Single + Optional + Integer + + + + + Discard Packets Received + R + Single + Optional + Integer + + + + + Unknown Packets Received + R + Single + Optional + Integer + + + + + Vendor specific extensions + R + Single + Optional + Objlnk + + + + + + + \ No newline at end of file diff --git a/leshan-client-demo/src/main/resources/models/Non-Access_Stratum_NAS_configuration-V1_0.xml b/leshan-client-demo/src/main/resources/models/Non-Access_Stratum_NAS_configuration-V1_0.xml new file mode 100644 index 0000000000..6a7f7ae273 --- /dev/null +++ b/leshan-client-demo/src/main/resources/models/Non-Access_Stratum_NAS_configuration-V1_0.xml @@ -0,0 +1,239 @@ + + + + + + + Non-Access Stratum (NAS) configuration + + 18 + urn:oma:lwm2m:oma:18 + Single + Optional + + NAS_SignallingPriority + RW + Single + Optional + Integer + 0-255 + + + + AttachWithIMSI + RW + Single + Optional + Boolean + + + + + MinimumPeriodicSearchTimer + RW + Single + Optional + Integer + 0-255 + + + + NMO_I_Behaviour + RW + Single + Optional + Boolean + + + + + Timer_T3245_Behaviour + RW + Single + Optional + Boolean + + + + + ExtendedAccessBarring + RW + Single + Optional + Boolean + + + + + Override_NAS_SignallingLowPriority + RW + Single + Optional + Boolean + + + + + Override_ExtendedAccessBarring + RW + Single + Optional + Boolean + + + + + FastFirstHigherPriorityPLMNSearch + RW + Single + Optional + Boolean + + + + + EUTRADisablingAllowedForEMMCause15 + RW + Single + Optional + Boolean + + + + + SM_RetryWaitTime + RW + Single + Optional + Integer + 0-255 + + + + SM_RetryAtRATChange + RW + Single + Optional + Boolean + + + + + ExceptionDataReportingAllowed + RW + Single + Optional + Boolean + + + + + + + \ No newline at end of file diff --git a/leshan-server-demo/src/main/java/org/eclipse/leshan/server/demo/LeshanServerDemo.java b/leshan-server-demo/src/main/java/org/eclipse/leshan/server/demo/LeshanServerDemo.java index 1b89c1e8d4..b16257875b 100644 --- a/leshan-server-demo/src/main/java/org/eclipse/leshan/server/demo/LeshanServerDemo.java +++ b/leshan-server-demo/src/main/java/org/eclipse/leshan/server/demo/LeshanServerDemo.java @@ -91,6 +91,8 @@ public class LeshanServerDemo { private static final Logger LOG = LoggerFactory.getLogger(LeshanServerDemo.class); + // /!\ This class is a COPY of org.eclipse.leshan.client.demo.LeshanClientDemo.modelPaths /!\ + // TODO create a leshan-demo project ? private final static String[] modelPaths = new String[] { "31024.xml", "10241.xml", "10242.xml", "10243.xml", "10244.xml", "10245.xml", "10246.xml", "10247.xml",