5.12 ADN profile 5
5.12.1 Profile description
This profile defines features for normal sensor devices or software components that desire to implement oneM2M sensing services and may have additional capability for actuation. The sensing services such as monitoring temperature, detecting illumination, collection of location information etc are characterized with collecting and uploading measurement data into a destination e.g. a repository. The actuation services such as turning on a pump or switching a light on or off allows for receiving a control command from CSE via notification.
The sensing service profile defines a set of features required to implement sensing functionalities including creation and update of <container>, creation of <contentInstance> etc.
5.12.2 Profile usage examples
This profile applies to normal sensors deployed in non-critical environments have relative rich resources and are powered by electricity power or by battery that can be easily changed. This profile can also apply to software components that implements sensing services.
Taking smart socket as an example, when a manufacturer-A decides to design a smart socket with oneM2M sensing service, he can refer to the Sensing Service Profile to check the fundamental features that are required to implement. The fundamental features for Sensing Service Profile are defined in Section 7.4.3 Feature Set. When another manufacturer-B also designs a smart socket complying with the Sensing Service Profile, these two smart sockets produced from two different manufacturers are interoperable potentially to work together to implement complex tasks.
5.12.3 Fundamental feature sets
This profile is assumed to be configured with security credentials such as trust anchors and certificate for securely communicating with the CSE. It shall also be able to register itself to CSE securely. It shall be able to create resource hierarchy by creating <container>, <subscription> and <contentInstance> resources.
Container is used for storing the measurements of sensing device and whenever there is data measured from the sensing device, the data will be sent to the CSE for storage by sending a <contentInstance> create request from the originator where the encoded measurement is included within the payload of the <contentInstance> create request.
oneM2M sensing service profile consists of minimum features to implement Data Management for Container and ContentInstance functionality shown in Table 7.4.3-1.
Table 5.12.3-1: Fundamental feature set for ADN profile 5
| Function | Feature Set | Feature | Remark |
|---|---|---|---|
| SEC | AE/SEC/00001 | AE/SEC/00001/00001 | Support secure association |
| GEN | AE/GEN/00001 | At least one | Support one of the format of resource identification |
| AE/GEN/00002 | AE/GEN/00002/00001 | Support Create request targeting one resource | |
| REG | AE/REG/00002 | AE/REG/00002/00001 | Create <AE> with mandatory attributes |
| DMR | AE/DMR/00001 | AE/DMR/00001/00001 | Create <container> with no attribute set |
| AE/DMR/00002 | AE/DMR/00002/00001 | Create <contentInstance> with mandatory attributes |
Table 5.12.3-2: Fundamental feature set for receiving a notification for ADN profile 5
| Function | Feature Set | Feature | Remark |
|---|---|---|---|
| SUB | AE/SUB/00001 | AE/SUB/00001/00001 | Create <subscription> with mandatory attributes |
| AE/SUB/00004 | AE/SUB/00004/00001 | Receiving a notification |
5.12.4 ADN5-MQTT
Table 5.12.4-1: Notification feature sets for ADN profile 5
| Function | Feature Set | Feature | Remark |
|---|---|---|---|
| MQTT | AE/MQTT/00001 | AE/MQTT/00001/00001 | Subscribes to a MQTT topic for receiving a notification |