IoTivity: The Open Connectivity Foundation And The IoT .

2y ago
121 Views
3 Downloads
1.33 MB
22 Pages
Last View : 2m ago
Last Download : 2m ago
Upload by : Olive Grimm
Transcription

IoTivity: The Open Connectivity Foundationand the IoT ChallengeThiago MacieiraEmbedded Linux Conference / Open IoT Summit – Berlin, October 2016

Who am I?2

3

About the Open Connectivity Foundation4

5

OCF Current membersDiamondPlatinumLiaisonsFor Gold, Basic and non-profit members, see openconnectivity.org

Where the stack sitsApplications & ServicesData & Control PointsTranslation Layers802.15.4ZigBee*Z-Wave*Bluetooth LowEnergy (BLE)ExtensibleZigBee*Z-Wave*802.15.4Bluetooth* LowEnergy (BLE)IPIPIP over BLEWi-Fi*IPThread*OCF Comms Framework(Single Resource & Data Model)802.15.47

OCF Protocol StackApplication LayerOCF clientOCFintermediary Based on standard technologiesOCF serverApplication-specific resourcesResource LayerSecurity Resource Manager (SRM)Security ResourcesConnectivity LayerSession management (CoAP, DDS, XMPP, MQTT, etc)– Does not require TCP (only UDP) Security built in from the start– “Security 2.0” will be end-to-end Hardening left as an exercise forthe manufacturerSession protection (e.g., DTLS)UDP, TCP, Bluetooth* profileIP over Wi-Fi*, IP over 802.15.4, Bluetooth, Security Enforcement8

Core Protocol OCF adopted RESTful APIs Core framework defines 2 logical roles that devices can take:– OCF Server : A logical entity that exposes hosted resources– OCF Client : A logical entity that accesses resources on an OIC Server OCF ClientOCFClient OCF ServerOCFServerR1) Initiate an transaction (send a request)1) host a Resource2) access an OCF Server to get a service2) send a response3) provide a service9

Organisation of an OCF deviceDevice concept:/oic/pResource URI: /oic/prt: oic.wk.pif: oic.if.rn: homePlatform/oic/res/oic/d/oic/mntOCF Device 1/oic/respolicy: bm:11pi: at1908/oic/d/oic/prsOCF Device 2Physical Device e.g., lightbulbmnmn: Samsung*MandatoryOptional10

Device Example: Light Device (oic.d.light) Example overview– Smart light device with i) binary switch & ii) brightness resource Device type: Light device (oic.d.light) Associated ciated Resource TypeMandatory/oic/res (oic.wk.core)Yes/oic/d (oic.d.light)YesBinary switch (oic.r.switch.binary)YesBrightness (oic.r.light.brightness)No11

Ownership transfer and bootstrappingDeviceGets ontheNetworkOBTDiscoversthe DeviceDevice isUn-ownedOwnershipTransferBootstrapping /Provisioning(ACLs, certs)12

OCF Data Models Starts with definition of individual elementsThermostat– Built on generic description strategy (e.g., RAML, JSONschemas)– Starts with physical properties (e.g., temperature, mass,color )ThermometerSwitchTemperature Devices are comprised of collections ofelements / properties– Including previously defined devicesTemperature Abstract devices can also be defined– (e.g., Joe’s house, upstairs bedrooms )13

oneIoTa.org A crowd-sourced IntegratedDevelopment Environment (IDE)– RAML & JSON validated and syntaxaware editors with shared editing Automatic support for derivedmodels and multipleorganizations Submission and approvalprocess per organization14

IoTivity Project OverviewSteeringGroup An Open Source Project, hostedby the Linux* Foundation– License: Apache Version 2.0AdvisoryCommittee Goal: implement the referenceimplementation of OCFspecification Meritocratic, fair and opendevelopment processProjectsFunctions15

IoTivity Main reference implementation An open source softwareframework implementing OCFStandards Available on Android*, Linux*,Tizen* and Windows* Notable features:OCF Client OCF ServerP2P DirectOCF ClientTunnelOCF Intermediary– Cloud integrationCloudCoAP over TCPGatewayGatewayOCF ServersOCF Servers– CoAP over TCP and over Bluetooth* LE– Bridge plugins to other ecosystemsOCF ClientRemoteAccessCloud-basedIntelligentServices16

