Building Universal Windows Apps with AllJoyn

31
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.

Transcript of Building Universal Windows Apps with AllJoyn

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.

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

3

AllSeen and AllJoyn

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.

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

03 June 2015 AllSeen Alliance 6

IoT Barrier: Proprietary Solutions

IHV Transport ISV Schema OS APIClosed

System

03 June 2015 AllSeen Alliance 7

AllJoyn Enables IoT Device Interoperability

AllJoyn

03 June 2015 AllSeen Alliance 8

Member Companies

03 June 2015 AllSeen Alliance 9

Member Companies

10

AllJoyn Platforms and APIs

03 June 2015 AllSeen Alliance 11

AllJoyn Platforms and APIs

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

03 June 2015 AllSeen Alliance 13

Example AllJoyn Device: Smoke Detector

Fire Detected

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)

15

AllJoyn in Windows 10

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

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

18

Coding Walkthrough: Building AllJoyn App for Windows 10

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

03 June 2015 AllSeen Alliance 20

Windows.Devices.AllJoyn Overview

AllJoyn Standard Client API (C)

MSAJAPI.lib

03 June 2015 AllSeen Alliance 21

AllJoyn UWP Code Generator

Consumer and

Watcher Code

(*.cpp, *.h)

Producer Code

(*.cpp, *.h)

03 June 2015 AllSeen Alliance 22

AllJoyn UWP Interactions

03 June 2015 AllSeen Alliance 23

Windows 10 AllJoyn UWP

24

Looking Forward

03 June 2015 AllSeen Alliance 25

Device System Bridge (DSB) Framework

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

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

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]

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

30

Q&A