Closed GiedriusM closed 6 years ago
From RFC4122, URNs that use UUID are constructed as the example: "urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6"
From the LWM2M Specification, Table 20, the Semantics of the endpoint name is the URN itself, including the schema. Thus you should use the full URN as epname epname = "urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6"
Regarding the format 8-4-4-4-12 you are correct and we will address it right away on CR 1.0.2.
This has been addressed in OMA-DM-LightweightM2M-2017-0222-CR_UUID_Fixing
First, the UUID is described as
urn:uuid:########-####-####-############
, however I think it should be updated tourn:uuid:########-####-####-####-############
, i.e. to the 8-4-4-4-12 format as it is in RFC4122:Second, what is the recommended form when UUID is used in endpoint client name - with
urn:uuid:
or without?ep=urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6
ORep=f81d4fae-7dec-11d0-a765-00a0c91e6bf6