SwitchPower:1 Service Template Version 1.02

Similar documents
UPnP FanSpeed:1 Service Template Version 1.01 For UPnP Device Architecture 1.0

TwoWayMotionMotor:1 Service Template Version 1.01

ControlValve:1 Service Template

HVAC_FanOperatingMode:1 Service Template

QosPolicyHolder 1.0. For UPnP Version Date: March 10th, 2005

WANPOTSLinkConfig:1 Service Template Version 1.01

LANHostConfigManagement:1 Service Template Version 1.01

DigitalSecurityCameraMotionImage:1 Service Template Version 1.01

Feeder:1.0 Service Template Version 1.01

UPnP QosPolicyHolder:2 Service Template Version 1.01

DimmableLight:1 Device Template Version 1.01

WANDSLLinkConfig:1 Service Template Version 1.01

Basic:1.0 Device Definition Version 1.0

InboundConnectionConfig:1 Service

HVAC_ZoneThermostat:1 Device Template

Scanner:1.0 Device Template Version 1.01

RemoteUIClientDevice:1 Device Template Version 1.01

IoT Management and ControlTransportGeneric Service. For UPnP Version 1.0. Status: Standardized DCP (SDCP) Date: July 1, Document Version: 1.

Calendar:1 Service. For UPnP Version 1.0. Status: Standardized DCP (SDCP) Date: December 10, Document Version: 1.0

ManageableDevice:1 Device Template Version 1.01

RemoteUIClient:1 Service Template Version 1.01

UPnP QosPolicyHolder:3 Service Template Version 1.01

CIPA DCG-X006-Translation-2011

TelephonyClient:1 Device

RADASync:2 Service. For UPnP Version 1.0 Status: Standardized DCP Date: April 30, 2010 Document Version: 1.0 Service Template Version: 2.

MediaManagement:1 Service

WANConnectionDevice:1 Device Template Version 1.01

QosManager:1. For UPnP Version 1.0 Date: March 10th, 2005

Presence:1 Service. For UPnP Version 1.0. Status: Standardized DCP (SDCP) Date: December 10, Document Version: 1.0

UPnP QosManager:2 Service Template Version 1.01

WANIPConnection:1 Service Template Version 1.01

ManageableDevice:2 Device Template Version 1.01

ETSI TS V1.3.0 ( )

Qt BRisa Documentation

TelephonyArchitecture:1

TelephonyArchitecture:2. For UPnP Version 1.0. Status: Standardized DCP (SDCP) Date: December 10, Document Version: 1.0

Jini Meets UPnP: An Architecture for Jini/UPnP Interoperability

ContentSync:1 Service Template Version 1.01

EnergyManagement:1 Service

Jini Meets UPnP: An Architecture for Jini/UPnP Interoperability

QosPolicyHolder:1 Erratum

Dynamically Updatable UPnP Service for Device Role Management

SDLC INTELLECTUAL PROPERTY POLICY

Let s talk about SOAP, baby. Let s talk about UPnP. Ricky HeadlessZeke Lawshae Ruxcon 2014

Hierarchical Data Extension UUID For _DSD

Network Working Group Request for Comments: 5138 Category: Informational February 2008

Network Working Group. Category: Informational April A Uniform Resource Name (URN) Namespace for the Open Geospatial Consortium (OGC)

Intel Authoring Tools for UPnP* Technologies

UPnP Certification Overview

UPnP Device Certification Process Document

IEEE-SA Conformity Assessment Program for IEEE 1588 in Mobile Networks AUTHORS:

Scan:1.0 Service Template Version 1.01

UPnP AV Architecture:1

INTERNATIONAL STANDARD

OIX DDP. Open-IX Document Development Process draft July 2017

IBM Managed Security Services for X-Force Hosted Threat Analysis Service

INTERNATIONAL STANDARD

Alma Mater Studiorum University of Bologna CdS Laurea Magistrale (MSc) in Computer Science Engineering

Summary of Changes between UPnP Device Architecture V1.0 (June 2000) and V1.0.1 (May 2003)

MIPI DigRF 3G and MIPI DigRF v4 Solutions in Action

SysML Past, Present, and Future. J.D. Baker Sparx Systems Ambassador Sparx Systems Pty Ltd

BasicManagement:1 Service Template Version 1.01 For UPnP Version 1.0 Status: Standardized DCP (SDCP) Date: July 20, 2010

Clean File Metadata Exchange Overview

Copyright 2002, 2003 by the Web Services-Interoperability Organization. All rights reserved.

