ISO/IEC 29341-1-1:2011
(Main)Information technology - UPnP Device Architecture - Part 1-1: UPnP Device Architecture Version 1.1
Information technology - UPnP Device Architecture - Part 1-1: UPnP Device Architecture Version 1.1
ISO/IEC 29341-1-1:2011(E) The UPnP Device Architecture (formerly known as the DCP Framework). It defines the protocols for communication between controllers, or control points, and devices. For discovery, description, control, eventing, and presentation, the UPnP Device Architecture uses the following protocol stack: - UPnP vendor-specific information; - information defined by UPnP; - UPnPspecific protocols such as the Simple Service Discovery Protocol (SSDP) the General Event Notification Architecture (GENA) and the multicast event protocol defined in this document, and others that are referenced. SSDP is delivered via either multicast or unicast UDP. Multicast events are delivered via multicast UDP. GENA is delivered via HTTP. Ultimately, all messages above are delivered over IP. The remaining clauses of this document describe the content and format for each of these protocol layers in detail.
General Information
Standards Content (Sample)
ISO/IEC 29341-1-1
Edition 1.0 2011-09
INTERNATIONAL
STANDARD
colour
inside
Information technology – UPnP device architecture –
Part 1-1: UPnP Device Architecture Version 1.1
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form
or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from
either IEC or IEC's member National Committee in the country of the requester.
If you have any questions about ISO/IEC copyright or have an enquiry about obtaining additional rights to this
publication, please contact the address below or your local IEC member National Committee for further information.
IEC Central Office
3, rue de Varembé
CH-1211 Geneva 20
Switzerland
Email: inmail@iec.ch
Web: www.iec.ch
About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.
About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigenda or an amendment might have been published.
Catalogue of IEC publications: www.iec.ch/searchpub
The IEC on-line Catalogue enables you to search by a variety of criteria (reference number, text, technical committee,…).
It also gives information on projects, withdrawn and replaced publications.
IEC Just Published: www.iec.ch/online_news/justpub
Stay up to date on all new IEC publications. Just Published details twice a month all new publications released. Available
on-line and also by email.
Electropedia: www.electropedia.org
The world's leading online dictionary of electronic and electrical terms containing more than 20 000 terms and definitions
in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical
Vocabulary online.
Customer Service Centre: www.iec.ch/webstore/custserv
If you wish to give us your feedback on this publication or need further assistance, please visit the Customer Service
Centre FAQ or contact us:
Email: csc@iec.ch
Tel.: +41 22 919 02 11
Fax: +41 22 919 03 00
ISO/IEC 29341-1-1
Edition 1.0 2011-09
INTERNATIONAL
STANDARD
colour
inside
Information technology – UPnP device architecture –
Part 1-1: UPnP Device Architecture Version 1.1
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XA
ICS 35.200 ISBN 978-2-88912-656-9
29341-1-1 29341-1-1 XXXX: © IEC© ISO/IEC:2011(E)© ISO/IEC:2011(E):2010 — 1 —
CONTENTS
Introduction . 4
0 Addressing . 10
0.1 Determining whether to use Auto-IP . 10
0.2 Choosing an address . 10
0.3 Testing the address . 11
0.4 Forwarding rules . 11
0.5 Periodic checking for dynamic address availability . 12
0.6 Device naming and DNS interaction . 12
0.7 Name to IP address resolution . 12
0.8 References . 12
1 Discovery . 13
1.1 SSDP message format . 16
1.1.1 SSDP Start-line . 16
1.1.2 SSDP message header fields . 16
1.1.3 SSDP header field extensions . 16
1.1.4 UUID format and RECOMMENDED generation algorithms . 17
1.1.5 SSDP processing rules . 17
1.2 Advertisement . 17
1.2.1 Advertisement protocols and standards . 18
1.2.2 Device available - NOTIFY with ssdp:alive . 18
1.2.3 Device unavailable -- NOTIFY with ssdp:byebye . 24
1.2.4 Device Update – NOTIFY with ssdp:update . 25
1.3 Search . 27
1.3.1 Search protocols and standards . 27
1.3.2 Search request with M-SEARCH . 28
1.3.3 Search response . 31
1.4 References . 33
2 Description . 33
2.1 Generic requirements on HTTP usage . 36
2.2 Generic requirements on XML usage . 38
2.3 Device description . 38
2.4 UPnP Device Template . 43
2.5 Service description . 43
2.5.1 Defining and processing extended data types . 50
2.5.2 String equivalents of extended data types . 51
2.5.3 Generic requirements . 52
2.5.4 Ordering of Elements . 52
2.5.5 Versioning . 53
2.6 UPnP Service Template . 53
2.7 Non-standard vendor extensions and limitations . 53
2.7.1 Placement of Additional Elements and Attributes . 55
2.8 UPnP Device Schema . 55
2.9 UPnP Service Schema . 55
2.10 UPnP Datatype Schema . 55
2.11 Retrieving a description using HTTP . 55
XXXX: © IEC:2010 — 2 — 29341-1-1 © ISO/IEC:2011(E)
2.12 References . 59
3 Control . . 59
3.1 Control protocols . 62
3.1.1 SOAP Profile . 62
3.2 Actions . 65
3.2.1 Action invocation . 65
3.2.2 Action Response . 68
3.2.3 UPnP Action Schema . 70
3.2.4 Recommendations and additional requirements . 71
3.2.5 Action error response . 71
3.2.6 UPnP Error Schema . 74
3.3 Query for variable . 74
3.4 References . 75
4 Eventing . . 75
4.1 Unicast eventing . 75
4.1.1 Subscript i on . 77
4.1.2 SUBSCRIBE with NT and CALLBACK . 79
4.1.3 Renewing a subscription with SUBSCRIBE with SID . 81
4.1.4 Canceling a subscription with UNSUBSCRIBE . 82
4.2 Multicast Eventing . 84
4.3 Event messages . 85
4.3.1 Error Cases . 86
4.3.2 Unicast eventing: Event messages: NOTIFY . 86
4.3.3 Multicast Eventing: Event messages: NOTIFY . 89
4.4 UPnP Event Schema . 92
4.5 Augmenting the UPnP Device and Service Schemas . 92
4.6 References . 93
5 Presentation . 93
5.1 References . 94
Annex A (normative) IP Version 6 Support . 95
A.1 Introduction . 95
A.2 General Principles . 95
A.2.1 Device operation . 96
A.2.2 Control point operation . 96
A.3 Addressing . 96
A.3.1 Summary of boot/startup process . 96
A.3.2 Short overview of protocol specified by RFC 2462 . 97
A.4 Discovery . 97
A.4.1 Advert is ement . 98
A.4.2 Advertisement: Device unavailable . 98
A.4.3 Advertisement: Device update . 99
A.4.4 Search . 99
A.4.5 Search response . 99
A.5 Description . 100
A.6 Control . 100
A.7 Eventing . 100
A.8 Presentation . 100
A.9 References . 101
29341-1-1 XXXX: © IEC© ISO/IEC:2011(E):2010 — 3 —
Annex B (informative) Schemas . 102
B.1 UPnP Device Schema . 102
B.2 UPnP Service Schema . 106
B.3 UPnP Control Schema . 110
B.4 UPnP Error Schema . 111
B.5 UPnP Event Schema . 112
B.6 Schema references . 113
Figure 1: — Protocol stack . 5
Figure
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.