Re: [lp-wan] lpwan-overview comments

Alper Yegin <alper.yegin@actility.com> Sat, 01 July 2017 19:18 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 5EA0B1201F8 for <lp-wan@ietfa.amsl.com>; Sat, 1 Jul 2017 12:18:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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_NONE=-0.0001, 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=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 wxBCj_zFK6RB for <lp-wan@ietfa.amsl.com>; Sat, 1 Jul 2017 12:18:40 -0700 (PDT)
Received: from mail-wr0-x232.google.com (mail-wr0-x232.google.com [IPv6:2a00:1450:400c:c0c::232]) (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 8B2C91200B9 for <lp-wan@ietf.org>; Sat, 1 Jul 2017 12:18:40 -0700 (PDT)
Received: by mail-wr0-x232.google.com with SMTP id r103so217639827wrb.0 for <lp-wan@ietf.org>; Sat, 01 Jul 2017 12:18:40 -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 :content-transfer-encoding:message-id:references:to; bh=1Ms6l4PgUxjy95iMGXarQOxiqty3BSHM2h8AMn6PwdI=; b=NXbuqLqYOlBFtwAu2HkLFcDEqiCA/a/x84eeLtCOfk1l4BxvxkGXAxvr79/W9TS9e2 BDAP3d8pl3yMn/8SbqquWnWhVZQ9MOxs4hUl0h1qFi/i1RG4PAIsFC58rs4I126xOBBJ MGdJ7y5xFaUwTCuaYNCLBAYKguBMza0d8C8z8=
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 :content-transfer-encoding:message-id:references:to; bh=1Ms6l4PgUxjy95iMGXarQOxiqty3BSHM2h8AMn6PwdI=; b=GApx43PqjFsO60iaGMVQp4Nb/F51QCdU1ByQ4NiuncB+NVvm9CPzlEwENFP3ligzFc w81FUjERAHSgA1ZMfH3/ebVwsCA+Y3jhMLUH1r9ipBR68oUVfttjC28llX+KZI75lgYH AuBMJ89yZJTsHarSQUsMIF2KHyN1vayWGgsP15J0WnE+SYMcmzqrJElRVT2EpugmCcd2 /7685u84NCi9ukb2cGPbM7uOLfNrU4bHYj3rHsNKY322vt6z0yI0d0vSHKf3pQ6Nun2/ j/c/CIRKhPJT8W+Vrz2O7BuZg7n1aG/jsnvuyzfBmEnvURh1SIX9wKO65wyMZs0LE4Om 0Jtg==
X-Gm-Message-State: AKS2vOw/UsE+ez1NDs+ZOtFXUO4/2OVcX0Zh6EYXkfPC8ZZ3LdtqEPk4 pKlj5tcZ9hjGoiAPLt3Ieg==
X-Received: by 10.223.143.77 with SMTP id p71mr28485952wrb.3.1498936718928; Sat, 01 Jul 2017 12:18:38 -0700 (PDT)
Received: from [10.119.8.17] (178-211-44-68.turkrdns.com. [178.211.44.68]) by smtp.gmail.com with ESMTPSA id 137sm16040278wmm.29.2017.07.01.12.18.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Jul 2017 12:18:38 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.0 \(3226\))
From: Alper Yegin <alper.yegin@actility.com>
In-Reply-To: <259da1ec-041f-875b-813b-3e20844e822d@cs.tcd.ie>
Date: Sat, 01 Jul 2017 22:18:35 +0300
Cc: lp-wan@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <715019FF-4331-43C0-82EA-829EA5176BF3@actility.com>
References: <59F856E1230C43D5A7CE1018F7C2DCA8@WeiGengyuPC> <E0AE5747-8F22-4E46-ABD8-5C55E821F9A1@actility.com> <259da1ec-041f-875b-813b-3e20844e822d@cs.tcd.ie>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
X-Mailer: Apple Mail (2.3226)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/k3PYLDLzFNZ9yQCp_RdgAGpZTJQ>
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 19:18:43 -0000

Hi Stephen,

>> 
>> 
>>   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
> 
> So I just don't understand how that can be correct, sorry;-)
> 
> A join-request is processed by a NS (or, in 1.1 a JS). There are very
> few of those, maybe 1 per n/w. There are many more device-types, which
> do mostly map 1:1 with AppEUIs. And the same device-types can be found
> in many networks.
> 
> So the suggested text just seems incorrect to me.
> 
> I'd say we're better to just stick with 1.0.2 terms tbh.
> 

If we want to strictly  stick with the LW1.0.2 definition, than it’d be:

AppEUI	IEEE EUI64 application id that identifies the entity processesing Join-request

In practice, it identifies the JS.

Note that:
- NS and JS may be co-located or separated. This is true for both LW1.0.x and LW1.1 specs.
- The entity that processes the Join-request and generates Join-accept is the JS.
- Single NS may be connected to multiple JSs.
- Spec is based on 1:1 relationship between the end-device and JS. (Obviously, implementations can extend that).
- If the NS knows the identify of the JS to process an incoming Join-request based on the DevEUI, then AppEUI (which is later renamed to JoinEUI in LW1.1) has no significance. Otherwise, the NS relies on the AppEUI (JoinEUI) to identify the JS to process the request.

I just elaborated on these details, not to suggest including in the draft, but to point out that the significance of the AppEUI is to “ identify(ies) the entity able to process the JoinReq frame.” as stated in the LW1.0.2 spec. As long as we capture that, it is OK if the draft also refers to it as “application id”. (The reason name of the Join-request field morphed from AppEUI into JoniEUI in LW1.1 is basically this.)

Regards,

Alper








> Cheers,
> S.
> 
>> 
>> 
>> 
>> 
>> Thanks Stephen.
>> 
>> Alper
>> 
>> 
>> 
>> _______________________________________________
>> lp-wan mailing list
>> lp-wan@ietf.org
>> https://www.ietf.org/mailman/listinfo/lp-wan
>> 
>