Introducing the Local Base Name in SenML
draft-tschofenig-core-senml-lbn-00

Document Type Active Internet-Draft (individual)
Last updated 2019-06-18
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)
CORE                                                       H. Tschofenig
Internet-Draft                                                  Arm Ltd.
Updates: 8428 (if approved)                                June 18, 2019
Intended status: Standards Track
Expires: December 20, 2019

                Introducing the Local Base Name in SenML
                   draft-tschofenig-core-senml-lbn-00

Abstract

   The Sensor Measurement Lists (SenML) specification defines a format
   for representing simple sensor measurements and device parameters.
   This specification defines a new label to relax the requirement for
   global identification of every measurement.

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 December 20, 2019.

Copyright Notice

   Copyright (c) 2019 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
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Tschofenig              Expires December 20, 2019               [Page 1]
Internet-Draft            SenML Local Base Name                June 2019

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   4
   3.  Local Base Name SenML Structure and Semantics . . . . . . . .   4
   4.  CDDL  . . . . . . . . . . . . . . . . . . . . . . . . . . . .   4
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .   4
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   4
   7.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   5
   8.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   5
     8.1.  Normative References  . . . . . . . . . . . . . . . . . .   5
     8.2.  Informative References  . . . . . . . . . . . . . . . . .   5
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .   6

1.  Introduction

   The Sensor Measurement Lists (SenML) specification, see RFC 8428
   [RFC8428], defines a format for representing simple sensor
   measurements and device parameters.

   Ideally, sensor readings used in the Internet of Things environment
   should be as small as possible.  For this reason the specification
   also defines an encoding of these sensor measurements and device
   parameters in CBOR (on top of other serialization formats).

   A design decision in SenML was, however, that each measurement
   transmitted over the network is self-contained and contains
   information that uniquely identifies and differentiates the sensor
   from all others - not only locally on the device but globally.

   This is accomplished by the combination of two fields, namely the
   'Name' and the 'Base Name' values.  The specification requires the
   concatenation of the Name and the Base Name values to yield the name
   of the sensor and recommends that the concatenated names be
   represented as URIs or URNs.

   Figure 1 is an example taken from RFC 8428.

 [
    {"bn":"urn:dev:ow:10e2073a01080063:","n":"temp","u":"Cel","v":23.1},
    {"n":"label","vs":"Machine Room"},
    {"n":"open","vb":false},
    {"n":"nfc-reader","vd":"aGkgCg"}
 ]

         Figure 1: SenML Example Measurement with Base Name value

Tschofenig              Expires December 20, 2019               [Page 2]
Internet-Draft            SenML Local Base Name                June 2019

   The global identification of every measurement as it is traveling
   through the network and through different systems has its use case
   and allows easy identification of the source and enables correlation.

   Unfortunately, it also has drawbacks:

   o  The unique identification of the sensor adds a substantial
      overhead, particularly when the sensor identification is verbose.
Show full document text