Description
Access Control Object is used to check whether the LwM2M Server has access right for performing an operation.
Object definition
Name | Object ID | Object Version | LWM2M Version |
LwM2M Access Control | 2 | 1.0 | 1.0 |
Object URN | Instances | Mandatory | |
urn:oma:lwm2m:oma:2 | Multiple | Optional |
Resource definitions
ID | Name | Operations | Instances | Mandatory | Type | Range or Enumeration | Units | Description |
---|---|---|---|---|---|---|---|---|
0 | Object ID | R | Single | Mandatory | Integer | 1..65534 | 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. | |
1 | Object Instance ID | R | Single | Mandatory | Integer | 0..65535 | See above | |
2 | ACL | RW | Multiple | Optional | Integer | 16-bit | 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. | |
3 | Access Control Owner | RW | Single | Mandatory | Integer | 0..65535 | 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. |