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

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Last updated 2015-10-19
Replaces draft-koster-core-coapmq
Replaced by draft-ietf-core-coap-pubsub
Stream (None)
Intended RFC status (None)
Formats plain text 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)
Network Working Group                                          M. Koster
Internet-Draft                                               ARM Limited
Intended status: Standards Track                              A. Keranen
Expires: April 21, 2016                                       J. Jimenez
                                                                Ericsson
                                                        October 19, 2015

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

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 April 21, 2016.

Copyright Notice

   Copyright (c) 2015 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 April 21, 2016                 [Page 1]
Internet-Draft      Publish-Subscribe Broker for CoAP       October 2015

   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 pub/sub Architecture . . . . . . . . . . . . . . . .   4
     3.2.  CoAP pub/sub Broker . . . . . . . . . . . . . . . . . . .   4
     3.3.  CoAP pub/sub Client . . . . . . . . . . . . . . . . . . .   5
     3.4.  CoAP pub/sub Topic  . . . . . . . . . . . . . . . . . . .   5
   4.  CoAP pub/sub Function Set . . . . . . . . . . . . . . . . . .   5
     4.1.  DISCOVER  . . . . . . . . . . . . . . . . . . . . . . . .   5
     4.2.  CREATE  . . . . . . . . . . . . . . . . . . . . . . . . .   6
     4.3.  PUBLISH . . . . . . . . . . . . . . . . . . . . . . . . .   8
     4.4.  SUBSCRIBE . . . . . . . . . . . . . . . . . . . . . . . .   9
     4.5.  UNSUBSCRIBE . . . . . . . . . . . . . . . . . . . . . . .  11
     4.6.  READ  . . . . . . . . . . . . . . . . . . . . . . . . . .  12
     4.7.  REMOVE  . . . . . . . . . . . . . . . . . . . . . . . . .  14
   5.  CoAP pub/sub Operation with Resource Directory  . . . . . . .  15
   6.  Sleep-Wake Operation  . . . . . . . . . . . . . . . . . . . .  15
   7.  Simple Flow Control . . . . . . . . . . . . . . . . . . . . .  16
   8.  Security Considerations . . . . . . . . . . . . . . . . . . .  16
   9.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  17
     9.1.  Resource Type value 'core.ps' . . . . . . . . . . . . . .  17
     9.2.  Response Code value '2.04'  . . . . . . . . . . . . . . .  17
     9.3.  Response Code value '4.29'  . . . . . . . . . . . . . . .  18
   10. Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  18
   11. References  . . . . . . . . . . . . . . . . . . . . . . . . .  18
     11.1.  Normative References . . . . . . . . . . . . . . . . . .  18
     11.2.  Informative References . . . . . . . . . . . . . . . . .  19
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  19

1.  Introduction

   The Constrained Application Protocol (CoAP) [RFC7252] supports
   machine-to-machine communication across networks of constrained
   devices.  CoAP uses a request/response model where clients make
   requests to servers in order to request actions on resources.
   Depending on the situation the same device may act either as a server
   or a client.
Show full document text