Hi, Maybe you guys can help me with something. I'm working in a sample of ownership transfer. The ownership transfer is working well and now I want to restrict the resource access to owner device. By looking at the OCF specifications, I discovered something like to add this fields in the ACE: "subject": { "authority": "owner", "role": "owner" }
However, when I put it in the json, the *json2cbor* tool is not working, raising the following error: Found 'aclist2' tag... resource is oic.r.acl2 type. OUT JSONToAclBin: failure The complete ACE: { "aceid": 5, "subject": { "authority": "owner", "role": "owner" }, "resources": [ { "href": "/oic/led/0" } ], "permission": 14 } am I doing this by the wrong way?
_______________________________________________ iotivity-dev mailing list iotivity-dev@lists.iotivity.org https://lists.iotivity.org/mailman/listinfo/iotivity-dev