cutomize and control connected devices
TRANSCRIPT
![Page 1: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/1.jpg)
Cutomize and Control Connected Devices
Mirco Vanini
ROME 18-19 MARCH 2016
![Page 2: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/2.jpg)
Agenda
• AllSeen and AllJoyn• AllJoyn Platforms and APIs• AllJoyn in Windows 10• Building an AllJoyn Device & App for
Windows 10
![Page 3: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/3.jpg)
IoT Barrier: Proprietary Solutions
IHV Transport ISV Schema OS API Closed System
![Page 4: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/4.jpg)
AllSeen and AllJoyn
AllJoyn is an open source communication framework that enables IoT device and app interoperability.
The AllSeen Alliance is a non-profit consortium that oversees AllJoyn. Stated focus is to enable the “Internet of Everything”.
The AllSeen Alliance is a cross-platform Linux Foundation Collaborative Project.
![Page 5: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/5.jpg)
The innovative companies that support AllJoyn
Premier Membershttps://allseenalliance.org/alliance/members
![Page 6: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/6.jpg)
AllJoyn Enables IoT Device Interoperability
![Page 7: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/7.jpg)
AllJoyn overview
AllJoyn is an open sourced framework to enable proximity based peer to peer mobile networking.
It provides an abstraction layer with a clean API to the underlying networks stacks (wireless, bluetooth) which is relatively easy to extend with new network implementations.
AllJoyn provides service advertisement and discovery abstraction, as well as various application to application security mechanisms and a Remote Method Invocation abstraction.
![Page 8: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/8.jpg)
AllJoyn Platforms and APIs
![Page 9: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/9.jpg)
AllJoyn Platforms & Languages Bindings (15.04 Release)
![Page 10: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/10.jpg)
AllJoyn Common Service Frameworks
Send and receive device notifications
Get devices onto wireless networks
Manage and configure devices
Discovery and app/device metadata
![Page 11: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/11.jpg)
AllJoyn Software Roles
Consumer (client)Discovers and connects to one or more producers. Controls thing and consumes data from thing.
Producer (server)
![Page 12: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/12.jpg)
AllJoyn Architecture
The AllJoyn framework establishes a standard by which devices and apps can advertise and discover each other. AllJoyn devices describe their capabilities via service interfaces on a virtual bus.
Routing Nodes (RN) - Also referred to as “Routers”, they can talk to any node.
Leaf Nodes (LN) - Also referred to as “Applications”, they can talk to routing nodes or other leaf nodes via routing nodes
![Page 13: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/13.jpg)
AllJoyn Architecture
![Page 14: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/14.jpg)
AllJoyn in Windows 10
Optimized performance, full integration
Reduced code size, integrated with Windows SDK
Seamless AllJoyn device and app development
Servicing, reduced code size
C and UWP Samples
![Page 15: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/15.jpg)
AllJoyn UWP App Development
• Install Windows 10 and SDK/Tools• Identify and/or Define AllJoyn
interfaces• Generate code• Implement and hook up AllJoyn
functionality• Build for targets• Test and Certify
![Page 16: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/16.jpg)
Windows.Devices.AllJoyn Overview
![Page 17: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/17.jpg)
AllJoyn UWP Code Generator
Consumer and Watcher Code
(*.cpp, *.h)
Producer Code (*.cpp, *.h)
![Page 18: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/18.jpg)
Device System Bridge (DSB) Framework
![Page 19: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/19.jpg)
Demo
![Page 20: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/20.jpg)
Links
• AllJoyn® Framework
• Windows 10 IoT Core – AllJoyn
• AllJoyn Explorer
• Channel 9: Building AllJoyn Apps on Windows 10 (MSDN)
• AllJoyn® Studio
• Using the AllJoyn ® Studio Extension
• AllJoyn Device System Bridge Template
• Mapping Bridge Interface Objects to Alljoyn
• Introspection Data Format
![Page 21: Cutomize and Control Connected Devices](https://reader031.vdocument.in/reader031/viewer/2022030219/5885811a1a28abbb7e8b747b/html5/thumbnails/21.jpg)
Thanks!
ROME 18-19 MARCH 2016
Mirco VaniniMicrosoft® MVP Windows Hardware Engineering (IoT, Mobile, and Desktop)
All pictures belong
to their respective authors