HTNG Web Services Product Specification. Version 2011A

API Common Exceptions and Tips for Handling

SMOA Computing HPC Basic Profile adoption Experience Report

IETF TRUST. Legal Provisions Relating to IETF Documents. Approved November 6, Effective Date: November 10, 2008

NICC ND 1636 V1.1.1 ( )

TCG. TCG Certification Program. TNC Certification Program Suite. Document Version 1.1 Revision 1 26 September 2011

IETF TRUST. Legal Provisions Relating to IETF Documents. February 12, Effective Date: February 15, 2009

NAFEM Data Protocol Standard

AVTransport:1 Service Template Version 1.01

EPFL S. Willmott UPC September 2003

TCG Physical Security Interoperability Alliance IP Video Use Case 002 (PSI-UC-IPV002) Specification Version 1.0 Revision 0.2

ETSI TS V1.3.0 ( )

General Terms & Conditions (GTC)

UPnP Design by Example

Network Working Group. Obsoletes: draft-ietf-dhc-new-opt-msg-00.txt June 2000 Expires December 2000

Formats Professional Audio Ethernet AVB Functional and Interoperability Specification

Tivoli Policy Director for MQSeries Version 3.8. GuidetoGlobalSecurityToolkit(GSKIT) Messages 3.8 GC

Synchronization Agent Configuration Guide

The MEG Metadata Schemas Registry Schemas and Ontologies: building a Semantic Infrastructure for GRIDs and digital libraries Edinburgh, 16 May 2003

TERMS & CONDITIONS. Complied with GDPR rules and regulation CONDITIONS OF USE PROPRIETARY RIGHTS AND ACCEPTABLE USE OF CONTENT

ATIS PROCEDURES FOR CHANGE IN E.164 COUNTRY CODE ASSIGNMENTS

Building Low Power, Modular Systems with Silicon-Proven IP Solutions

UPNP AV ARCHITECTURE - GENERIC INTERFACE DESIGN AND JAVA IMPLEMENTATION

Alma Mater Studiorum University of Bologna CdS Laurea Magistrale (MSc) in Computer Science Engineering

Alma Mater Studiorum University of Bologna CdS Laurea Magistrale (MSc) in Computer Science Engineering

Certification Test Plan SSRF Conformance for OpenSSRF Software v Document WINNF-14-S-0023

ConnectionManager:2 Service Template Version 1.01

Ecma International Policy on Submission, Inclusion and Licensing of Software

License, Rules, and Application Form

Aimetis Symphony Mobile Bridge. 2.7 Installation Guide

Getting Started with MTConnect: Architecture

ONVIF Imaging Test Specification

DITA 1.3 Feature Article: Using DITA 1.3 Troubleshooting

CA4003 Compiler Construction Assignment Language Definition

ConfigurationManagement:2 Service Template Version 1.01

CA IdentityMinder. Glossary

Transcription:

SwitchPower:1 Service Template Version 1.02 For UPnP Version 1.0 Status: Standardized DCP Date: May 1, 2011 This Standardized DCP has been adopted as a Standardized DCP by the Steering Committee of the UPnP Forum, pursuant to Section 2.1(c)(ii) of the UPnP Forum Membership Agreement. UPnP Forum Members have rights and licenses defined by Section 3 of the UPnP Forum Membership Agreement to use and reproduce the Standardized DCP in UPnP Compliant Devices. All such use is subject to all of the provisions of the UPnP Forum Membership Agreement. THE UPNP FORUM TAKES NO POSITION AS TO WHETHER ANY INTELLECTUAL PROPERTY RIGHTS EXIST IN THE STANDARDIZED DCPS. THE STANDARDIZED DCPS ARE PROVIDED "AS IS" AND "WITH ALL FAULTS". THE UPNP FORUM MAKES NO WARRANTIES, EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO THE STANDARDIZED DCPS, INCLUDING BUT NOT LIMITED TO ALL IMPLIED WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE, OF REASONABLE CARE OR WORKMANLIKE EFFORT, OR RESULTS OR OF LACK OF NEGLIGENCE. Authors Richard Hasha Scott Manchester Jeffrey Schlimmer Hans J. Langels Company Microsoft Panja Microsoft Siemens

