0% found this document useful (0 votes)
33 views21 pages

Unit 5 Notes

Uploaded by

pranavkarwa2004
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views21 pages

Unit 5 Notes

Uploaded by

pranavkarwa2004
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

IoTivity

What is IoTivity
• IoTivity is an open-source software framework designed to enable
seamless device-to-device communication within the Internet of T
hings (IoT) ecosystem.
• It was initiated by the Open Connectivity Foundation (OCF) to pro
vide a standard and scalable solution for connecting various IoT d
evices across different networks and platforms.

Key Features of IoTivity:


Interoperability: IoTivity is designed to facilitate interoperability
between IoT devices from different manufacturers, allowing them to
communicate regardless of underlying hardware, software, or
transport layers.

Open-Source and Standardized: As an open-source project, it


provides a free and collaborative platform for developers. It adheres
to OCF standards, ensuring compliance and consistency in device
communication protocols.
Key Features of IoTivity:

Security: The framework includes built-in security features


like authentication, encryption, access control, and secure
device onboarding, ensuring the secure exchange of data
among connected devices.

Resource-Oriented Architecture: It uses a resource-based


architecture where each device or service is treated as a
resource. It uses a RESTful API model to interact with these
resources using HTTP-like methods such as GET, POST, PUT,
and DELETE.

Support for Multiple Protocols: IoTivity can work over


different transport protocols like Bluetooth, Wi-Fi, Ethernet,
Zigbee, and CoAP (Constrained Application Protocol),
making it highly versatile for various IoT use cases.
Components of IoTivity:
Resource Manager:
Manages and facilitates access to the different IoT
resources in the network.

Resource Directory:
Acts as a registry for discovering available IoT devices
and services in the network.

Security Layer:
Provides features for secure data transmission, secure
device discovery, and secure onboarding of devices.
What is IoTivity
• Umbrella of projects for building IoT devices
• Open-Source, reference implementations of OCF (Open
Connectivity Foundation) specifications
• Serve as starting point for developing and certifying OCF
products

OCF

Specifications

Vertical Data Models IOTivity

Device Certification

Strategy, Marketing
IoTivity
IoTivity
• An open source reference implementation of the OIC standard
specifications
– Linux Foundation Collaborative Project
– Supported by Open Interconnect Consortium(OIC)
• Goal
– A new standard by which billions of wired and wireless devices connect to each
other and to the Internet
IoTivity Features

• Base
– Discovery & Connectivity
– Resource Management
• Services
– Soft(Virtual) Sensor Manager
– Protocol Plugin Manager
– Things Manager
– Notification Manager(Resource Offloading)
– Control Manager(Smart Home Protocol)
• Target: Generic Linux, Tizen, Yocto, Android
• Source code is managed in Gerrit review server
IoTivity SW Stack

• IoTivity Services
– Soft Sensor, Protocol Plugin, Things, Notification,
Control Managers
• Resource API
– based on OIC Resource Model
– Interface between IoTivity service and base
• IoTivity Base
– Abstract connectivity methods to Resource API
– IoTivity base is included in service process and
application process as a library
IoTivity SW Stack: Resource API

• Interface between service/app and base


• Support for constrained devices
– Provide only C SDK, use only CoAP-UDP/IP protocol
– ex. Arduino
OIC Resource Model

• Collection – Resource – Property/Attribute


OIC Resource Model

• Behaviors on Resource Model


– Finding a resource
– Querying, setting and observing resource state
IoTivity Base Flow
• Registering a Resource
– Given a service running on port 5683 in a device at IP address
192.168.1.1,
– If the application registers a resource with a URI path "/light/1",
– The resulting fully qualified URI "oc://192.168.1.1:5683/light/1"
IoTivity Base Flow
• Finding a resource
– returns all resources of given type on the network service
IoTivity Base Flow

• Querying resource state (GET)


IoTivity Base Flow

• Setting resource state (PUT)


IoTivity Base Flow

• Observing resource state


Service: Protocol Plug-in Manager

• Provides mechanism to represent non-OIC


protocols within the OIC framework
• MQTT is supported as a protocol plug-in
Service: Soft Sensor Manager
• Receive data from various sensors
• Query-based sensor data request
Service: Things Manager

• Group creation and finding appropriate


resources in network
Control Manager
• Discover controlee devices
• Control controlee with Resource API
• Subscription/notification functionality
– for monitoring the device operations or state changes
• Runs both as client and server

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy