[lp-wan] lpwan-overview comments

Alper Yegin <alper.yegin@actility.com> Wed, 28 June 2017 07:05 UTC

Return-Path: <alper.yegin@actility.com>
X-Original-To: lp-wan@ietfa.amsl.com
Delivered-To: lp-wan@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9EFAC12EAAB for <lp-wan@ietfa.amsl.com>; Wed, 28 Jun 2017 00:05:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=actility.com
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 B3Mf63em66gx for <lp-wan@ietfa.amsl.com>; Wed, 28 Jun 2017 00:05:55 -0700 (PDT)
Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2B81812EA55 for <lp-wan@ietf.org>; Wed, 28 Jun 2017 00:05:55 -0700 (PDT)
Received: by mail-wm0-x230.google.com with SMTP id w126so43974099wme.0 for <lp-wan@ietf.org>; Wed, 28 Jun 2017 00:05:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=actility.com; s=google; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=zQRQs3QcCfxMpX7DVRxkBTHz+i5wCKiC6malW7ic7Vc=; b=JvNCTyQ7BpWF9Rzj3oKW+UIvNktdUBsCfzPBxPGiibOO9aJzI94syJG6oNN7nuyb3Y DBtDNbWSYMwZfG2FFAt+u3yPEdxsRDkVqDgLbVGZcjwWLIQjSOyDEa8vMLyVpyuwLgZT KxJX6RJtSHtfCm0F87gcySHOK2Wwv0esSKkuc=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=zQRQs3QcCfxMpX7DVRxkBTHz+i5wCKiC6malW7ic7Vc=; b=aI0141+PFhOE++gs9zRZ5I4OV1jewv7yBmuNEgkonL7ddHZyKcaewjShCNDH6zUW5w A3ljj3P5FmOf7Xq1MF5t/GMF65BVfXiUAhhr+HBGVlsEWMsa/wRUJplvVP5RHiXz9fVz xZVJDXPivI4BvMHe2eHru5yMZt/J6k2WK/gtBew4iybxJGBCCeJ6FGSVpGHBfXXnxUpN XY/C9a1MDJburcrF9xPRxFenoYN+2+bISj6ZVEmQvJ0lQRkG9X1fs7iW+LPBMiBMQFNO 81gbKnNOjAzzTzAavTWAEpG4QSq80DOytMb3RnAX4Uz3VEd+64bebomuBN59HqSxii/A nr3g==
X-Gm-Message-State: AKS2vOwWshXCE978pJrHsK+5YsOE+yY0wiN+nw+QVRovZnEk/g7nMJNn sX0NE2mvYPLh10TejWnbug==
X-Received: by 10.28.51.212 with SMTP id z203mr6334068wmz.103.1498633552980; Wed, 28 Jun 2017 00:05:52 -0700 (PDT)
Received: from [192.168.2.182] ([88.235.161.246]) by smtp.gmail.com with ESMTPSA id m63sm3921808wma.18.2017.06.28.00.05.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Jun 2017 00:05:52 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_D51D7893-7AFF-4898-9569-566D9D08CD64"
Mime-Version: 1.0 (Mac OS X Mail 10.0 \(3226\))
From: Alper Yegin <alper.yegin@actility.com>
X-Priority: 3
In-Reply-To: <59F856E1230C43D5A7CE1018F7C2DCA8@WeiGengyuPC>
Date: Wed, 28 Jun 2017 10:05:51 +0300
Cc: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Message-Id: <E0AE5747-8F22-4E46-ABD8-5C55E821F9A1@actility.com>
References: <59F856E1230C43D5A7CE1018F7C2DCA8@WeiGengyuPC>
To: lp-wan@ietf.org
X-Mailer: Apple Mail (2.3226)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/UMwoCVmeD0do5fKEP7Mevn9tX8s>
Subject: [lp-wan] lpwan-overview comments
X-BeenThere: lp-wan@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Low-Power Wide Area Networking \(LP-WAN\), also known as LPWA or Low-Rate WAN \(LR-WAN\)" <lp-wan.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lp-wan/>
List-Post: <mailto:lp-wan@ietf.org>
List-Help: <mailto:lp-wan-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Jun 2017 07:05:57 -0000

Dear LPWAN WG members and Stephen,

I made one more pass over the LoRaWAN section of the I-D and spotted the following points:


   A LoRaWAN network has a short network identifier ("NwkID") which is a
   seven-bit value.  A private network (common for LoRaWAN) can use the
   value zero.  

   If a network wishes to support "foreign" end-devices
   then the NwkID needs to be registered with the LoRA Alliance, in
   which case the NwkID is the seven least significant bits of a
   registered 24-bit NetID.  (Note however, that the methods for
   "roaming" are defined in the upcoming LoRaWAN 1.1 specification.)

   In order to operate nominally on a LoRaWAN network, a device needs a
   32-bit device address, which is the catenation of the NwkID and a
   25-bit device-specific network address that is assigned when the
   device "joins" the network (see below for the join procedure) or that
   is pre-provisioned into the device.


In the LoRa Alliance we made a change to the way DevAddrs are generated based on the NetIDs. It’s no longer simply using the 7 least-significant-bits of NetID as the 7 most-significant-bits of the DevAddr. Even though the generation scheme was already described in the LoRaWAN 1.0 spec, the end-device always treated the DevAddr as a 32bit value, hence it did not matter how that value was generated as far as the end-device is concerned. The new scheme, which allows more efficient allocation and use of NetIDs, is described in the Backend Interfaces spec, which is not published yet.

What that means is, in this I-D, we better not describe "NwkID=7 bits” detail. 

So, I’d  propose to rewrite the above 3 paragraphs as follows (further text massage welcome!):


   In order to operate nominally on a LoRaWAN network, a device needs a
   32-bit device address, that is assigned when the
   device "joins" the network (see below for the join procedure) or that
   is pre-provisioned into the device.  In case of roaming devices, the device address
   is assigned based on the 24-bit NetID that is allocated to the networks
   by the LoRa Alliance. Non-roaming devices can be assigned device addresses
   by the network without relying on a LoRa Alliance-assigned NetID.







   End-devices are assumed to work with one or a quite limited number of
   applications, identified by a 64-bit AppEUI, which is assumed to be a
   registered IEEE EUI64 value.



AppEUI is being renamed as JoinEUI in LoRaWAN 1.1, and in fact it identifies the JS.
JoinEUI and JS terms are not present in LW1.0.x, but nevertheless the latest definition of the AppEUI in LW1.0.2 is as follows:



The AppEUI is a global application ID in IEEE EUI64 address space that uniquely identifies

the entity able to process the JoinReq frame.

 
So, we better not treat it as application identifier, but as identifier of the entity that can authenticate the Join-request frames.

For example, instead of:

AppEUI	IEEE EUI64 naming the application

We better say:

AppEUI	IEEE EUI64 naming the entity that processes Join-request




Thanks Stephen.

Alper