SwitchPower:1 Service Template Version 1.02 2 Contents 1. OVERVIEW AND SCOPE... 3 2. SERVICE MODELING DEFINITIONS... 4 2.1. SERVICETYPE... 4 2.2. STATE VARIABLES... 4 2.2.1. Target... 4 2.2.2. Status... 4 2.3. EVENTING AND MODERATION... 5 2.4. ACTIONS... 5 2.4.1. SetTarget... 5 2.4.2. GetTarget... 6 2.4.3. GetStatus... 6 2.4.4. Non-Standard Actions Implemented by a UPnP Vendor... 7 2.4.5. Common Error Codes... 7 2.5. THEORY OF OPERATION... 8 3. XML SERVICE DESCRIPTION... 9 4. TEST... 11 List of Tables Table 2-1: State Variables... 4 Table 2-2: Event Moderation... 5 Table 2-3: Actions... 5 Table 2-4: Arguments for SetTarget... 5 Table 2-5: Error Codes for SetTarget... 6 Table 2-6: Arguments for GetTarget... 6 Table 2-7: Error Codes for GetTarget... 6 Table 2-8: Arguments for GetStatus... 6 Table 2-9: Error Codes for GetStatus... 7 Table 2-10: Common Error Codes... 7

SwitchPower:1 Service Template Version 1.02 3 1. Overview and Scope This service definition is compliant with the UPnP Device Architecture version 1.0 and Version 1.01 of the UPnP Standard Service Template. This service-type enables the following functions: basic power switching for embedding devices. This service template does not address: It is assumed that implementations of this service will not disable themselves as a side effect of driving their output load to a disabled state. 1.1. Change Log Spec Version - Date Changes from Previous Version v1-20031123 Initial version v1-20110501 Fixed naming of SetTarget argument (newtargetvalue) with lower case starting letter

SwitchPower:1 Service Template Version 1.02 4 2. Service Modeling Definitions 2.1. ServiceType The following service type identifies a service that is compliant with this template: urn:schemas-upnp-org:service:switchpower:1. 2.2. State Variables Table 2-1: State Variables Variable Name Req. or Opt. 1 Data Type Allowed Value 2 Default Value 2 Eng. Units Target R Boolean 0 Status R Boolean 0 Non-standard state variables implemented by an UPnP vendor go here. 1 R = Required, O = Optional, X = Non-standard. X TBD TBD TBD TBD 2 Values listed in this column are required. To specify standard optional values or to delegate assignment of values to the vendor, you must reference a specific instance of an appropriate table below. 2.2.1. Target Set to 0 to request a power-off state or to 1 to request a power-on state. 2.2.2. Status This reflects the actual state of the power control output state. This value will typically follow the requested state changes to Target but may be different because of delays within the actual implementation or because of a hard failure. Simple implementations can implement the constant function: Status = Target.

SwitchPower:1 Service Template Version 1.02 5 2.3. Eventing and Moderation Table 2-2: Event Moderation Variable Name Evented Moderated Event Max Event Rate 1 Target No n/a n/a Logical Combination Min Delta per Event 2 Status Yes No None None Non-standard state variables implemented by an UPnP vendor go here. 1 Determined by N, where Rate = (Event)/(N secs). 2 (N) * (allowedvaluerange Step). TBD TBD TBD TBD TBD 2.4. Actions Immediately following this table is detailed information about these actions, including short descriptions of the actions, the effects of the actions on state variables, and error codes defined by the actions. Table 2-3: Actions Name Req. or Opt. 1 SetTarget GetTarget GetStatus Non-standard actions implemented by an UPnP vendor go here. 1 R = Required, O = Optional, X = Non-standard. R R R X 2.4.1. SetTarget 2.4.1.1. Arguments Table 2-4: Arguments for SetTarget Argument Direction relatedstatevariable newtargetvalue IN Target 2.4.1.2. Effect on State (if any) Requests the Power Switch Service instance output to be driven to the state indicated by newtargetvalue.

SwitchPower:1 Service Template Version 1.02 6 2.4.1.3. Errors Table 2-5: Error Codes for SetTarget ErrorCode errordescription Description 401 Invalid Action See UPnP Device Architecture Section on Control. 402 Invalid Args See UPnP Device Architecture Section on Control. 403 Out of Synch See UPnP Device Architecture Section on Control. 501 Action Failed See UPnP Device Architecture Section on Control. 600-699 TBD Common action errors. Defined by the UPnP Forum Technical Committee. 2.4.2. GetTarget Provided for testing and debugging purposes. 2.4.2.1. Arguments Table 2-6: Arguments for GetTarget Argument Direction relatedstatevariable RetTargetValue OUT Target 2.4.2.2. Effect on State (if any) None. Requests the Power Switch Service instance to return the value of Target. 2.4.2.3. Errors Table 2-7: Error Codes for GetTarget ErrorCode errordescription Description 401 Invalid Action See UPnP Device Architecture Section on Control. 402 Invalid Args See UPnP Device Architecture Section on Control. 403 Out of Synch See UPnP Device Architecture Section on Control. 501 Action Failed See UPnP Device Architecture Section on Control. 600-699 TBD Common action errors. Defined by the UPnP Forum Technical Committee. 2.4.3. GetStatus 2.4.3.1. Arguments Table 2-8: Arguments for GetStatus

