Publish-Subscribe Broker for the Constrained Application Protocol (CoAP)
draft-ietf-core-coap-pubsub-02

Document Type Active Internet-Draft (core WG)
Last updated 2017-07-03
Replaces draft-koster-core-coap-pubsub
Stream IETF
Intended RFC status (None)
Formats plain text pdf html bibtex
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)
Network Working Group                                          M. Koster
Internet-Draft                                               SmartThings
Intended status: Standards Track                              A. Keranen
Expires: January 5, 2018                                      J. Jimenez
                                                                Ericsson
                                                            July 4, 2017

Publish-Subscribe Broker for the Constrained Application Protocol (CoAP)
                     draft-ietf-core-coap-pubsub-02

Abstract

   The Constrained Application Protocol (CoAP), and related extensions
   are intended to support machine-to-machine communication in systems
   where one or more nodes are resource constrained, in particular for
   low power wireless sensor networks.  This document defines a publish-
   subscribe broker for CoAP that extends the capabilities of CoAP for
   supporting nodes with long breaks in connectivity and/or up-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 January 5, 2018.

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
   to this document.  Code Components extracted from this document must

Koster, et al.           Expires January 5, 2018                [Page 1]
Internet-Draft      Publish-Subscribe Broker for CoAP          July 2017

   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
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  Architecture  . . . . . . . . . . . . . . . . . . . . . . . .   4
     3.1.  CoAP pubsub Architecture  . . . . . . . . . . . . . . . .   4
     3.2.  CoAP pubsub Broker  . . . . . . . . . . . . . . . . . . .   4
     3.3.  CoAP pubsub Client  . . . . . . . . . . . . . . . . . . .   5
     3.4.  CoAP pubsub Topic . . . . . . . . . . . . . . . . . . . .   5
     3.5.  Brokerless pubsub . . . . . . . . . . . . . . . . . . . .   5
   4.  CoAP pubsub REST API  . . . . . . . . . . . . . . . . . . . .   6
     4.1.  DISCOVERY . . . . . . . . . . . . . . . . . . . . . . . .   6
     4.2.  CREATE  . . . . . . . . . . . . . . . . . . . . . . . . .   8
     4.3.  PUBLISH . . . . . . . . . . . . . . . . . . . . . . . . .  10
     4.4.  SUBSCRIBE . . . . . . . . . . . . . . . . . . . . . . . .  13
     4.5.  UNSUBSCRIBE . . . . . . . . . . . . . . . . . . . . . . .  14
     4.6.  READ  . . . . . . . . . . . . . . . . . . . . . . . . . .  16
     4.7.  REMOVE  . . . . . . . . . . . . . . . . . . . . . . . . .  17
   5.  CoAP pubsub Operation with Resource Directory . . . . . . . .  18
   6.  Sleep-Wake Operation  . . . . . . . . . . . . . . . . . . . .  19
   7.  Simple Flow Control . . . . . . . . . . . . . . . . . . . . .  19
   8.  Security Considerations . . . . . . . . . . . . . . . . . . .  20
   9.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  21
     9.1.  Resource Type value 'core.ps' . . . . . . . . . . . . . .  21
     9.2.  Resource Type value 'core.ps.discover'  . . . . . . . . .  21
     9.3.  Response Code value '2.07'  . . . . . . . . . . . . . . .  21
     9.4.  Response Code value '4.29'  . . . . . . . . . . . . . . .  21
   10. Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  22
   11. References  . . . . . . . . . . . . . . . . . . . . . . . . .  22
     11.1.  Normative References . . . . . . . . . . . . . . . . . .  22
     11.2.  Informative References . . . . . . . . . . . . . . . . .  23
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  23

1.  Introduction
Show full document text