Re: [lp-wan] lpwan-overview comments

Stephen Farrell <stephen.farrell@cs.tcd.ie> Sat, 01 July 2017 18:07 UTC

Return-Path: <stephen.farrell@cs.tcd.ie>
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 020F3127136 for <lp-wan@ietfa.amsl.com>; Sat, 1 Jul 2017 11:07:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.301
X-Spam-Level:
X-Spam-Status: No, score=-4.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
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 chkh5tQDDLAy for <lp-wan@ietfa.amsl.com>; Sat, 1 Jul 2017 11:07:47 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 054D51201F8 for <lp-wan@ietf.org>; Sat, 1 Jul 2017 11:07:47 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id B13F5BE77; Sat, 1 Jul 2017 19:07:45 +0100 (IST)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PFgU_OpKNRL6; Sat, 1 Jul 2017 19:07:43 +0100 (IST)
Received: from [10.244.2.100] (95-45-153-252-dynamic.agg2.phb.bdt-fng.eircom.net [95.45.153.252]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 3F8EDBE74; Sat, 1 Jul 2017 19:07:43 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1498932463; bh=FGOiOGq2dJsQFv92mhJZY/MyLMsvPM3p5sv9cqQfgqM=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=ebHBiFAQRqD487RQgofn4Vlavtq9O/xJQjkhSFGlRjzukkGjrpSluQKCDJDYyNPWO ctqTfO9GxLCZguyKWO6abSOTsvDyk6j3OvQQJZ60Icq6UxWA327mdcGAClxb50TwSc hfojucBg66b8eYb7f3ZrTOp5dvX7gJ1jn0ZN0Ah4=
To: Alper Yegin <alper.yegin@actility.com>, Alexander Pelov <a@ackl.io>
Cc: lp-wan@ietf.org
References: <59F856E1230C43D5A7CE1018F7C2DCA8@WeiGengyuPC> <E0AE5747-8F22-4E46-ABD8-5C55E821F9A1@actility.com> <13FF95DD-C195-472D-8DB5-74C9B374FFF2@ackl.io> <E0C15BE9-6F56-43C2-AC0F-E8B7963DA14B@actility.com>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <4bbee41f-c70a-afa4-3504-436db5ae74b5@cs.tcd.ie>
Date: Sat, 01 Jul 2017 19:07:42 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <E0C15BE9-6F56-43C2-AC0F-E8B7963DA14B@actility.com>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="sqkeQ5o3u0tBiuxMFrWPhxml4e5cjnSP7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/sv9efNfuimACt4HGZogzkX1cOXU>
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: Sat, 01 Jul 2017 18:07:49 -0000

Hiya,

On 28/06/17 09:05, Alper Yegin wrote:
> Hi Alex,
> 
> No, they’d not.
> Btw, the I-D is based on the LoRaWAN 1.0.2.
> And we are working towards publishing the LoRaWAN 1.1 in September.
> Depending on the pace of IETF processing this I-D, it may stay with LoRaWAN 1.0.2 details, or an update may fold in LoRaWAN 1.1 changes as well.
> 

Given the stated milestones I guess that we should stick with
describing 1.0.2 in the WG overview draft.

Cheers,
S.

PS: I'll respond to the other mail in a bit.



> Alper
> 
> 
> 
> 
> 
>> On Jun 28, 2017, at 10:56 AM, Alexander Pelov <a@ackl.io> wrote:
>>
>> 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 <mailto: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 <mailto:lp-wan@ietf.org>
>>> https://www.ietf.org/mailman/listinfo/lp-wan
>>
> 
> 
> 
> 
> _______________________________________________
> lp-wan mailing list
> lp-wan@ietf.org
> https://www.ietf.org/mailman/listinfo/lp-wan
>