SenML Options
draft-groves-core-senml-options-00

Document Type Active Internet-Draft (individual)
Last updated 2017-03-09
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                                                   W. Yang
Intended status: Standards Track                                  Huawei
Expires: September 11, 2017                               March 10, 2017

                             SenML Options
                   draft-groves-core-senml-options-00

Abstract

   SenML [I-D.ietf-core-senml] defines an initial set of base and
   regular attributes which are tied to a particular version of SenML.
   SenML also allows the definition of additional attributes by
   extending the syntax with a new label.  Allowing the extension of
   attributes brings the problem of how do endpoints negotiate whether
   the new attribute can be used or not?  This document discusses the
   issue and proposes some potential solutions to this issue.

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 September 11, 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
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of

Groves & Yang          Expires September 11, 2017               [Page 1]
Internet-Draft                SenML Options                   March 2017

   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.  Solution space analysis . . . . . . . . . . . . . . . . . . .   3
     3.1.  Version Numbering . . . . . . . . . . . . . . . . . . . .   4
     3.2.  Mandatory / Optional Indication . . . . . . . . . . . . .   4
     3.3.  Options Mechanism . . . . . . . . . . . . . . . . . . . .   5
     3.4.  Media Type Definition and Parameters  . . . . . . . . . .   6
   4.  Solution Proposal . . . . . . . . . . . . . . . . . . . . . .   7
     4.1.  Accept Media Type Parameter (AMTP) Option . . . . . . . .   9
     4.2.  Content-Format Media-Type Parameter Option  . . . . . . .  10
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .  11
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  11
   7.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  11
   8.  Changelog . . . . . . . . . . . . . . . . . . . . . . . . . .  11
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  11
     9.1.  Normative References  . . . . . . . . . . . . . . . . . .  11
     9.2.  Informative References  . . . . . . . . . . . . . . . . .  12
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  13

1.  Introduction

   SenML [I-D.ietf-core-senml] defines an initial set of base and
   regular attributes which are tied to a particular version of SenML.
   SenML also allows the definition of additional attributes by
   extending the defined syntax with a new label.  Allowing the
   extension of attributes brings the problem of how do endpoints
   negotiate whether the new attribute can be used or not?

   For example: A CoAP client issues a GET that indicates support of
   SenML through the use of an CoAP Accept option.  A CoAP server
   supports the SenML attributes defined in [I-D.ietf-core-senml] and in
   addition supports the Base Time Offset (BTO)
   [I-D.groves-core-senml-bto] attribute.  The server responds using the
   BTO attribute.

Groves & Yang          Expires September 11, 2017               [Page 2]
Internet-Draft                SenML Options                   March 2017

   [ {"bn": "urn:dev:ow:10e2073a01080063",
Show full document text