Koji Kusaba and Gishin Takimoto of Microsoft Development Co., Ltd., led a presentation – "Building Universal Windows Apps that Discover, Connect, and Interact with Other Devices and Cloud Services Using AllJoyn" – at the AllSeen Alliance's LinuxCon Japan Mini-Summit in June 2015.
Unblocking The Main Thread Solving ANRs and Frozen Frames
Building Universal Windows Apps with AllJoyn
1. 03 June 2015 AllSeen Alliance 1
Building Universal Windows
Apps that Discover, Connect,
and Interact with Other
Devices and Cloud Services
Using AllJoyn
Koji Kusaba
Gishin Takimoto
Microsoft Development Co., Ltd.
2. 03 June 2015 AllSeen Alliance 22
1. AllSeen and AllJoyn
2. AllJoyn Platforms and APIs
3. AllJoyn in Windows 10
4. Building an AllJoyn App for Windows 10
5. Getting Involved, Looking Forward
Agenda
4. 03 June 2015 AllSeen Alliance 4
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.
5. 03 June 2015 AllSeen Alliance 5
AllSeen and AllJoyn
• Connect, manage and interoperate devices
• Across brands, categories, transports, and operating systems
• Enables widest range of use cases and devices
• Easy discovery and interoperability
• Cloud & proximal connectivity
• Lightweight processing & memory requirements
• Distributed without charge
• Open source: manufacturers and developers can contribute to roadmap
6. 03 June 2015 AllSeen Alliance 6
IoT Barrier: Proprietary Solutions
IHV Transport ISV Schema OS API
Closed
System
11. 03 June 2015 AllSeen Alliance 11
AllJoyn Platforms and APIs
12. 03 June 2015 AllSeen Alliance 12
AllJoyn Common Service Frameworks
Send and receive device notifications
Get devices onto wireless networks
Manage and configure devices
Discovery and app/device metadata
13. 03 June 2015 AllSeen Alliance 13
Example AllJoyn Device: Smoke Detector
Fire
Detected
14. 03 June 2015 AllSeen Alliance 14
AllJoyn Software Roles
Consumer (client)
Discovers and connects to one or more producers.
Controls thing and consumes data from thing.
Producer (server)
16. 03 June 2015 AllSeen Alliance 16
Windows 10 is “all in for AllJoyn”
• Broad commitment to AllSeen and AllJoyn:
o A premiere member of the AllSeen Alliance
o AllJoyn is included in OneCore for Windows 10 (Client, Mobile, Xbox,
IoT, …)
• Leading the charge - WinHEC, //BUILD, Tours and
Hackfests
• Contributing to the Alliance
o Board Members
o Technical Steering Committee
o Working Groups
o Prospecting and Outreach
o Code
17. 03 June 2015 AllSeen Alliance 17
AllJoyn in Windows 10
Servicing, reduced code size
Optimized performance, full integration
Reduced code size, integrated with Windows SDK
Seamless AllJoyn device and app development
C and UWP Samples
19. 03 June 2015 AllSeen Alliance 19
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
20. 03 June 2015 AllSeen Alliance 20
Windows.Devices.AllJoyn Overview
AllJoyn Standard Client API (C)
MSAJAPI.lib
25. 03 June 2015 AllSeen Alliance 25
Device System Bridge (DSB)
Framework
26. 03 June 2015 AllSeen Alliance 26
Announced at //BUILD
• Insteon announcement
• LIFX announcement
• Visual Studio 2015 AllJoyn Integration
• AllSeen/AllJoyn specific session on UWP apps
• Windows 10 AllJoyn Samples
27. 03 June 2015 AllSeen Alliance 27
Call To Action
• Join “Windows Insider”, install Windows 10
• Build AllJoyn-enabled UWP apps and devices
• Send Microsoft your Feedback
• Get Involved with the AllSeen Alliance
• Contribute Code back to Alliance
28. 03 June 2015 AllSeen Alliance 28
Other Resources
• Interested in building AllJoyn enabled devices? (WinHEC)
– Building IoT Devices With AllJoyn [Gavin Gear]
• Interested in building AllJoyn enabled apps? (//BUILD)
– AllJoyn: Building Universal Windows Apps that Discover, Connect, and
Interact with Other Devices and Cloud Services Using AllJoyn [Gavin Gear &
Brian Rockwell]
– The “IoT Show” on Channel 9 – 4 episodes including one from BUILD
• Interested in Enterprise IoT? (IGNITE)
– Windows 10 for IoT: Interoperability and Intelligence [Drew Peterson]
29. 03 June 2015 AllSeen Alliance 29
Other Resources
• AllJoyn & Windows 10 Resources:
– AllSeen Alliance: http://allseenalliance.org
– Windows 10 IoT: http://windowsondevices.com
– MSDN documentation for Windows 10 AllJoyn
– Windows 10 AllJoyn Samples – in UWP SDK – www.buildwindows.com
– Device System Bridge Information