Re: [lp-wan] lpwan-overview comments

Alexander Pelov <a@ackl.io> Wed, 28 June 2017 07:56 UTC

Return-Path: <a@ackl.io>
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 3F62812EB9B for <lp-wan@ietfa.amsl.com>; Wed, 28 Jun 2017 00:56:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.619
X-Spam-Level:
X-Spam-Status: No, score=-2.619 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] 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 uQMou4eSazya for <lp-wan@ietfa.amsl.com>; Wed, 28 Jun 2017 00:56:18 -0700 (PDT)
Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D86CA12EB69 for <lp-wan@ietf.org>; Wed, 28 Jun 2017 00:56:17 -0700 (PDT)
Received: from [IPv6:2001:660:7301:3728:3c93:6293:46d1:601a] (unknown [IPv6:2001:660:7301:3728:3c93:6293:46d1:601a]) (Authenticated sender: alex@ackl.io) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 2158CC5A61; Wed, 28 Jun 2017 09:56:14 +0200 (CEST)
Content-Type: multipart/alternative; boundary="Apple-Mail=_B312A701-1418-4EFD-81BF-97427623EAD1"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Alexander Pelov <a@ackl.io>
X-Priority: 3
In-Reply-To: <E0AE5747-8F22-4E46-ABD8-5C55E821F9A1@actility.com>
Date: Wed, 28 Jun 2017 09:56:10 +0200
Cc: lp-wan@ietf.org, Stephen Farrell <stephen.farrell@cs.tcd.ie>
Message-Id: <13FF95DD-C195-472D-8DB5-74C9B374FFF2@ackl.io>
References: <59F856E1230C43D5A7CE1018F7C2DCA8@WeiGengyuPC> <E0AE5747-8F22-4E46-ABD8-5C55E821F9A1@actility.com>
To: Alper Yegin <alper.yegin@actility.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/qqD7uqMbqqOUVUUOlH63QIr1urc>
Subject: Re: [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:56:22 -0000

Thanks for the comments and the detailed review, Alper!

I guess the changes you describe are not likely to be changed until the specs you describe get published, right?

Thanks again,
Alexander


> Le 28 juin 2017 à 09:05, Alper Yegin <alper.yegin@actility.com> a écrit :
> 
> 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
> _______________________________________________
> lp-wan mailing list
> lp-wan@ietf.org
> https://www.ietf.org/mailman/listinfo/lp-wan