LPWAN Static Context Header Compression (SCHC) for CoAP
draft-ietf-lpwan-coap-static-context-hc-04

Document Type Active Internet-Draft (lpwan WG)
Last updated 2018-07-02
Replaces draft-toutain-lpwan-coap-static-context-hc
Stream IETF
Intended RFC status Proposed Standard
Formats plain text xml pdf html bibtex
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Yes
Telechat date
Responsible AD (None)
Send notices to (None)
lpwan Working Group                                          A. Minaburo
Internet-Draft                                                    Acklio
Intended status: Informational                                L. Toutain
Expires: January 3, 2019          Institut MINES TELECOM; IMT Atlantique
                                                            R. Andreasen
                                             Universidad de Buenos Aires
                                                           July 02, 2018

        LPWAN Static Context Header Compression (SCHC) for CoAP
               draft-ietf-lpwan-coap-static-context-hc-04

Abstract

   This draft defines the way SCHC header compression can be applied to
   CoAP headers.  CoAP header structure differs from IPv6 and UDP
   protocols since the CoAP
   use a flexible header with a variable number of options themself of a
   variable length.  Another important difference is the asymmetry in
   the header format used in request and response messages.  Most of the
   compression mechanisms have been introduced in
   [I-D.ietf-lpwan-ipv6-static-context-hc], this document explains how
   to use the SCHC compression for CoAP.

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 https://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 January 3, 2019.

Copyright Notice

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

Minaburo, et al.         Expires January 3, 2019                [Page 1]
Internet-Draft           LPWAN CoAP compression                July 2018

   (https://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  . . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  SCHC Compression Process  . . . . . . . . . . . . . . . . . .   3
   3.  CoAP Compression with SCHC  . . . . . . . . . . . . . . . . .   4
   4.  Compression of CoAP header fields . . . . . . . . . . . . . .   6
     4.1.  CoAP version field  . . . . . . . . . . . . . . . . . . .   6
     4.2.  CoAP type field . . . . . . . . . . . . . . . . . . . . .   6
     4.3.  CoAP code field . . . . . . . . . . . . . . . . . . . . .   6
     4.4.  CoAP Message ID field . . . . . . . . . . . . . . . . . .   6
     4.5.  CoAP Token fields . . . . . . . . . . . . . . . . . . . .   7
   5.  CoAP options  . . . . . . . . . . . . . . . . . . . . . . . .   7
     5.1.  CoAP Content and Accept options.  . . . . . . . . . . . .   7
     5.2.  CoAP option Max-Age field, CoAP option Uri-Host and Uri-
           Port fields . . . . . . . . . . . . . . . . . . . . . . .   7
     5.3.  CoAP option Uri-Path and Uri-Query fields . . . . . . . .   8
       5.3.1.  Variable length Uri-Path and Uri-Query  . . . . . . .   8
       5.3.2.  Variable number of path or query elements . . . . . .   9
     5.4.  CoAP option Size1, Size2, Proxy-URI and Proxy-Scheme
           fields  . . . . . . . . . . . . . . . . . . . . . . . . .   9
     5.5.  CoAP option ETag, If-Match, If-None-Match, Location-Path
           and Location-Query fields . . . . . . . . . . . . . . . .   9
   6.  Other RFCs  . . . . . . . . . . . . . . . . . . . . . . . . .   9
     6.1.  Block . . . . . . . . . . . . . . . . . . . . . . . . . .   9
     6.2.  Observe . . . . . . . . . . . . . . . . . . . . . . . . .  10
     6.3.  No-Response . . . . . . . . . . . . . . . . . . . . . . .  10
     6.4.  Time Scale  . . . . . . . . . . . . . . . . . . . . . . .  10
     6.5.  OSCORE  . . . . . . . . . . . . . . . . . . . . . . . . .  10
   7.  Examples of CoAP header compression . . . . . . . . . . . . .  12
     7.1.  Mandatory header with CON message . . . . . . . . . . . .  12
     7.2.  Complete exchange . . . . . . . . . . . . . . . . . . . .  13
     7.3.  OSCORE Compression  . . . . . . . . . . . . . . . . . . .  14
     7.4.  Example OSCORE Compression  . . . . . . . . . . . . . . .  17
Show full document text