ISO/IEC 30118-5:2021
(Main)Information technology - Open Connectivity Foundation (OCF) Specification - Part 5: OCF device specification
Information technology - Open Connectivity Foundation (OCF) Specification - Part 5: OCF device specification
The Device definitions use Resource definitions from ISO/IEC 30118-4. This document is built on top of ISO/IEC 30118-1. ISO/IEC 30118-1 specifies the core architecture, interfaces protocols and services to enable the implementation of profiles for IoT usages and ecosystems. ISO/IEC 30118-1 also defines the main architectural components of network connectivity, discovery, data transmission, device & service management and ID & security. The core architecture is scalable to support simple devices (constrained devices) and more capable devices (smart devices).
Technologies de l'information — Specification de la Fondation pour la connectivité ouverte (Fondation OCF) — Partie 5: Spécification des appareils OCF
General Information
- Status
- Published
- Publication Date
- 17-Oct-2021
- Technical Committee
- ISO/IEC JTC 1 - Information technology
- Drafting Committee
- ISO/IEC JTC 1 - Information technology
- Current Stage
- 6060 - International Standard published
- Start Date
- 18-Oct-2021
- Due Date
- 16-May-2022
- Completion Date
- 18-Oct-2021
Relations
- Effective Date
- 18-Apr-2021
Overview
ISO/IEC 30118-5:2021 - "Information technology - Open Connectivity Foundation (OCF) Specification - Part 5: OCF device specification" defines the OCF device model and device-level requirements used to enable secure, interoperable IoT devices. Built on ISO/IEC 30118-1 (Core) and using Resource definitions from ISO/IEC 30118-4, this standard specifies device types, resource requirements, discovery, security considerations and models for single- and multi‑logical device platforms. It is scalable to support constrained (simple) and smart (capable) devices.
Keywords: ISO/IEC 30118-5, OCF device specification, IoT device interoperability, device model, resource types, device discovery, IoT security.
Key topics and technical requirements
- Device and Resource Model: Defines the core resource model and how device definitions reuse Resource Types from ISO/IEC 30118-4.
- Device Types & Categories: Normative lists and classifications (smart home, healthcare, industrial, PV systems) with required resources and standardized enumerations (e.g., mode, operational state, consumables).
- Multi‑device Modeling: Patterns for single-platform, multi-platform and composite device models to represent multiple logical devices on one physical platform.
- Discovery: Endpoint and resource discovery mechanisms for identifying and interacting with devices on IP networks.
- Security: Device-level security expectations in support of secure discovery, onboarding and data exchange (complements ISO/IEC 30118-2 Security Specification).
- Semantic Tags & Extensions: Use of semantic tags (position, function descriptions) and allowance for third‑party extensions to enhance interoperability and metadata semantics.
- Annexes with Device Profiles: Normative annexes outline detailed device requirements for smart home, healthcare, industrial and photovoltaic device types.
Practical applications
- Ensures interoperability across ecosystems for appliances, sensors, actuators, cameras, healthcare monitors, industrial instruments and PV system components.
- Enables manufacturers and platform providers to implement a common device language for local and remote control, discovery and management.
- Supports secure IoT deployments by aligning device behavior with OCF core and security parts for reliable onboarding and operation.
- Useful for system integrators, firmware developers, cloud providers and test laboratories building or certifying OCF‑compliant devices.
Who should use this standard
- IoT device manufacturers and firmware engineers
- Platform and gateway developers implementing OCF stacks
- System integrators and solution architects for smart home, healthcare and industrial IoT projects
- Test labs and certification bodies validating OCF conformance
Related standards
- ISO/IEC 30118-1 (Core specification)
- ISO/IEC 30118-2 (Security)
- ISO/IEC 30118-4 (Resource Type specification)
- Other OCF mapping parts (e.g., bridging and protocol mappings), OpenAPI and relevant IETF/IEC references used for discovery and API definitions.
Frequently Asked Questions
ISO/IEC 30118-5:2021 is a standard published by the International Organization for Standardization (ISO). Its full title is "Information technology - Open Connectivity Foundation (OCF) Specification - Part 5: OCF device specification". This standard covers: The Device definitions use Resource definitions from ISO/IEC 30118-4. This document is built on top of ISO/IEC 30118-1. ISO/IEC 30118-1 specifies the core architecture, interfaces protocols and services to enable the implementation of profiles for IoT usages and ecosystems. ISO/IEC 30118-1 also defines the main architectural components of network connectivity, discovery, data transmission, device & service management and ID & security. The core architecture is scalable to support simple devices (constrained devices) and more capable devices (smart devices).
The Device definitions use Resource definitions from ISO/IEC 30118-4. This document is built on top of ISO/IEC 30118-1. ISO/IEC 30118-1 specifies the core architecture, interfaces protocols and services to enable the implementation of profiles for IoT usages and ecosystems. ISO/IEC 30118-1 also defines the main architectural components of network connectivity, discovery, data transmission, device & service management and ID & security. The core architecture is scalable to support simple devices (constrained devices) and more capable devices (smart devices).
ISO/IEC 30118-5:2021 is classified under the following ICS (International Classification for Standards) categories: 35.200 - Interface and interconnection equipment. The ICS classification helps identify the subject area and facilitates finding related standards.
ISO/IEC 30118-5:2021 has the following relationships with other standards: It is inter standard links to ISO/IEC 30118-5:2018. Understanding these relationships helps ensure you are using the most current and applicable version of the standard.
You can purchase ISO/IEC 30118-5:2021 directly from iTeh Standards. The document is available in PDF format and is delivered instantly after payment. Add the standard to your cart and complete the secure checkout process. iTeh Standards is an authorized distributor of ISO standards.
Standards Content (Sample)
INTERNATIONAL ISO/IEC
STANDARD 30118-5
Second edition
2021-10
Information technology — Open
Connectivity Foundation (OCF)
Specification —
Part 5:
OCF device specification
Technologies de l'information — Specification de la Fondation pour la
connectivité ouverte (Fondation OCF) —
Partie 5: Spécification des appareils OCF
Reference number
© ISO/IEC 2021
© ISO/IEC 2021
All rights reserved. Unless otherwise specified, or required in the context of its implementation, no part of this publication may
be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting on
the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the address below
or ISO’s member body in the country of the requester.
ISO copyright office
CP 401 • Ch. de Blandonnet 8
CH-1214 Vernier, Geneva
Phone: +41 22 749 01 11
Email: copyright@iso.org
Website: www.iso.org
Published in Switzerland
ii
© ISO/IEC 2021 – All rights reserved
Contents Page
Foreword . v
Introduction . vi
1 Scope . 1
2 Normative references . 1
3 Terms, definitions and abbreviated terms . 2
3.1 Terms and definitions . 2
3.2 Symbols and abbreviated terms . 2
4 Document conventions and organization . 2
4.1 Conventions . 2
4.2 Notation . 3
4.3 Data types . 3
4.4 Document structure . 3
5 Operational scenarios . 4
5.1 Document version . 4
6 Core Resource model . 5
6.1 Introduction . 5
6.2 Device Type . 5
6.3 Profile of ISO/IEC 30118-1 . 5
rd
6.4 Third (3 ) party specified extensions . 6
6.5 Semantic Tags . 7
6.5.1 Introduction . 7
6.5.2 "tag-pos-desc" or position description Semantic Tag . 7
6.5.3 "tag-func-desc" or function description Semantic Tag . 7
7 Modelling of multiple logical Devices . 7
7.1 Introduction . 7
7.2 Single platform model . 7
7.3 Multi-platform model . 8
7.4 Composite Device model . 8
8 Discovery . 10
8.1 Endpoint discovery . 10
8.2 Resource discovery . 10
9 Security . 10
Annex A (normative) Device categories and device types . 12
A.1 Device categories . 12
A.2 Device Types . 12
Annex B (normative) Smart home Device Types . 18
B.1 Smart home required Resources per Device Type . 18
B.2 Standardized enumeration values . 21
B.2.1 Introduction . 21
B.2.2 Alphabetical list of standardized enumeration types . 21
B.2.3 Standardized list of supported values for mode Resource Type
(oic.r.mode) . 27
B.2.4 Standardized list of supported values for operational state Resource Type
(oic.r.operational.state) . 30
© ISO/IEC 2021 – All rights reserved iii
B.2.5 Standardized list of supported values for consumable and consumable
collection Resource Types (oic.r.consumable,
oic.r.consumablecollection) . 36
B.3 Camera media format (oic.r.media) . 37
B.4 Additional requirements per Device Type . 38
B.4.1 Additional requirements for Television Devices ("oic.d.tv") . 38
Annex C (normative) Healthcare Device Types . 39
C.1 Scope . 39
C.2 Introduction to OCF healthcare Devices . 39
C.3 Operational scenarios . 39
C.4 Standardized Device Types . 40
C.4.1 Introduction . 40
C.4.2 Blood pressure monitor . 42
C.4.3 Glucose meter . 42
C.4.4 Body scale . 43
C.4.5 Body thermometer . 44
C.4.6 Heart rate monitor . 45
C.4.7 Pulse oximeter . 46
C.4.8 Sleep monitor . 47
C.4.9 Activity tracker . 48
C.4.10 CGM (Continuous Glucose Meter) . 48
C.4.11 Cycling power meter . 50
C.4.12 Cycling speed sensor . 50
C.4.13 Cycling cadence sensor . 51
C.4.14 Muscle oxygen monitor . 51
C.4.15 Body composition analyser . 52
Annex D (normative) Industrial Device Types . 54
D.1 Operational scenarios . 54
D.2 Industrial required Resources per Device Type . 57
Annex E (normative) PV (Photovoltaic) system Device Types . 58
E.1 Scope . 58
E.2 Operational scenarios . 58
E.3 Standard Device Types . 60
iv © ISO/IEC 2021 – All rights reserved
Foreword
ISO (the International Organization for Standardization) and IEC (the International Electrotechnical
Commission) form the specialized system for worldwide standardization. National bodies that are members of
ISO or IEC participate in the development of International Standards through technical committees established
by the respective organization to deal with particular fields of technical activity. ISO and IEC technical
committees collaborate in fields of mutual interest. Other international organizations, governmental and non-
governmental, in liaison with ISO and IEC, also take part in the work.
The procedures used to develop this document and those intended for its further maintenance are described in
the ISO/IEC Directives, Part 1. In particular, the different approval criteria needed for the different types of
document should be noted (see www.iso.org/directives or www.iec.ch/members_experts/refdocs).
Attention is drawn to the possibility that some of the elements of this document may be the subject of patent
rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights. Details of any
patent rights identified during the development of the document will be in the Introduction and/or on the ISO list
of patent declarations received (see www.iso.org/patents) or the IEC list of patent declarations received
(see patents.iec.ch).
Any trade name used in this document is information given for the convenience of users and does not constitute
an endorsement.
For an explanation of the voluntary nature of standards, the meaning of ISO specific terms and expressions
related to conformity assessment, as well as information about ISO's adherence to the World Trade
Organization (WTO) principles in the Technical Barriers to Trade (TBT), see www.iso.org/iso/foreword.html. In
the IEC, see www.iec.ch/understanding-standards.
This document was prepared by the Open Connectivity Foundation (OCF) (as OCF Device Specification,
version 2.2.0) and drafted in accordance with its editorial rules. It was adopted, under the JTC 1 PAS procedure,
by Joint Technical Committee ISO/IEC JTC 1, Information technology.
This second edition cancels and replaces the first edition (ISO/IEC 30118-5:2018), which has been technically
revised.
The main changes compared to the previous edition are as follows:
— renaming of smarthome to generic applicable device specification;
— addition of new device types and classification of devices;
— addition of clarifications throughout.
A list of all parts in the ISO/IEC 30118 series can be found on the ISO and IEC websites.
Any feedback or questions on this document should be directed to the user’s national standards body. A
complete listing of these bodies can be found at www.iso.org/members.html and www.iec.ch/national-
committees.
© ISO/IEC 2021 – All rights reserved v
Introduction
This document, and all the other parts associated with this document, were developed in response to
worldwide demand for smart home focused Internet of Things (IoT) devices, such as appliances, door
locks, security cameras, sensors, and actuators; these to be modelled and securely controlled, locally
and remotely, over an IP network.
While some inter-device communication existed, no universal language had been developed for the
IoT. Device makers instead had to choose between disparate frameworks, limiting their market share,
or developing across multiple ecosystems, increasing their costs. The burden then falls on end users
to determine whether the products they want are compatible with the ecosystem they bought into, or
find ways to integrate their devices into their network, and try to solve interoperability issues on their
own.
In addition to the smart home, IoT deployments in commercial environments are hampered by a lack
of security. This issue can be avoided by having a secure IoT communication framework, which this
standard solves.
The goal of these documents is then to connect the next 25 billion devices for the IoT, providing secure
and reliable device discovery and connectivity across multiple OSs and platforms. There are multiple
proposals and forums driving different approaches, but no single solution addresses the majority of
key requirements. This document and the associated parts enable industry consolidation around a
common, secure, interoperable approach.
ISO/IEC 30118 consists of eighteen parts, under the general title Information technology — Open
Connectivity Foundation (OCF) Specification. The parts fall into logical groupings as described herein:
– Core framework
– Part 1: Core Specification
– Part 2: Security Specification
– Part 13: Onboarding Tool Specification
– Bridging framework and bridges
– Part 3: Bridging Specification
– Part 6: Resource to Alljoyn Interface Mapping Specification
– Part 8: OCF Resource to oneM2M Resource Mapping Specification
– Part 14: OCF Resource to BLE Mapping Specification
– Part 15: OCF Resource to EnOcean Mapping Specification
– Part 16: OCF Resource to UPlus Mapping Specification
– Part 17: OCF Resource to Zigbee Cluster Mapping Specification
– Part 18: OCF Resource to Z-Wave Mapping Specification
– Resource and Device models
– Part 4: Resource Type Specification
– Part 5: Device Specification
vi © ISO/IEC 2021 – All rights reserved
– Core framework extensions
– Part 7: Wi-Fi Easy Setup Specification
– Part 9: Core Optional Specification
– OCF Cloud
– Part 10: Cloud API for Cloud Services Specification
– Part 11: Device to Cloud Services Specification
– Part 12: Cloud Security Specification
© ISO/IEC 2021 – All rights reserved vii
INTERNATIONAL STANDARD ISO/IEC 30118-5:2021(E)
Information technology — Open Connectivity
Foundation (OCF) Specification —
Part 5:
OCF device specification
1 Scope
The Device definitions use Resource definitions from ISO/IEC 30118-4.
This document is built on top of ISO/IEC 30118-1. ISO/IEC 30118-1 specifies the core architecture,
interfaces protocols and services to enable the implementation of profiles for IoT usages and
ecosystems. ISO/IEC 30118-1 also defines the main architectural components of network connectivity,
discovery, data transmission, device & service management and ID & security. The core architecture
is scalable to support simple devices (constrained devices) and more capable devices (smart devices).
2 Normative references
The following documents are referred to in the text in such a way that some or all of their content
constitutes requirements of this document. For dated references, only the edition cited applies. For
undated references, the latest edition of the referenced document (including any amendments) applies.
ISO/IEC 30118-1, Information technology -- Open Connectivity Foundation (OCF) Specification --
Part 1: Core specification
https://www.iso.org/standard/53238.html
ISO/IEC 30118-2, Information technology -- Open Connectivity Foundation (OCF) Specification --
Part 2: Security specification
https://www.iso.org/standard/74239.html
ISO/IEC 30118-4, Information technology -- Open Connectivity Foundation (OCF) Specification --
Part 4: Resource type specification
https://www.iso.org/standard/74241.html
Latest version available at:
ISO/IEC 61850-7-1, Communication networks and systems for power utility automation -- Part 7-1:
Basic communication structure -- Principles and models
https://webstore.iec.ch/publication/6014
OpenAPI specification, fka Swagger RESTful API Documentation Specification, Version 2.0
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md
IETF RFC 4566, SDP: Session Description Protocol, July 2006
https://tools.ietf.org/html/rfc4566
Draft Report: A Basic Classification System for Energy-Using Products--Universal Device
Classification, December 2013
https://eta-intranet.lbl.gov/sites/default/files/lbnl-classification-v1.pdf
© ISO/IEC 2021 – All rights reserved 1
3 Terms, definitions and abbreviated terms
3.1 Terms and definitions
For the purposes of this document, the terms and definitions given in ISO/IEC 30118-1 and ISO/IEC
30118-2 and the following apply.
ISO and IEC maintain terminological databases for use in standardization at the following addresses:
– ISO Online browsing platform: available at https://www.iso.org/obp
– IEC Electropedia: available at http://www.electropedia.org/
3.1.1
Actuator
Resource with support of the UPDATE operation.
3.1.2
Sensor
Resource without support of the UPDATE operation.
3.1.3
Healthcare Device
Device that is conformant to the normative requirements contained in Annex C of this document.
3.2 Symbols and abbreviated terms
CGM Continuous Glucose Monitor
CRUDN Create Retrieve Update Delete Notify
CSV Comma Separated Value
NREM Non Rapid Eye Movement
REM Rapid Eye Movement
REST Representational State Transfer
SDP Session Description Protocol
UDC Universal Device Classification
4 Document conventions and organization
4.1 Conventions
In this document a number of terms, conditions, mechanisms, sequences, parameters, events, states,
or similar terms are printed with the first letter of each word in uppercase and the rest lowercase (e.g.,
Network Architecture). Any lowercase uses of these words have the normal technical English meaning.
In this document, to be consistent with the IETF usages for RESTful operations, the RESTful operation
words CRUDN, CREATE, RETRIVE, UPDATE, DELETE, and NOTIFY will have all letters capitalized.
Any lowercase uses of these words have the normal technical English meaning.
2 © ISO/IEC 2021 – All rights reserved
4.2 Notation
In this document, features are described as required, recommended, allowed or DEPRECATED as
follows:
Required (or shall or mandatory).
These basic features shall be implemented. The phrases "shall not", and "PROHIBITED" indicate
behaviour that is prohibited, i.e. that if performed means the implementation is not in compliance.
Recommended (or should).
These features add functionality supported by a Device and should be implemented.
Recommended features take advantage of the capabilities a Device, usually without imposing major
increase of complexity. Notice that for compliance testing, if a recommended feature is
implemented, it shall meet the specified requirements to be in compliance with these guidelines.
Some recommended features could become requirements in the future. The phrase "should not"
indicates behaviour that is permitted but not recommended.
Allowed (or allowed).
These features are neither required nor recommended by a Device, but if the feature is
implemented, it shall meet the specified requirements to be in compliance with these guidelines.
Conditionally allowed (CA).
The definition or behaviour depends on a condition. If the specified condition is met, then the
definition or behaviour is allowed, otherwise it is not allowed.
Conditionally required (CR).
The definition or behaviour depends on a condition. If the specified condition is met, then the
definition or behaviour is required. Otherwise the definition or behaviour is allowed as default
unless specifically defined as not allowed.
DEPRECATED
Although these features are still described in this document, they should not be implemented except
for backward compatibility. The occurrence of a deprecated feature during operation of an
implementation compliant with the current document has no effect on the implementation’s
operation and does not produce any error conditions. Backward compatibility may require that a
feature is implemented and functions as specified but it shall never be used by implementations
compliant with this document.
Strings that are to be taken literally are enclosed in "double quotes".
Words that are emphasized are printed in italic.
4.3 Data types
See ISO/IEC 30118-1.
4.4 Document structure
This document describes specific requirements governing the indication of Device Types on Devices
and the requirements that are associated with specific Device Types themselves. The document makes
use of functionality defined in the ISO/IEC 30118-1 and ISO/IEC 30118-4.
Annex A specifies the Device Types that shall be used by an OCF Device.
© ISO/IEC 2021 – All rights reserved 3
Annex B specifies the profiles that that shall be used by an OCF Device that is part of the Smart Home
vertical.
Annex C specifies the profiles that shall be used by an OCF Device that is part of the Healthcare
vertical.
Annex D specifies the profiles that shall be used by an OCF Device that is part of the Industrial vertical.
Annex E specifies the profiles that shall be used by an OCF Device that is part of a Photovoltaic system.
This document further describes which constructs are used for a Device and which Resources are
mandated to be implemented for each Device. A typical Device consisting of data elements defined in
the referenced documents is depicted in Figure 1.
Figure 1 – Device building blocks
5 Operational scenarios
5.1 Document version
All Devices conformant to this document shall add the string "ocf.sh.1.3.0" to the dmv Property in
oic.wk.d. This Property is for legacy Device support only and will no longer be revised in alignment
with document versions.
4 © ISO/IEC 2021 – All rights reserved
6 Core Resource model
6.1 Introduction
The Core Resource model is described in ISO/IEC 30118-1.
6.2 Device Type
The Device Types of all devices shall have a Resource Type name ("rt") prefixed with "oic.d."
Examples of Device Types are:
– oic.d.fan
– oic.d.thermostat
The full list of defined Device names and types are in Table A.2, Annex B, Annex C, Annex D, and
Annex E detail the minimal Resource(s) that a Device shall implement for a specific Device Type where
rd
required by a vertical. A Device may expose additional OCF and 3 party defined Resources other
than those indicated in these Annexes.
ISO/IEC 30118-1 defines a Device Resource with a URI of "/oic/d". A Device shall include in the
"Resource Type" Property of "/oic/d" the Device Type (or Device Types) from Table A.2 of the physical
device hosting the Server; the inclusion of the Device Type shall be done using one of the methods
provided by clause 11.3.4 of ISO/IEC 30118-1 (i.e. add to the array of values).
ISO/IEC 30118-1 supports the inclusion of a Device Type as part of the Resource Type of a Collection
(see also clause 7.4), in such cases the Collection shall include the Resource Types defined as
mandatory for the Device Type by this document. For example, if a Collection Resource has an "rt"
value of ["oic.d.light"], the Collection includes an instance of "oic.r.switch.binary" which is mandatory
for an "oic.d.light" as per clause B.1.
Therefore a Device may be discovered by adding a query for the "rt" of the Device Type itself (e.g.
"?rt=oic.d.fan") to the multicast Endpoint discovery method (see 8.1).
6.3 Profile of ISO/IEC 30118-1
This clause describes the profiling of the Core Resources and transport mechanisms and functions
that are defined in ISO/IEC 30118-1.
The required ISO/IEC 30118-1 Resources are also required for a profile implementation.
In addition to the required Resources the optional ISO/IEC 30118-1 Resources in Table 1 shall be
required.
Table 1 – Required Resources for Devices
Resource ("rt") Required in Profile
Intentionally left blank Intentionally left blank
For each of the Resources listed in Table 1, Table 2 details the Properties within those Resources that
shall be required.
© ISO/IEC 2021 – All rights reserved 5
Table 2 – Required properties in Resource
Resource ("rt") Property name Required in Profile
Intentionally left blank Intentionally left blank Intentionally left blank
A Device shall support CoAP based endpoint discovery as defined in clause 10.3 of ISO/IEC 30118-1.
The messaging protocol for a Device shall be CoAP (see ISO/IEC 30118-1).
A Device shall support a network layer as defined in clause 9 of ISO/IEC 30118-1 including any
necessary defined bridging functions that ensure inter-operability with IPv6.
rd
6.4 Third (3 ) party specified extensions
rd rd
This clause describes how a 3 party may add Device Types, Resource Types, 3 party defined
rd rd
Properties to an existing or 3 party defined Resource Type, 3 party defined enumeration values to
rd
an existing enumeration and 3 party defined Parameters to an existing defined Property.
rd rd
A 3 party may specify additional (non-OCF) Resources within an OCF Device. A 3 party may also
rd
specify additional Properties within an existing OCF defined Resource Type. Further a 3 party may
rd
extend an OCF defined enumeration with 3 party defined values.
rd rd
A 3 party defined Device Type may expose both 3 party and OCF defined Resource Types. A
rd
3 party defined Device Type must expose the mandatory Resources for all OCF Devices defined
within this document.
rd
A 3 party defined Resource Type shall include any mandatory Properties defined in this document
rd
and also any vertical specified mandatory Properties. All Properties defined within a 3 party defined
Resource Type that are part of the OCF namespace that are not Common Properties as defined in this
rd
document shall follow the 3 party defined Property rules in Table 3.
rd
Table 3 defines the syntax rules for 3 party defined Resource Type elements. Within the table the
rd
term "Domain_Name" refers to a domain name that is owned by the 3 party that is defining the new
element.
Table 3 – 3rd party defined Resource elements
Resource Element Vendor Definition Rules
rd
New 3 party defined Device Type "rt" Property Value of "/oic/d" "x..
identification>"
rd
New 3 party defined Resource "rt" Property Value "x..
Type identification>"
rd
New 3 party defined Property within Property Name "x.."
the OCF namespace
rd
Additional 3 party defined values in Enumeration Property Value "x.."
an OCF specified enumeration
rd
Additional 3 party defined Parameter key word x..
Parameter in an OCF specified keyword>
Property
With respect to the use of the Domain_Name in this scheme the labels are reversed from how they
rd
appear in DNS or other resolution mechanisms. The 3 party defined Device Type and Resource Type
rd
otherwise follow the rules defined in ISO/IEC 30118-1. 3 party defined Resource Types should be
registered in the IANA Constrained RESTful Environments (CoRE) Parameters registry.
6 © ISO/IEC 2021 – All rights reserved
For example:
x.com.samsung.galaxyphone.accelerator
x.com.cisco.ciscorouterport
x.com.hp.printerhead
x.org.allseen.newinterface.newproperty
6.5 Semantic Tags
6.5.1 Introduction
Semantic Tags are meta-information associated with a specific Resource instance that are represented
as both Link Parameters and Resource Properties that provide a mechanism whereby the Resource
be annotated with additional contextual metadata that helps describe the Resource. The requirements
are defined in ISO/IEC 30118-1, but clauses 6.5.2 and 6.5.3 define additional Device specific
requirements.
6.5.2 "tag-pos-desc" or position description Semantic Tag
In addition to the requirements defined in ISO/IEC 30118-1 the following requirements will apply:
rd
– This Semantic Tag should not contain any 3 party defined values (see clause 6.4).
6.5.3 "tag-func-desc" or function description Semantic Tag
In addition to the requirements defined in ISO/IEC 30118-1 the following requirements will apply:
– This Semantic Tag when exposed shall be populated with a value from the currently supported set
of standardized enumeration values defined in clause B.2.2.
rd
– This Semantic Tag should not contain any 3 party defined values (see clause 6.4).
7 Modelling of multiple logical Devices
7.1 Introduction
A physical Device may be modelled as a single Platform and Device, a single Platform with multiple
Devices, multiple separately discoverable discrete Platforms and Devices, or as a single Platform and
Device where the Device is represented as a composition of other Devices.
For example, a door that includes the functionality of a contact sensor, a lock and a camera may be
modeled as a single-Platform, a multi-Platform, or a Composite Device. Each of these three options
will be detailed in clauses 7.2, 7.3, and 7.4.
7.2 Single platform model
The physical Device exposes one or more logical Devices that are independently discoverable (i.e.
they separately respond to multicast discovery request messages as defined in clause 11.3 of
ISO/IEC 30118-1). Given the door example there could be a single discovery response with an instance
of "/oic/d" that exposes a single Device Type (such as "oic.d.door") or multiple discovery responses,
each response having a single Device Type in the "rt" of "/oic/d" that represents the logical Device.
The common denominator being that for all discovered logical Devices the Properties of "/oic/p" have
the same values.
© ISO/IEC 2021 – All rights reserved 7
7.3 Multi-platform model
Just like the single-Platform model, one or more logical Devices that make up a physical Device
respond independently to multicast discovery request messages and expose their own Resources. Like
the single-platform model, each logical Device exposes a single Device Type in the "rt" value of "/oic/d".
The difference from the single-platform model is that each logical Device does not have the same
values for the Properties of "oic/p".
7.4 Composite Device model
When modelling a Server as a Composite Device there shall be a single Platform which represents the
Composite Device. The Resource Type Property Value of "/oic/d" exposed should contain all of the
Device Types of the Devices that compose the Composite Device. For each Device that is part of the
Composite Device when using this approach there shall exist a Collection that represents one of the
distinct Devices in the composition. Further each Collection shall have a Resource Type that at a
minimum includes the Device Type that the Collection represents (e.g. ["oic.d.door"]).
Figure 2 illustrates the response to a discovery request using the baseline Interface on "/oic/res" for a
Composite Device modeled as described in this clause. Figure 3 illustrates the response to a unicast
RETRIEVE request using the baseline Interface to the Collection that represents the door Device.
8 © ISO/IEC 2021 – All rights reserved
[
{
"rt": ["oic.wk.res"],
"if": ["oic.if.baseline", "oic.if.ll" ],
"links":
[
{
"anchor": "ocf://dc70373c-1e8d-4fb3-962e-017eaa863989",
"href": "/oic/d",
"rt": ["oic.wk.d","oic.d.door","oic.d.sensor","oic.d.lock","oic.d.camera"],
"if": ["oic.if.r","oic.if.baseline"],
"p": {"bm": 3},
"eps": [{"ep": "coap://[fe80::b1d6]:1111"}]
},
{
"anchor": "ocf://dc70373c-1e8d-4fb3-962e-017eaa863989",
"href": "/mydevice/mydoor",
"rt": ["oic.d.door"],
"if": ["oic.if.ll","oic.if.baseline","oic.if.r"],
"p": {"bm": 3},
"eps": [{"ep": "coaps://[fe80::b1d6]:1111"}]
},
{
"anchor": "ocf://dc70373c-1e8d-4fb3-962e-017eaa863989",
"href": "/mydevice/mysensor",
"rt": ["oic.d.sensor"],
"if": ["oic.if.ll","oic.if.baseline","oic.if.r"],
"p": {"bm": 3},
"eps": [{"ep": "coaps://[fe80::b1d6]:1111"}]
},
{
"anchor": "ocf://dc70373c-1e8d-4fb3-962e-017eaa863989",
"href": "/mydevice/mylock",
"rt": ["oic.d.lock"],
"if": ["oic.if.ll","oic.if.baseline","oic.if.r"],
"p": {"bm": 3},
"eps": [{"ep": "coaps://[fe80::b1d6]:1111"}]
},
{
"anchor": "ocf://dc70373c-1e8d-4fb3-962e-017eaa863989",
"href": "/mydevice/mycamera",
"rt": ["oic.d.camera"],
"if": ["oic.if.ll","oic.if.baseline","oic.if.r"],
"p": {"bm": 3},
"eps": [{"ep": "coaps://[fe80::b1d6]:1111"}]
}
]
}
]
Figure 2 – Example composite Device model
© ISO/IEC 2021 – All rights reserved 9
{
"rt": ["oic.d.door"],
"if": ["oic.if.ll","oic.if.r","oic.if.baseline"],
"id": "unique_example_id",
"di": "dc70373c-1e8d-4fb3-962e-017eaa863989",
"icv": "ocf.1.3.0",
"dmv": "ocf.res.1.3.0, ocf.sh.1.3.0",
"piid": "6F0AAC04-2BB0-468D-B57C-16570A26AE48",
"links": [
{
"href": "/mydoor/openlevel",
"rt": ["oic.r.openlevel"],
"if": ["oic.if.a", "oic.if.baseline"],
"p": {"bm": 2},
"eps": [
{"ep": "coaps://[fe80::b1d6]:1122"}
]
}
]
}
Figure 3 – RETRIEVE Response to example door from composite Device model
8 Discovery
8.1 Endpoint discovery
Clients may discover Servers by using the mechanisms defined by ISO/IEC 30118-1 clause 10. A
Client may populate an "rt" query parameter with the Device Types that the Client wants to discover,
or if no "rt" query parameter is provided then the search is for all available Device Types irrespective.
Devices may be discovered by Device Type or implemented Resource Type. This difference is
conveyed by the population of any "rt" query parameter included as part of discovery (see clause 11.3
of ISO/IEC 30118-1).
The values that may be used for discovering a specific Device Type are listed in Table A.2. The values
that may be used to discover a specific Resource Type are listed in clause 6 of ISO/IEC 30118-4.
The discovery process provides the base URI of the Device that is acting as a Server to the Client.
The structure of the detected Device can then be retrieved by Resource Discovery.
8.2 Resource discovery
Clause intentionally left blank
9 Security
A Device shall implement the mandated Security Virtual Resources specified in the ISO/IEC 30118-2.
Additionally, all exposed ISO/IEC 30118-4 defined Resources shall be accessible via at least one
secure Endpoint (i.e. use of a "coaps" or "coaps+tcp" scheme locator within the "eps" Parameter
exposed by /oic/res; see ISO/IEC 30118-1 clause 10.2.4). A Device shall not expose ISO/IEC 30118-4
defined Resources using unsecured Endpoints (i.e. "coap" or "coap+tcp" scheme locator in the "eps"
Parameter).
10 © ISO/IEC 2021 – All rights reserved
With the exception of those Resources related to Discovery that are explicitly identified by the
ISO/IEC 30118-1 as not requiring secured access (see ISO/IEC 30118-1 clause 11.3.4), all other
Resources defined in ISO/IEC 30118-1 implemented in the Smart Home Device shall be accessible via
at least one secure Endpoint (i.e. use of a "coaps" or "coaps+tcp" scheme locator within the "eps"
Parameter exposed by /oic/res). Similarly, any Resources defined in ISO/IEC 30118-1 that do not
require unsecured access that are not listed in /oic/res shall also be accessible via "coaps" or
"coaps+tcp".
© ISO/IEC 2021 – All rights reserved 11
Annex A
(normative)
Device categories and device types
A.1 Device categories
Devices are grouped into Device Categories based on the Universal Device Classification (UDC) (see
A Basic Classification System for Energy-Using Products--Universal Device Classification), all Device
Categories are listed in Table A.1.
Table A.1 – List of device categories
Device Category Name Description
Space Conditioning Heating and cooling systems
Lighting
Appliance Also known as "white goods"; covers major appliances
only.
Electronics Personal electronics
Miscellaneous Small appliances, other
Infrastructure Physical building and infrastructure
Transportation Vehicles, fixed devices that provide movement (e.g.
Escalators)
Fitness Includes lifestyle
Medical
Personal Health
Other
A.2 Device Types
The complete Universal Device Classification with Device Types per Device Category is provided in
Table A.2. Note that not all Devices within the UDC classification have equivalent OCF defined Device
Types. All defined Device Types are of the form "oic.d." where is a single alphanumeric
string (lower case [a.z],[0.9] only) no more than 24 characters in length giving a total maximum length
of the Device Type of 32 characters. Where an abbreviated form of the Device Type is required
(applicable only to population of a Wi-Fi beacon IE) then the "oic.d." portion of the Device Type may
be omitted.
Table A.2 does not specify the mandatory Resources that are implemented by an instance of such a
Device Type; the set of applicable mandatory Resources is dependent on the application domain. In
this document the following domains are specified: Smart Home, Healthcare. The "Reference" column
in the table references vertical specific annexes where the Device Type is further refined (e.g.
mandatory Resources).
12 © ISO/IEC 2021 – All rights reserved
Table A.2 – Per category list of Device Types
Device UDC Device Device Name Device Type (Normative) Reference
Category Name Name
Space Unitary Air Conditioner oic.d.airconditioner B.1
Conditioning System
Boiler Water Heater oic.d.waterheater B.1
Furnace Furnace oic.d.furnace
Pump Pump oic.d.pump
Fan Fan oic.d.fan B.1
Condensing Condensing Unit oic.d.condensingunit
Unit
Condenser Condenser oic.d.condenser
Humidifier Humidifier oic.d.humidifier B.1
Dehumidifier Dehumidifier oic.d.dehumidifier B.1
HVAC – Thermostat oic.d.thermostat B.1
Control
HVAC - Other HVAC oic.d.hvac
Air Purifier oic.d.airpurifier B.1
Air Quality oic.d.airqualitymonitor B.1
Monitor
Lighting Lighting - Lighting oic.d.lightingcontrol
Controls Controls
Lighting - Light oic.d.light B.1
Other
Appliance Airer Airer oic.d.airer B.1
Clothes Dryer Dryer (Laundry) oic.d.dryer B.1
Clothes Washer oic.d.washer B.1
Washer (Laundry)
Clothes Washer oic.d.washerdryer B.1
Dryer
Dishwasher Dishwasher oic.d.dishwasher B.1
Freezer Freezer oic.d.freezer B.1
Ice Machine Ice Machine oic.d.icemachine
Indoor Garden Indoor Garden oic.d.indoorgarden B.1
Mattress Mattress oic.d.mattress B.1
Oven Oven oic.d.oven B.1
Range Range oic.d.range
Refrigerator Refrigerator oic.d.refrigerator B.1
Water Heater Water Heater oic.d.waterheater B.1
Water Purifier Water Purifier oic.d.waterpurifier B.1
Appliance – Cooker Hood oic.d.cookerhood B.1
Other
Cooktop oic.d.cooktop B.1
Steam Closet oic.d.steamcloset B.1
© ISO/IEC 2021 – All rights reserved 13
Device UDC Device Device Name Device Type (Normative) Reference
Category Name Name
Electronics Audio System Audio System oic.d.audiosystem
A/V Player AV Player oic.d.avplayer
Camera Camera oic.d.camera B.1
Computer – Desktop PC oic.d.desktoppc
Desktop
Computer - Notebook PC oic.d.notebookpc
Notebook
Computer - Server oic.d.server
Server
Computer – Computer oic.d.pc
Other
Data Storage Data Storage oic.d.datastorageunit
Unit
Display Display oic.d.display
Electronics - Portable oic.d.portableelectronics
Portable Electronics
Game Game Console oic.d.gameconsole
Console
Imaging 3D Printer oic.d.3dprinter B.1
Equipment
Printer oic.d.printer B.1
Printer Multi- oic.d.multifunctionprinter B.1
Function
Scanner oic.d.scanner B.1
Musical Musical oic.d.musicalinstrument
Instrument Instrument
Networking Networking oic.d.networking
Equipment Equipment
Phone Handset oic.d.handset
Handset
Receiver Receiver oic.d.receiver B.1
Set Top Box Set Top Box oic.d.stb B.1
Telephony Telephony oic.d.telephonydevice
Television Television oic.d.tv B.1, B.4.1
A/V - Other Active Speaker oic.d.speaker
Electronics – Electronics oic.d.smallelectrical
Other
Miscellaneous Air Air Compressor oic.d.aircompressor
Compressors
Bathroom Bathroom oic.d.bathroomdevice
Device General
Battery Battery Charger oic.d.batterycharger
Charger
Business Business oic.d.businessequipment
Equipment Equipment
Cleaning Robot Cleaner oic.d.robotcleaner B.1
Equipment
Cooking – Portable Stove oic.d.portablestove
Portable
14 © ISO/IEC 2021 – All rights reserved
Device UDC Device Device Name Device Type (Normative) Reference
Category Name Name
Exercise Exercise oic.d.exercisemachine
Machine Machine
HVAC – Portable HVAC oic.d.hvacportable
Portable
Industrial Optical oic.d.orfid D.1
augmented
RFID Reader
Kitchen Coffee Machine oic.d.coffeemachine B.1
Food Probe oic.d.foodprobe B.1
Grinder oic.d.grinder B.1
Kettle oic.d.kettle B.1
Lighting –
...
귀하의 요청에 따라, 다음 기사의 내용을 한국어로 요약하겠습니다: 기사 제목: ISO/IEC 30118-5:2021 - 정보기술 - Open Connectivity Foundation (OCF) 규격 - 파트 5: OCF 기기 규격 기사 내용: 기기 정의는 ISO/IEC 30118-4의 자원 정의를 사용합니다. 이 문서는 ISO/IEC 30118-1 위에 구축되었습니다. ISO/IEC 30118-1은 IoT 사용 및 생태계 구현을 위한 프로파일 구현을 가능하게 하는 핵심 아키텍처, 인터페이스 프로토콜 및 서비스를 명세화합니다. ISO/IEC 30118-1은 또한 네트워크 연결성, 검색, 데이터 전송, 기기 및 서비스 관리, ID 및 보안과 같은 주요 아키텍처 구성 요소를 정의합니다. 이 핵심 아키텍처는 제한된 기기와 더 능력있는 스마트 기기를 지원하기 위해 확장 가능하게 설계되었습니다.
ISO/IEC 30118-5:2021 is a specification related to the Open Connectivity Foundation (OCF) in the field of information technology. The specification focuses on device definitions and utilizes resource definitions from ISO/IEC 30118-4. ISO/IEC 30118-1 serves as the foundation for this document, providing core architecture, interfaces, protocols, and services for the implementation of profiles for Internet of Things (IoT) usage and ecosystems. ISO/IEC 30118-1 also defines key components such as network connectivity, discovery, data transmission, device and service management, as well as identification and security. The core architecture is designed to be scalable and accommodate both simple, constrained devices and more sophisticated, smart devices.
以下の記事を日本語で要約します: 記事タイトル:ISO/IEC 30118-5:2021 - 情報技術 - Open Connectivity Foundation (OCF) 仕様 - Part 5: OCFデバイス仕様 記事内容:デバイスの定義は、ISO/IEC 30118-4のリソースの定義を使用します。この文書は、ISO/IEC 30118-1の上に構築されています。ISO/IEC 30118-1は、IoTの使用とエコシステムのためのプロファイルの実装を可能にするためのコアアーキテクチャ、インタフェースプロトコル、およびサービスを指定しています。ISO/IEC 30118-1はネットワークの接続性、検出、データ転送、デバイスおよびサービスの管理、IDとセキュリティなど、主要なアーキテクチャコンポーネントを定義しています。このコアアーキテクチャは、制約されたデバイスとより高機能なスマートデバイスの両方をサポートするためにスケーラブルに設計されています。










Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.
Loading comments...