-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
In LwM2M 1.2 Core specification (OMA-TS-LightweightM2M_Core-V1_2_2-20240613-A), for Read-Composite, at §6.3.8:
The LwM2M Client MAY support the "Read-Composite" operation.
...
The LwM2M Client MUST retrieve all the requested Resources ...
Same for Write-Composite at next paragraph
FMPOV, the MUST depends on the MAY ...
Moreover, if the client does not support such operation (this is my understanding of the MAY support according to RFC 21119), what is the error code to be returned by the device (which can allow the server to understand that this operation is not supported by the device) ?
According to the spec, the error code which can be returned by the device for Read-Composite are:
- 401 Unauthorized or 403 Forbidden Access Right Permission Denied
- 404 Not Found URI of "Read" operation is not found
- 405 Method Not Allowed Target is not allowed for "Read" operation
- 406 Not Acceptable None of the preferred Content-Formats can be returned
- 415 Unsupported Media Type The specified format is not supported
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels