Skip to content

Composite operation support #596

@fdur

Description

@fdur

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions