-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to last ddf model for LWM2M core object.
- Loading branch information
1 parent
010d257
commit 9c266f7
Showing
12 changed files
with
1,969 additions
and
1,591 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
450 changes: 225 additions & 225 deletions
450
.../resources/models/LWM2M_Security-v1_0.xml → ...-core/src/main/resources/models/0-1_0.xml
Large diffs are not rendered by default.
Oops, something went wrong.
342 changes: 171 additions & 171 deletions
342
...in/resources/models/LWM2M_Server-v1_0.xml → ...-core/src/main/resources/models/1-1_0.xml
Large diffs are not rendered by default.
Oops, something went wrong.
250 changes: 125 additions & 125 deletions
250
...es/models/LWM2M_Access_Control-v1_0_3.xml → ...-core/src/main/resources/models/2-1_0.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,125 +1,125 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!-- | ||
FILE INFORMATION | ||
OMA Permanent Document | ||
File: OMA-SUP-XML_LWM2M_Access_Control-V1_0_3-20190617-A | ||
Type: xml | ||
Date: 2019-Jun-17 | ||
Public Reachable Information | ||
Path: http://www.openmobilealliance.org/tech/profiles | ||
Name: LWM2M_Access_Control-v1_0_3.xml | ||
NORMATIVE INFORMATION | ||
Information about this file can be found in the latest revision of | ||
OMA-TS-LightweightM2M-V1_0_2 | ||
OMA-TS-LightweightM2M_Core-V1_1_1 | ||
This is available at http://www.openmobilealliance.org/ | ||
Send comments to https://github.com/OpenMobileAlliance/OMA_LwM2M_for_Developers/issues | ||
LEGAL DISCLAIMER | ||
Copyright 2019 Open Mobile Alliance. | ||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions | ||
are met: | ||
1. Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
2. Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
3. Neither the name of the copyright holder nor the names of its | ||
contributors may be used to endorse or promote products derived | ||
from this software without specific prior written permission. | ||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | ||
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | ||
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | ||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | ||
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
POSSIBILITY OF SUCH DAMAGE. | ||
The above license is used as a license under copyright only. Please | ||
reference the OMA IPR Policy for patent licensing terms: | ||
https://www.omaspecworks.org/about/intellectual-property-rights/ | ||
--> | ||
|
||
<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.openmobilealliance.org/tech/profiles/LWM2M.xsd"> | ||
<Object ObjectType="MODefinition"> | ||
<Name>LwM2M Access Control</Name> | ||
<Description1><![CDATA[Access Control Object is used to check whether the LwM2M Server has access right for performing an operation.]]></Description1> | ||
<ObjectID>2</ObjectID> | ||
<ObjectURN>urn:oma:lwm2m:oma:2</ObjectURN> | ||
<LWM2MVersion>1.0</LWM2MVersion> | ||
<ObjectVersion>1.0</ObjectVersion> | ||
<MultipleInstances>Multiple</MultipleInstances> | ||
<Mandatory>Optional</Mandatory> | ||
<Resources> | ||
<Item ID="0"> | ||
<Name>Object ID</Name> | ||
<Operations>R</Operations> | ||
<MultipleInstances>Single</MultipleInstances> | ||
<Mandatory>Mandatory</Mandatory> | ||
<Type>Integer</Type> | ||
<RangeEnumeration>1..65534</RangeEnumeration> | ||
<Units></Units> | ||
<Description><![CDATA[Resources 0 and 1 point to the Object Instance for which the Instances of the ACL Resource of that Access Control Object Instance are applicable.]]></Description> | ||
</Item> | ||
<Item ID="1"> | ||
<Name>Object Instance ID</Name> | ||
<Operations>R</Operations> | ||
<MultipleInstances>Single</MultipleInstances> | ||
<Mandatory>Mandatory</Mandatory> | ||
<Type>Integer</Type> | ||
<RangeEnumeration>0..65535</RangeEnumeration> | ||
<Units></Units> | ||
<Description><![CDATA[See above]]></Description> | ||
</Item> | ||
<Item ID="2"> | ||
<Name>ACL</Name> | ||
<Operations>RW</Operations> | ||
<MultipleInstances>Multiple</MultipleInstances> | ||
<Mandatory>Optional</Mandatory> | ||
<Type>Integer</Type> | ||
<RangeEnumeration>16-bit</RangeEnumeration> | ||
<Units></Units> | ||
<Description><![CDATA[The Resource Instance ID MUST be the Short Server ID of a certain LwM2M Server for which associated access rights are contained in the Resource Instance value. | ||
The Resource Instance ID 0 is a specific ID, determining the ACL Instance which contains the default access rights. | ||
Each bit set in the Resource Instance value, grants an access right to the LwM2M Server to the corresponding operation. | ||
The bit order is specified as below. | ||
1st LSB: R(Read, Observe, Write-Attributes) | ||
2nd LSB: W(Write) | ||
3rd LSB: E(Execute) | ||
4th LSB: D(Delete) | ||
5th LSB: C(Create) | ||
Other bits are reserved for future use.]]></Description> | ||
</Item> | ||
<Item ID="3"> | ||
<Name>Access Control Owner</Name> | ||
<Operations>RW</Operations> | ||
<MultipleInstances>Single</MultipleInstances> | ||
<Mandatory>Mandatory</Mandatory> | ||
<Type>Integer</Type> | ||
<RangeEnumeration>0..65535</RangeEnumeration> | ||
<Units></Units> | ||
<Description><![CDATA[Short Server ID of a certain LwM2M Server; only such an LwM2M Server can manage the Resources of this Object Instance. | ||
The specific value MAX_ID=65535 means this Access Control Object Instance is created and modified during a Bootstrap phase only.]]></Description> | ||
</Item> | ||
</Resources> | ||
<Description2><![CDATA[]]></Description2> | ||
</Object> | ||
</LWM2M> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!-- | ||
FILE INFORMATION | ||
OMA Permanent Document | ||
File: OMA-SUP-XML_LWM2M_Access_Control-V1_0_3-20190617-A | ||
Type: xml | ||
Date: 2019-Jun-17 | ||
Public Reachable Information | ||
Path: http://www.openmobilealliance.org/tech/profiles | ||
Name: LWM2M_Access_Control-v1_0_3.xml | ||
NORMATIVE INFORMATION | ||
Information about this file can be found in the latest revision of | ||
OMA-TS-LightweightM2M-V1_0_2 | ||
OMA-TS-LightweightM2M_Core-V1_1_1 | ||
This is available at http://www.openmobilealliance.org/ | ||
Send comments to https://github.com/OpenMobileAlliance/OMA_LwM2M_for_Developers/issues | ||
LEGAL DISCLAIMER | ||
Copyright 2019 Open Mobile Alliance. | ||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions | ||
are met: | ||
1. Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
2. Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
3. Neither the name of the copyright holder nor the names of its | ||
contributors may be used to endorse or promote products derived | ||
from this software without specific prior written permission. | ||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | ||
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | ||
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | ||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | ||
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
POSSIBILITY OF SUCH DAMAGE. | ||
The above license is used as a license under copyright only. Please | ||
reference the OMA IPR Policy for patent licensing terms: | ||
https://www.omaspecworks.org/about/intellectual-property-rights/ | ||
--> | ||
|
||
<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.openmobilealliance.org/tech/profiles/LWM2M.xsd"> | ||
<Object ObjectType="MODefinition"> | ||
<Name>LwM2M Access Control</Name> | ||
<Description1><![CDATA[Access Control Object is used to check whether the LwM2M Server has access right for performing an operation.]]></Description1> | ||
<ObjectID>2</ObjectID> | ||
<ObjectURN>urn:oma:lwm2m:oma:2</ObjectURN> | ||
<LWM2MVersion>1.0</LWM2MVersion> | ||
<ObjectVersion>1.0</ObjectVersion> | ||
<MultipleInstances>Multiple</MultipleInstances> | ||
<Mandatory>Optional</Mandatory> | ||
<Resources> | ||
<Item ID="0"> | ||
<Name>Object ID</Name> | ||
<Operations>R</Operations> | ||
<MultipleInstances>Single</MultipleInstances> | ||
<Mandatory>Mandatory</Mandatory> | ||
<Type>Integer</Type> | ||
<RangeEnumeration>1..65534</RangeEnumeration> | ||
<Units></Units> | ||
<Description><![CDATA[Resources 0 and 1 point to the Object Instance for which the Instances of the ACL Resource of that Access Control Object Instance are applicable.]]></Description> | ||
</Item> | ||
<Item ID="1"> | ||
<Name>Object Instance ID</Name> | ||
<Operations>R</Operations> | ||
<MultipleInstances>Single</MultipleInstances> | ||
<Mandatory>Mandatory</Mandatory> | ||
<Type>Integer</Type> | ||
<RangeEnumeration>0..65535</RangeEnumeration> | ||
<Units></Units> | ||
<Description><![CDATA[See above]]></Description> | ||
</Item> | ||
<Item ID="2"> | ||
<Name>ACL</Name> | ||
<Operations>RW</Operations> | ||
<MultipleInstances>Multiple</MultipleInstances> | ||
<Mandatory>Optional</Mandatory> | ||
<Type>Integer</Type> | ||
<RangeEnumeration>16-bit</RangeEnumeration> | ||
<Units></Units> | ||
<Description><![CDATA[The Resource Instance ID MUST be the Short Server ID of a certain LwM2M Server for which associated access rights are contained in the Resource Instance value. | ||
The Resource Instance ID 0 is a specific ID, determining the ACL Instance which contains the default access rights. | ||
Each bit set in the Resource Instance value, grants an access right to the LwM2M Server to the corresponding operation. | ||
The bit order is specified as below. | ||
1st LSB: R(Read, Observe, Write-Attributes) | ||
2nd LSB: W(Write) | ||
3rd LSB: E(Execute) | ||
4th LSB: D(Delete) | ||
5th LSB: C(Create) | ||
Other bits are reserved for future use.]]></Description> | ||
</Item> | ||
<Item ID="3"> | ||
<Name>Access Control Owner</Name> | ||
<Operations>RW</Operations> | ||
<MultipleInstances>Single</MultipleInstances> | ||
<Mandatory>Mandatory</Mandatory> | ||
<Type>Integer</Type> | ||
<RangeEnumeration>0..65535</RangeEnumeration> | ||
<Units></Units> | ||
<Description><![CDATA[Short Server ID of a certain LwM2M Server; only such an LwM2M Server can manage the Resources of this Object Instance. | ||
The specific value MAX_ID=65535 means this Access Control Object Instance is created and modified during a Bootstrap phase only.]]></Description> | ||
</Item> | ||
</Resources> | ||
<Description2><![CDATA[]]></Description2> | ||
</Object> | ||
</LWM2M> |
Oops, something went wrong.