SwitchPower:1 Service Template Version 1.02 7 Argument Direction relatedstatevariable ResultStatus OUT Status 2.4.3.2. Effect on State None. Requests the Power Switch Service instance to return the value of Status. 2.4.3.3. Errors Table 2-9: Error Codes for GetStatus ErrorCode ErrorDescriptio n Description 401 Invalid Action See UPnP Device Architecture Section on Control. 402 Invalid Args See UPnP Device Architecture Section on Control. 403 Out of Synch See UPnP Device Architecture Section on Control. 501 Action Failed See UPnP Device Architecture Section on Control. 600-699 TBD Common action errors. Defined by the UPnP Forum Technical Committee. 2.4.4. Non-Standard Actions Implemented by a UPnP Vendor To facilitate certification, non-standard actions implemented by UPnP vendors should be included in this service template. The UPnP Device Architecture lists naming requirements for non-standard actions (see the section on Description). 2.4.5. Common Error Codes The following table lists error codes common to actions for this service type. If an action results in multiple errors, the most specific error must be returned. Table 2-10: Common Error Codes errorcode errordescription Description 401 Invalid Action See UPnP Device Architecture section on Control. 402 Invalid Args See UPnP Device Architecture section on Control. 404 Invalid Var See UPnP Device Architecture section on Control. 501 Action Failed See UPnP Device Architecture section on Control. 600-699 TBD Common action errors. Defined by UPnP Forum Technical Committee. 701-799 Common action errors defined by the UPnP Forum working committees.

SwitchPower:1 Service Template Version 1.02 8 errorcode errordescription Description 800-899 TBD (Specified by UPnP vendor.) 2.5. Theory of Operation Instances of Power Switch Services are embedded into devices to provide a standard means of programmatic control over these embedding devices powered-on (enabled/disabled) state, this being either on (1) or off (0). This service model provides for situations where requested state changes may not result in actual one-forone output state changes, reflected via the Status variable, for any number of reasons. For example if there are time delays involved or maybe the requested state can t be achieved because of a hardware failure. In the simplest of cases the output state (Status) will always follow the requested state changes submitted via SetTarget. There is also the situation where the Status variable could change state without any programmatic action against this model at all. For example, this could happen if there was a front-panel power control that was changed by a user.

SwitchPower:1 Service Template Version 1.02 9 3. XML Service Description <?xml version="1.0"?> <scpd xmlns="urn:schemas-upnp-org:service-1-0"> <specversion> <major>1</major> <minor>0</minor> </specversion> <actionlist> <action> <name>settarget</name> <argumentlist> <argument> <name>newtargetvalue</name> <relatedstatevariable>target</relatedstatevariable> <direction>in</direction> </argument> </argumentlist> </action> <action> <name>gettarget</name> <argumentlist> <argument> <name>rettargetvalue</name> <relatedstatevariable>target</relatedstatevariable> <direction>out</direction> </argument> </argumentlist> </action> <action> <name>getstatus</name> <argumentlist> <argument> <name>resultstatus</name> <relatedstatevariable>status</relatedstatevariable> <direction>out</direction> </argument> </argumentlist> </action> Declarations for other actions added by UPnP vendor (if any) go here </actionlist> <servicestatetable> <statevariable sendevents="no"> <name>target</name> <datatype>boolean</datatype> <defaultvalue>0</defaultvalue> </statevariable> <statevariable sendevents="yes"> <name>status</name> <datatype>boolean</datatype> <defaultvalue>0</defaultvalue> </statevariable> Declarations for other state variables added by UPnP vendor (if any) go here </servicestatetable>

SwitchPower:1 Service Template Version 1.02 10 </scpd>

SwitchPower:1 Service Template Version 1.02 11 4. Test Syntactical testing is performed by the UPnP test tool based on the XML description as provided in Section 3. The working committee and the implementers have come to the conclusion that further test descriptions e.g. for semantical testing do not provide a higher level of interoperability. Thus the XML description is deemed to be sufficient for testing of devices that implement this template and further test descriptions are not provided by this template.