SenML Features and Versions
draft-ietf-core-senml-versions-01

Document Type Active Internet-Draft (core WG)
Author Carsten Bormann 
Last updated 2020-11-15
Replaces draft-bormann-core-senml-versions
Stream IETF
Intended RFC status (None)
Formats plain text html 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)
Network Working Group                                         C. Bormann
Internet-Draft                                   Universitaet Bremen TZI
Updates: 8428 (if approved)                             15 November 2020
Intended status: Standards Track                                        
Expires: 19 May 2021

                      SenML Features and Versions
                   draft-ietf-core-senml-versions-01

Abstract

   This short document updates RFC 8428, Sensor Measurement Lists
   (SenML), by specifying the use of independently selectable "SenML
   Features" and mapping them to SenML version numbers.

Discussion Venues

   This note is to be removed before publishing as an RFC.

   Discussion of this document takes place on the CORE Working Group
   mailing list (core@ietf.org), which is archived at
   https://mailarchive.ietf.org/arch/browse/core/
   (https://mailarchive.ietf.org/arch/browse/core/).

   Source for this draft and an issue tracker can be found at
   https://github.com/core-wg/senml-versions (https://github.com/core-
   wg/senml-versions).

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 19 May 2021.

Bormann                    Expires 19 May 2021                  [Page 1]
Internet-Draft         SenML Features and Versions         November 2020

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 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
   2.  Feature Codes and the Version number  . . . . . . . . . . . .   3
   3.  Features: Reserved0, Reserved1, Reserved2, Reserved3  . . . .   3
   4.  Feature: Secondary Units  . . . . . . . . . . . . . . . . . .   3
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .   4
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   4
   7.  Normative References  . . . . . . . . . . . . . . . . . . . .   5
   Acknowledgements  . . . . . . . . . . . . . . . . . . . . . . . .   5
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .   5

1.  Introduction

   The Sensor Measurement Lists (SenML) specification [RFC8428] provides
   a version number that is initially set to 10, without further
   specification on the way to make use of different version numbers.

   The traditional idea of using a version number for evolving an
   interchange format presupposes a linear progression of that format.
   A more likely form of evolution of SenML is the addition of
   independently selectable "features" that can be added to the base
   version (version 10) in a fashion that these are mostly independent
   of each other.  A recipient of a SenML pack can check the features it
   implements against those required by the pack, processing the pack
   only if all required features are provided in the implementation.

   This short document specifies the use of SenML Features and maps them
   to SenML version number space, updating [RFC8428].

Bormann                    Expires 19 May 2021                  [Page 2]
Internet-Draft         SenML Features and Versions         November 2020

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
   "OPTIONAL" in this document are to be interpreted as described in
   BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all
   capitals, as shown here.

   Where bit arithmetic is explained, this document uses the notation
   familiar from the programming language C [C], except that superscript
   notation (example for two to the power of 64: 2^(64)) denotes
   exponentiation; in the plain text version of this draft, superscript
   notation is rendered by C-incompatible surrogate notation as seen in
Show full document text