Skip to content

Inconsistent TLV specification #551

Open
@tuve

Description

  • OMA-TS-LightweightM2M_Core-V1_2-20201110-A_full (and all previous versions)
  • section 7.4.5

In table 7.4.5-1, the Type field, bits 7-6 states:

10= multiple Resource, in which case the Value contains one or more Resource
Instance TLVs

further down on the page you find:

When a Multiple Resource has to be returned to the LwM2M Server, the Multiple Resource TLV MUST be used whatever
the number of Instances (0, 1 or more) of that resource.

The conflicting part is 'one or more' vs '(0, 1 or more)'. To me it seems clear that the 'one or more' is at fault since it is quite possible to have a multiple resource with no instances e.g., a error codes. Neither can I see any reason why a writable multiple instance shouldn't be writable as no instances, i.e., clearing a multiple instance resource.

Could someone clarify if a multiple resource type must have instances?

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions