datatracker.ietf.org
Sign in
Version 5.7.1.p2, 2014-10-29
Report a bug

CoAP Option Extension: Patience
draft-li-core-coap-patience-option-05

Document type: Active Internet-Draft (individual)
Document stream: No stream defined
Last updated: 2014-10-24
Intended RFC status: Unknown
Other versions: plain text, xml, pdf, html

Stream State:No stream defined
Document shepherd: No shepherd assigned

IESG State: I-D Exists
Responsible AD: (None)
Send notices to: No addresses provided

core                                                               K. Li
Internet-Draft                                           B. Greevenbosch
Intended status: Standards Track                     Huawei Technologies
Expires: April 27, 2015                                          E. Dijk
                                                        Philips Research
                                                               S. Loreto
                                                                Ericsson
                                                        October 24, 2014

                    CoAP Option Extension: Patience
                 draft-li-core-coap-patience-option-05

Abstract

   CoAP is a RESTful application protocol for constrained nodes and
   networks.  This specification provides a simple extension for CoAP,
   the Patience option.  This option is used by a CoAP client to
   indicate the maximum time a client is prepared to wait for a
   response.  The CoAP server should try to return the response within
   the specified time frame.

Note

   Discussion and suggestions for improvement are requested, and should
   be sent to core@ietf.org.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on April 27, 2015.

Li, et al.               Expires April 27, 2015                 [Page 1]
Internet-Draft            CoAP Patience Option              October 2014

Copyright Notice

   Copyright (c) 2014 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Justification . . . . . . . . . . . . . . . . . . . . . .   2
     1.2.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Patience Option Extension . . . . . . . . . . . . . . . . . .   3
     2.1.  Patience Option Definition  . . . . . . . . . . . . . . .   3
     2.2.  Using the Patience Option . . . . . . . . . . . . . . . .   3
   3.  Example . . . . . . . . . . . . . . . . . . . . . . . . . . .   4
   4.  Security Considerations . . . . . . . . . . . . . . . . . . .   5
   5.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   5
   6.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   5
   7.  Normative References  . . . . . . . . . . . . . . . . . . . .   5
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .   6

1.  Introduction

   This specification adds a new Patience option to CoAP [RFC7252].  The
   main purpose is for the client to inform the server of the preferred
   time frame for a response.  It is used in a request to indicate the
   client patience in waiting for a response.  It then indicates "a
   response is most useful within the specified time frame".

1.1.  Justification

   It can be useful for the client to indicate that the response is
   required to be returned within a certain amount of time.  For
   example, the client could require a response within 2 seconds,
   otherwise the response is not of interest anymore.  With this
   indication of the patience for a response, the client knows how long
   it should wait for the response, and it needs to keep the state of
   the request only for the indicated time.  After this period, the
   request will be given up.  It can avoid that the server wastes

Li, et al.               Expires April 27, 2015                 [Page 2]
Internet-Draft            CoAP Patience Option              October 2014

   resources by sending a response which already exceeds the set

[include full document text]