[core] [SenML] Multiple values in a measurement

Shantanoo Desai <des@biba.uni-bremen.de> Thu, 18 October 2018 08:38 UTC

Return-Path: <des@biba.uni-bremen.de>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A38CA12D4E7 for <core@ietfa.amsl.com>; Thu, 18 Oct 2018 01:38:00 -0700 (PDT)
X-Quarantine-ID: <cXMIB3z9sGQX>
X-Virus-Scanned: amavisd-new at amsl.com
X-Amavis-Alert: BANNED, message contains .wmf,image010.wmz
X-Spam-Flag: NO
X-Spam-Score: -3.643
X-Spam-Level:
X-Spam-Status: No, score=-3.643 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_IMAGE_RATIO_04=0.556, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cXMIB3z9sGQX for <core@ietfa.amsl.com>; Thu, 18 Oct 2018 01:37:56 -0700 (PDT)
Received: from miraculix.biba.uni-bremen.de (miraculix.biba.uni-bremen.de [134.102.96.29]) by ietfa.amsl.com (Postfix) with ESMTP id EAFC6130EA1 for <core@ietf.org>; Thu, 18 Oct 2018 01:37:55 -0700 (PDT)
Received: by miraculix.biba.uni-bremen.de (Postfix, from userid 109) id 40CFFF52; Thu, 18 Oct 2018 10:37:54 +0200 (CEST)
Received: from post.biba.uni-bremen.de (biba-exch.biba.uni-bremen.de [134.102.96.52]) by miraculix.biba.uni-bremen.de (Postfix) with ESMTP id D9A27EEF; Thu, 18 Oct 2018 10:37:53 +0200 (CEST)
Received: from EXCH1.biba.uni-bremen.de ([134.102.96.39]) by post.biba.uni-bremen.de with Microsoft SMTPSVC(6.0.3790.4675); Thu, 18 Oct 2018 10:37:53 +0200
Received: from EXCH1.biba.uni-bremen.de ([fe80::49d:dfe4:df5a:b372]) by EXCH1.biba.uni-bremen.de ([fe80::49d:dfe4:df5a:b372%11]) with mapi id 14.02.0387.000; Thu, 18 Oct 2018 10:37:47 +0200
From: Shantanoo Desai <des@biba.uni-bremen.de>
To: "core@ietf.org" <core@ietf.org>
CC: "fluffy@cisco.com" <fluffy@cisco.com>
Thread-Topic: [SenML] Multiple values in a measurement
Thread-Index: AdRmu1O0gVkxiXhNQCmF42kugckttw==
Date: Thu, 18 Oct 2018 08:35:58 +0000
Message-ID: <3643AE5F1967B74C86F1D72E6EB108926367EB@EXCH1.biba.uni-bremen.de>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [134.102.97.133]
Content-Type: multipart/related; boundary="_013_3643AE5F1967B74C86F1D72E6EB108926367EBEXCH1bibaunibreme_"; type="multipart/alternative"
MIME-Version: 1.0
X-OriginalArrivalTime: 18 Oct 2018 08:37:53.0564 (UTC) FILETIME=[DC8C95C0:01D466BD]
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/IOVe0gsrTvIYBfOpJZJ1uKPN1Cs>
X-Mailman-Approved-At: Thu, 18 Oct 2018 02:25:53 -0700
Subject: [core] [SenML] Multiple values in a measurement
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Oct 2018 08:57:26 -0000

Hello all,

In a practical scenario there are sensors that provide more than one values, for e.g., an Inertial Measurement Unit (IMU) will provide Euler Angles as Yaw, Pitch, Roll indicating orientation of the sensor node or an Accelerometer which measures linear acceleration in X, Y, Z directions.

Is there any schematic in SenML that would support multiple values?

>From my understanding there is none and most values are indicated by the field "v" as a single key:value pair in JSON.

[cid:image006.png@01D466CE.5ACC6DB0]

Even if I split the reading into three, there might not be clear distinction since "n" always remains the same (the sensor name is always "inertialmeasurement")

[cid:image007.png@01D466CE.5ACC6DB0]


Is there a way to inculcate such features into senML or is there a way around this that I have overlooked?



Mit freundlichen Grüßen

[BIBA_-_Logo_ohne_Schrift_13_x_5]
i. A. M.Sc. Shantanoo Desai
Wissenschaftlicher Mitarbeiter

BIBA - Bremer Institut für Produktion und Logistik GmbH

Informations- und kommunikationstechnische Anwendungen in der Produktion
Prof. Dr.-Ing. Klaus-Dieter Thoben

Raum 1390
Tel: +49 (0)421 218-50138
Handy: +49 162 6536 107
des@biba.uni-bremen.de<mailto:des@biba.uni-bremen.de>

[In-2C-28px-R]<https://www.linkedin.com/company/biba.uni-bremen.de> [apple-touch-icon-180x180] <https://www.researchgate.net/institution/BIBA-Bremer_Institut_fuer_Produktion_und_Logistik>   [FB-f-Logo__blue_29] <https://www.facebook.com/BIBA.Produktion.Logistik>   [YouTube-social-icon_red_48px] <http://www.youtube.com/channel/UCieF5Uq5Qix9XZAZuYhTQhg>

BIBA - Bremer Institut für Produktion und Logistik GmbH
Postanschrift: Postfach P.O.B. 33 05 60 · D-28335 Bremen / Germany
Geschäftssitz: Hochschulring 20 · D-28359 Bremen / Germany
USt-ID: DE814890109 Amtsgericht Bremen HRB 24505 HB
Tel: +49 (0)421/218-02  Fax: +49 (0)421/218-50031
E-Mail: info@biba.uni-bremen.de<mailto:info@biba.uni-bremen.de> · Internet: www.biba.uni-bremen.de<http://www.biba.uni-bremen.de/>
Geschäftsführer: Prof. Dr.-Ing. K.-D. Thoben, O. Simon