Miscellaneous additions to CoAP
draft-bormann-coap-misc-22

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Last updated 2012-12-06
Stream (None)
Intended RFC status (None)
Formats plain text pdf html
Stream Stream state (No stream defined)
Document shepherd None
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
CoRE Working Group                                            C. Bormann
Internet-Draft                                                 K. Hartke
Intended status: Informational                   Universitaet Bremen TZI
Expires: June 9, 2013                                  December 06, 2012

                    Miscellaneous additions to CoAP
                       draft-bormann-coap-misc-22

Abstract

   This short I-D makes a number of partially interrelated proposals how
   to solve certain problems in the CoRE WG's main protocol, the
   Constrained Application Protocol (CoAP).  The current version has
   been resubmitted to keep information about these proposals available;
   the proposals are not all fleshed out at this point in time.

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 June 9, 2013.

Copyright Notice

   Copyright (c) 2012 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.

Bormann & Hartke          Expires June 9, 2013                  [Page 1]
Internet-Draft                  CoAP-misc                  December 2012

Table of Contents

   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  4
   2.  Observing Resources in CoAP  . . . . . . . . . . . . . . . . .  5
   3.  The Base-Uri Option  . . . . . . . . . . . . . . . . . . . . .  8
   4.  Acknowledgements . . . . . . . . . . . . . . . . . . . . . . .  9
   5.  References . . . . . . . . . . . . . . . . . . . . . . . . . . 10
     5.1.  Normative References . . . . . . . . . . . . . . . . . . . 10
     5.2.  Informative References . . . . . . . . . . . . . . . . . . 11
   Appendix A.  The Nursery (Things that still need to ripen a
                bit)  . . . . . . . . . . . . . . . . . . . . . . . . 12
     A.1.  Envelope Options . . . . . . . . . . . . . . . . . . . . . 12
     A.2.  Payload-Length Option  . . . . . . . . . . . . . . . . . . 13
     A.3.  URI Authorities with Binary Adresses . . . . . . . . . . . 13
     A.4.  Length-aware number encoding (o256)  . . . . . . . . . . . 14
     A.5.  SMS encoding . . . . . . . . . . . . . . . . . . . . . . . 16
       A.5.1.  ASCII-optimized SMS encoding . . . . . . . . . . . . . 17
     A.6.  CONNECT  . . . . . . . . . . . . . . . . . . . . . . . . . 19
       A.6.1.  Requesting a Tunnel with CONNECT . . . . . . . . . . . 20
       A.6.2.  Using a CONNECT Tunnel . . . . . . . . . . . . . . . . 20
       A.6.3.  Closing down a CONNECT Tunnel  . . . . . . . . . . . . 21
   Appendix B.  The Museum (Things we did, but maybe not exactly
                this way) . . . . . . . . . . . . . . . . . . . . . . 22
     B.1.  Getting rid of artificial limitations  . . . . . . . . . . 22
       B.1.1.  Beyond 270 bytes in a single option  . . . . . . . . . 22
       B.1.2.  Beyond 15 options  . . . . . . . . . . . . . . . . . . 23
       B.1.3.  Implementing the option delimiter for 15 or more
               options  . . . . . . . . . . . . . . . . . . . . . . . 26
       B.1.4.  Option Length encoding beyond 270 bytes  . . . . . . . 27
     B.2.  Registered Option  . . . . . . . . . . . . . . . . . . . . 30
       B.2.1.  A Separate Suboption Number Space  . . . . . . . . . . 30
       B.2.2.  Opening Up the Option Number Space . . . . . . . . . . 31
     B.3.  Enabling Protocol Evolution  . . . . . . . . . . . . . . . 35
       B.3.1.  Potential new option number allocation . . . . . . . . 36
     B.4.  Patience, Leisure, and Pledge  . . . . . . . . . . . . . . 38
       B.4.1.  Patience . . . . . . . . . . . . . . . . . . . . . . . 38
       B.4.2.  Leisure  . . . . . . . . . . . . . . . . . . . . . . . 39
Show full document text