A WebRTC Data Channel Transport for the Constrained Application Protocol (CoAP)
draft-groves-coap-webrtcdc-02

Document Type Active Internet-Draft (individual)
Last updated 2017-04-19
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf html bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
CoRE Working Group                                             C. Groves
Internet-Draft
Intended status: Informational                                   W. Yang
Expires: October 21, 2017                                         Huawei
                                                          April 19, 2017

A WebRTC Data Channel Transport for the Constrained Application Protocol
                                 (CoAP)
                     draft-groves-coap-webrtcdc-02

Abstract

   The WebRTC framework defines a generic transport service allowing
   WEB-browsers and other endpoints to exchange generic data from peer
   to peer utilizing a Stream Control Transmission Protocol (SCTP)
   transport.  This service is known as Web Real Time Communication
   WebRTC data channels (WebRTC DC).  The use of WebRTC DCs for the
   Constrained Application Protocol (CoAP) allows WebRTC enabled devices
   to exchange CoAP data between peers in a secure reliable manner.

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 October 21, 2017.

Copyright Notice

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

Groves & Yang           Expires October 21, 2017                [Page 1]
Internet-Draft             CoAP over WebRTC DC                April 2017

   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.  Requirements Language . . . . . . . . . . . . . . . . . . . .   5
   3.  Constrained Application Protocol  . . . . . . . . . . . . . .   5
     3.1.  Message Model . . . . . . . . . . . . . . . . . . . . . .   5
     3.2.  Request Response Model  . . . . . . . . . . . . . . . . .   6
     3.3.  Intermediaries and Caching  . . . . . . . . . . . . . . .   7
     3.4.  Resource Discovery  . . . . . . . . . . . . . . . . . . .   7
     3.5.  Opening Handshake . . . . . . . . . . . . . . . . . . . .   7
     3.6.  Message Format  . . . . . . . . . . . . . . . . . . . . .   8
     3.7.  Option Format and Value . . . . . . . . . . . . . . . . .   9
   4.  Message Transmission  . . . . . . . . . . . . . . . . . . . .   9
     4.1.  Messages and Endpoints  . . . . . . . . . . . . . . . . .  10
     4.2.  Messages Transmitted Reliably . . . . . . . . . . . . . .  10
     4.3.  Messages Transmitted without Reliability  . . . . . . . .  11
     4.4.  Message Correlation . . . . . . . . . . . . . . . . . . .  11
     4.5.  Message Duplication . . . . . . . . . . . . . . . . . . .  11
     4.6.  Message Size  . . . . . . . . . . . . . . . . . . . . . .  11
     4.7.  Congestion Control  . . . . . . . . . . . . . . . . . . .  12
     4.8.  Transmission Parameters . . . . . . . . . . . . . . . . .  12
   5.  Request/Response Semantics  . . . . . . . . . . . . . . . . .  12
   6.  CoAP URI  . . . . . . . . . . . . . . . . . . . . . . . . . .  12
     6.1.  coaps+wr URI scheme . . . . . . . . . . . . . . . . . . .  13
   7.  Discovery . . . . . . . . . . . . . . . . . . . . . . . . . .  13
     7.1.  Service Discovery . . . . . . . . . . . . . . . . . . . .  13
     7.2.  Resource Discovery  . . . . . . . . . . . . . . . . . . .  14
   8.  Multicast CoAP  . . . . . . . . . . . . . . . . . . . . . . .  14
   9.  Securing CoAP . . . . . . . . . . . . . . . . . . . . . . . .  14
   10. Interworking  . . . . . . . . . . . . . . . . . . . . . . . .  14
   11. Security Considerations . . . . . . . . . . . . . . . . . . .  15
   12. IANA Considerations . . . . . . . . . . . . . . . . . . . . .  15
     12.1.  New WebRTC DC Protocol Value . . . . . . . . . . . . . .  15
     12.2.  Secure Service Name and Port Number Registration . . . .  16
Show full document text