Download Manual

Transcript
UPnP Device SDK Manual
Table Of Contents
PART I - EBS UPnP Device User Guide
1
Section 1: Introduction
1
Section 2: UPnP Phases
3
Section 3: Server and Client Interaction Model
5
Section 4: Software Development Kit (SDK) Architecture:
7
4.1 RTPLATFORM
7
4.2 Application
8
4.3 IXML Library
8
4.4 UPnP.DOM
8
4.5 HTTP Library (HTTP SERVER AND HTTP PARSER)
8
4.6 UPnP.c and UPnPSrv.c
8
4.7 DeviceAction.c and SoapSrv.c
8
4.8 DeviceEvent.c and GenaSrv.c
8
4.9 DeviceDescribe.c
8
4.10 DeviceDiscover.c and SsdpSrv.c
8
Section 5: Getting Started
5.1 Creating Description Documents
9
9
5.1.1 Creating a Device Description Document
9
5.1.2 Creating a Service Description Document
13
5.2 Writing Your Application
16
5.2.1 Initializing and Setting up UPnP Runtime
16
5.2.2 Initializing UPnP Device
17
5.2.3 Loading the Description Documents
17
5.2.4 Registering Root Device
17
5.2.5 Device Advertisement Settings
18
5.2.6 Starting up the Device
18
5.2.7 Application Body Implementation
18
5.2.8 Shutting Down the Device
18
Section 6: Writing a device Callback
6.1 Serving an Action Request
6.1.1 Operation
6. 2 Serving a Subscription Request
6.2.1 Operation
19
20
21
23
23
Section 7: Sending Event Notifications from within Device Application
25
PART II – Porting and Configuration Guide
27
UPnP SDK Source Code Structure
29
Configuring UPnP SDK
33
Porting UPnP SDK
33