Constrained Application Protocol (CoAP) Block-Wise Transfer Options for Faster Transmission
draft-ietf-core-new-block-02

Document Type Active Internet-Draft (core WG)
Authors Mohamed Boucadair  , Jon Shallow 
Last updated 2020-10-29
Replaces draft-bosh-core-new-block
Stream IETF
Intended RFC status (None)
Formats plain text xml pdf htmlized (tools) htmlized bibtex
Additional Resources
- Working Group Repo
- Mailing list discussion
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
CORE                                                        M. Boucadair
Internet-Draft                                                    Orange
Intended status: Standards Track                              J. Shallow
Expires: May 2, 2021                                    October 29, 2020

Constrained Application Protocol (CoAP) Block-Wise Transfer Options for
                          Faster Transmission
                      draft-ietf-core-new-block-02

Abstract

   This document specifies alternative Constrained Application Protocol
   (CoAP) Block-Wise transfer options: Q-Block1 and Q-Block2 Options.

   These options are similar to the CoAP Block1 and Block2 Options, not
   a replacement for them, but do enable faster transmission rates for
   large amounts of data with less packet interchanges as well as
   supporting faster recovery should any of the blocks get lost in
   transmission.

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 May 2, 2021.

Copyright Notice

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

Boucadair & Shallow        Expires May 2, 2021                  [Page 1]
Internet-Draft      Quick Block-Wise Transfer Options       October 2020

   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.  Existing CoAP Block-Wise Transfer Options . . . . . . . .   3
     1.2.  Alternative CoAP Block-Wise Transfer Options  . . . . . .   3
     1.3.  Updated CoAP Response Code (4.08) . . . . . . . . . . . .   4
     1.4.  Applicability Scope . . . . . . . . . . . . . . . . . . .   5
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   5
   3.  The Q-Block1 and Q-Block2 Options . . . . . . . . . . . . . .   6
     3.1.  Properties of Q-Block1 and Q-Block2 Options . . . . . . .   6
     3.2.  Structure of Q-Block1 and Q-Block2 Options  . . . . . . .   7
     3.3.  Using the Q-Block1 Option . . . . . . . . . . . . . . . .   8
     3.4.  Using the Q-Block2 Option . . . . . . . . . . . . . . . .   9
     3.5.  Working with Observe and Q-Block2 Options . . . . . . . .  11
     3.6.  Working with Size1 and Size2 Options  . . . . . . . . . .  11
     3.7.  Use of Q-Block1 and Q-Block2 Options Together . . . . . .  11
   4.  The Use of 4.08 (Request Entity Incomplete) Response Code . .  11
   5.  The Use of Tokens . . . . . . . . . . . . . . . . . . . . . .  13
   6.  Congestion Control  . . . . . . . . . . . . . . . . . . . . .  13
   7.  Caching Considerations  . . . . . . . . . . . . . . . . . . .  14
   8.  HTTP-Mapping Considerations . . . . . . . . . . . . . . . . .  15
   9.  Examples of Selective Block Recovery  . . . . . . . . . . . .  15
     9.1.  Q-Block1 Option: Non-Confirmable Example  . . . . . . . .  16
     9.2.  Q-Block2 Option: Non-Confirmable Example  . . . . . . . .  17
   10. IANA Considerations . . . . . . . . . . . . . . . . . . . . .  19
     10.1.  New CoAP Options . . . . . . . . . . . . . . . . . . . .  19
     10.2.  New Content Format . . . . . . . . . . . . . . . . . . .  20
   11. Security Considerations . . . . . . . . . . . . . . . . . . .  20
   12. Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  20
   13. References  . . . . . . . . . . . . . . . . . . . . . . . . .  20
     13.1.  Normative References . . . . . . . . . . . . . . . . . .  20
     13.2.  Informative References . . . . . . . . . . . . . . . . .  22
   Appendix A.  Examples with Confirmable Messages . . . . . . . . .  22
     A.1.  Q-Block1 Option . . . . . . . . . . . . . . . . . . . . .  22
     A.2.  Q-Block2 Option . . . . . . . . . . . . . . . . . . . . .  24
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  25

1.  Introduction

Show full document text