Siemens SDK for UPnP Devices

Download Report

Transcript Siemens SDK for UPnP Devices

Siemens Universal
Plug and Play SDK
Fast and easy development
of UPnP™ devices
Markus A. Wischy
Corporate Technology
Siemens AG
Siemens SDK

Features

Contents of SDK

Interoperability

API Overview

Step by step: Programming a UPnP™ Device

Outlook
Contents of the SDK

Java UPnP Stack
(Personal Java, Java 1.1 or Java 2)

C++ UPnP Stack
(WinCE, Win9x, WinNT, Win2000, Win XP)

API Documentation

Programming Guide

Examples: TestDevice and Simple Control Point

Universal Control Point

UPnP Test Tool
Features of the Siemens Stack

Stack provides all UPnP™ Protocols

Discovery, Description, SOAP, GENA, Presentation

Small footprint HTTP Server

Small footprint XML Parser

Java Version
Personal Java
(e.g. Sun, Insignia VMs), Java 1.1 or Java 2
 Static size: 283kB
(200kb for Device Host, 237kb for Control Point)


C++ Version
Win CE 3.0, Win9x, WinNT, Win2000, WinXP
 System Wrapper for easy portability to other platforms
 Binary size: Desktop: 416kB, WinCE 372 kB (ARM)

Interoperability

Stack tested for interoperability

Windows ME, Windows XP, Intel SDK,...

UIC UPnP Test Tool

Participation on 1st, 2nd and 3rd
Plugfest

Successfull test with all other participants
Test Device and Universal
Control Point

Test Device and
UCP for Desktop
and Win CE

Device Information

Start of Web
Browser with
Presentation Page
Universal Plug and Play Test Tool

Hierarchical
Service Browser

Event
Subscription

Action
Invocation

Verbosity Output
Level

Instant view of
Description
Documents
UPnP API Overview

UPnP Object Model

Device, Service, Action, Variable, Icon,...

EventHandlers for UPnP Discovery

Easy Object Model creation


new Device(URL)
Easy Event Subscription

Service.subscribeEvents(UPnPEventHandler)
Step by Step: Implementing a
UPnP Device

Write/Provide XML Device/Service
Description

Write Device API and Implementation

Write Presentation Page Handler

Create Device Host

Add Presentation Page Handler

Announce Device
Step by Step: Implementing a
UPnP Control Point

Get instance of Control Point

Add UPnPEventListener

Write handler code for announce/byebye
events

Subscribe to events

Invoke actions
Demo
Siemens Universal
Plug and Play SDK
Outlook

Support for UPnP Security Extenstions
(Keyexchange, Authentication, Privacy)

Support for upcoming UPnP versions

SDK is available at
http://www.plug-n-play-technologies.com
For the interconnected lifestyle