core K. Li
Internet-Draft B. Greevenbosch
Intended status: Standards Track Huawei Technologies
Expires: October 25, 2013 E. Dijk
Philips Research
S. Loreto
Ericsson
April 23, 2013
CoAP Option Extension: Patience
draft-li-core-coap-patience-option-02
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 informs a recipient of the
preferred time frame for a request or response depending on usage
context. In a unicast request, it indicates the patience a client
has in waiting for a response. The CoAP server tries to return the
response within the specified time frame. In a multicast request, it
indicates the patience a server should have in sending its response.
The recipient would then try to randomly delay its response within
the time frame that the requester indicated or computed by the
recipient itself. In a CoAP observe notification, it indicates the
patience an observer should have in both waiting for a subsequent
notification and in re-establishing an observation relation.
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."
Li, et al. Expires October 25, 2013 [Page 1]
Internet-Draft CoAP Patience Option April 2013
This Internet-Draft will expire on October 25, 2013.
Copyright Notice
Copyright (c) 2013 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 . . . . . . . . . . . . . . . . . . . . . . 3
1.2. Terminology . . . . . . . . . . . . . . . . . . . . . . . 4
2. Patience Option Extension . . . . . . . . . . . . . . . . . . 4
2.1. Patience Option Definition . . . . . . . . . . . . . . . 4
2.2. Using the Patience Option . . . . . . . . . . . . . . . . 4
2.2.1. Unicast usage . . . . . . . . . . . . . . . . . . . . 5
2.2.2. Multicast usage . . . . . . . . . . . . . . . . . . . 6
2.2.3. Observe usage . . . . . . . . . . . . . . . . . . . . 6
2.3. Detection of IP unicast or multicast CoAP request . . . . 7
3. Example . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.1. Unicast Usage Example . . . . . . . . . . . . . . . . . . 7
3.2. Observe Usage Example . . . . . . . . . . . . . . . . . . 8
4. Security Considerations . . . . . . . . . . . . . . . . . . . 9
5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 9
6. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 9
7. References . . . . . . . . . . . . . . . . . . . . . . . . . 9
7.1. Normative References . . . . . . . . . . . . . . . . . . 9
7.2. Informative References . . . . . . . . . . . . . . . . . 9
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 10
1. Introduction
This specification adds a new option Patience to CoAP