Re: [core] [SenML] Multiple values in a measurement

Christian Amsüss <christian@amsuess.com> Thu, 08 November 2018 07:18 UTC

Return-Path: <christian@amsuess.com>
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 B9EB5130DC2 for <core@ietfa.amsl.com>; Wed, 7 Nov 2018 23:18:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 NJha7aYJbPBP for <core@ietfa.amsl.com>; Wed, 7 Nov 2018 23:18:12 -0800 (PST)
Received: from prometheus.amsuess.com (prometheus.amsuess.com [5.9.147.112]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 892601294D7 for <core@ietf.org>; Wed, 7 Nov 2018 23:18:12 -0800 (PST)
Received: from poseidon-mailhub.amsuess.com (095129206250.cust.akis.net [95.129.206.250]) by prometheus.amsuess.com (Postfix) with ESMTPS id E889C41F27; Thu, 8 Nov 2018 08:18:06 +0100 (CET)
Received: from poseidon-mailbox.amsuess.com (unknown [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bf]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id 4F5696B; Thu, 8 Nov 2018 08:18:05 +0100 (CET)
Received: from hephaistos.amsuess.com (hephaistos.amsuess.com [IPv6:2a02:b18:c13b:8010::71b]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id EF7372E; Thu, 8 Nov 2018 08:18:04 +0100 (CET)
Received: (nullmailer pid 4708 invoked by uid 1000); Thu, 08 Nov 2018 07:18:04 -0000
Date: Thu, 8 Nov 2018 08:18:04 +0100
From: Christian =?iso-8859-1?Q?Ams=FCss?= <christian@amsuess.com>
To: Michael Koster <michaeljohnkoster@gmail.com>
Cc: Shantanoo Desai <des@biba.uni-bremen.de>, "fluffy@cisco.com" <fluffy@cisco.com>, "core@ietf.org" <core@ietf.org>
Message-ID: <20181108071803.GA4264@hephaistos.amsuess.com>
References: <3643AE5F1967B74C86F1D72E6EB108926367EB@EXCH1.biba.uni-bremen.de> <9315AE8F-0893-4587-8FF3-8EA43BF48D64@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Q68bSM7Ycu6FN28Q"
Content-Disposition: inline
In-Reply-To: <9315AE8F-0893-4587-8FF3-8EA43BF48D64@gmail.com>
User-Agent: Mutt/1.10.1 (2018-07-13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/qxdeVpdJqmlkib9-ep5SK6JmWLk>
Subject: Re: [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, 08 Nov 2018 07:18:15 -0000

On Wed, Nov 07, 2018 at 09:38:01AM -0800, Michael Koster wrote:
> Or as an IPSO Smart Object representationfor the accelerometer object type (3313):
> 
> [
>   {
>     "bn": "3313/0/",
>     "n": "5701",
>     "vs": "rad/s",
>   },

careful here: bn+n needs to be globally unique and can't rely on its
retrieval URI to disambiguate.

Best regards
Christian

-- 
To use raw power is to make yourself infinitely vulnerable to greater powers.
  -- Bene Gesserit axiom