Support for Composite Devices
Per the Core Spec, it is possible to model a refrigerator with a built-in TV and light as a Composite Device with /oic/d having an "rt" value of ["oic.wk.col", "oic.d.refrigerator", "oic.d.tv", "oic.d.light"]. Then, for each Device type, there would be a Collection like this:
"rt": ["oic.wk.col", "oic.d.light"]
"if": ["oic.if.ll", "oic.if.baseline", "oic.if.r"]
In this case, the Collection above:
Follows the semantics of both oic.wk.d and oic.wk.col.
Has "links" which must include all of the mandatory Resource Types of an "oic.d.light"
There would be similar Collections for the TV and the fridge.
Details for this can be found in Bug 2283.
JIRA migration meta data
- JIRA Issue ID: LITE-27
- Reporter: mkettrick
- Assignee: marktrayer
- Creator: mkettrick
- Created at: 2019-02-26T12:44:40.000-0800
- Found in Version: Master
- Fix in Version: None
- Issue Severity: Normal
- Reproducibility: Always (100%)
- Operating System: None
- Hardware/ OEM Platform: None
- External URL: None
- Bugzilla ID: 2283
- Product: None
- Status: To Do
- Components: base stack
- Priority: P3
- Due Date: None
Issue Type: New Feature
END of JIRA migration meta data