Other IoTivity reference implementationsIoTivity for constrained devices Designed from scratch for smalldevices (e.g., Intel Quark family)– Static memory allocation Fully compatible with OIC 1.1specification and main IoTivity Support for Linux* and ZephyrIoTivity for Node.js* API in JavaScript*, provided as annpm package “Feels” native for Node.jsdevelopers Easy to integrate with otherNode.js packages for richerexperienceSee session on IoTivity Constrained17

IoTivity for Node.js* API SampleClientPromise findResources();Promise retrieve(id);Promise update(resource);Promise observe(id);Events:resourcefoundServerPromise resource observerequestResourceEvents:updatedelete18

IoTivity for Node.js* Example Codevar device require("iotivity-node")();device.configure({role: "client"});device.on("resourcefound", function(event) {console.log("client: resource found %s", event.resource.id.path);if (event.resource.id.path "/a/light") unction(resource) {resource.properties.on !resource.properties.on; // n() {console.log("client: update s();19

Other IoTivity Projects Bridge to UPnP Bridge to AllJoyn* Testing tool, with network simulation20

Get Involved! Participate in developing the reference implementationIoTivity (https://www.iotivity.org/get-involved) Participate in creating the specification & certification programOCF (http://openconnectivity.org/join) Participate in developing the OCF data modelsoneIoTa tool (https://www.oneiota.org)

Thiago / ThiagoMacieira22

Group Projects Functions Advisory Committee. 16 IoTivity Main reference implementation . Support for Linux* and Zephyr See session on IoTivity Constrained IoTivity for Node.js* . Testing tool, with network simulation

Related Documents:

May 02, 2018 · D. Program Evaluation ͟The organization has provided a description of the framework for how each program will be evaluated. The framework should include all the elements below: ͟The evaluation methods are cost-effective for the organization ͟Quantitative and qualitative data is being collected (at Basics tier, data collection must have begun)

Silat is a combative art of self-defense and survival rooted from Matay archipelago. It was traced at thé early of Langkasuka Kingdom (2nd century CE) till thé reign of Melaka (Malaysia) Sultanate era (13th century). Silat has now evolved to become part of social culture and tradition with thé appearance of a fine physical and spiritual .

On an exceptional basis, Member States may request UNESCO to provide thé candidates with access to thé platform so they can complète thé form by themselves. Thèse requests must be addressed to esd rize unesco. or by 15 A ril 2021 UNESCO will provide thé nomineewith accessto thé platform via their émail address.

̶The leading indicator of employee engagement is based on the quality of the relationship between employee and supervisor Empower your managers! ̶Help them understand the impact on the organization ̶Share important changes, plan options, tasks, and deadlines ̶Provide key messages and talking points ̶Prepare them to answer employee questions

Dr. Sunita Bharatwal** Dr. Pawan Garga*** Abstract Customer satisfaction is derived from thè functionalities and values, a product or Service can provide. The current study aims to segregate thè dimensions of ordine Service quality and gather insights on its impact on web shopping. The trends of purchases have

Chính Văn.- Còn đức Thế tôn thì tuệ giác cực kỳ trong sạch 8: hiện hành bất nhị 9, đạt đến vô tướng 10, đứng vào chỗ đứng của các đức Thế tôn 11, thể hiện tính bình đẳng của các Ngài, đến chỗ không còn chướng ngại 12, giáo pháp không thể khuynh đảo, tâm thức không bị cản trở, cái được

This Getting Started Guide shows you how to set up an IoTivity development environment on a Raspberry Pi* 3 board. You will also build and run sample server and client applications that verify the build environment is set up properly, and can interact with an Internet of Things (IoT) device, in our case an LED.

GRADE 2 SYLLABUS AND CURRICULUM INFORMATION Second Grade English/Language Arts Grade Level/Dept. Grade 2 Instructor Mrs. Vicki Feldker Certification/s Elementary Education, Middle school Language Arts Degree/s BS Elementary Ed. MAED Teacher Leadership Textbook/ Journeys 2014 Resources Journeys text, teacherspayteachers.com,