[lp-wan] Example with a possible error in LoRaWAN profile definition

Rodrigo Muñoz Lara <rmunozlara@ing.uchile.cl> Wed, 17 July 2019 02:25 UTC

Return-Path: <rmunozlara@ing.uchile.cl>
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 F15DF1200FB for <lp-wan@ietfa.amsl.com>; Tue, 16 Jul 2019 19:25:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.198
X-Spam-Level:
X-Spam-Status: No, score=-4.198 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=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=cec.uchile.cl header.b=ZXSjHm36; dkim=pass (1024-bit key) header.d=cec.uchile.cl header.b=ZXSjHm36
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 EV5Mj6Ey2c8A for <lp-wan@ietfa.amsl.com>; Tue, 16 Jul 2019 19:25:28 -0700 (PDT)
Received: from mail.cec.uchile.cl (mail2.cec.uchile.cl [200.9.100.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4DB021200EC for <lp-wan@ietf.org>; Tue, 16 Jul 2019 19:25:27 -0700 (PDT)
Received: from mail.cec.uchile.cl (localhost [127.0.0.1]) by mail.cec.uchile.cl (Postfix) with ESMTP id 58CD9A0C8C for <lp-wan@ietf.org>; Tue, 16 Jul 2019 22:25:24 -0400 (-04)
DMARC-Filter: OpenDMARC Filter v1.3.2 mail.cec.uchile.cl 58CD9A0C8C
Authentication-Results: mail2.cec.uchile.cl; dmarc=none (p=none dis=none) header.from=ing.uchile.cl
Authentication-Results: mail2.cec.uchile.cl; spf=pass smtp.mailfrom=rmunozlara@ing.uchile.cl
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.cec.uchile.cl 58CD9A0C8C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cec.uchile.cl; s=default; t=1563330324; bh=bufZzwl6XxLseFuzjaOoNk9PHsRQXezo2QtHD6F6c/A=; h=From:Date:Subject:To:Cc:From; b=ZXSjHm36Db2cK0A/wsavhhtpqEQNPFy2ihGmWZn9dkRJHAOFqRfx/PpGMapBv+bnF MxAmQ15ab1R+9estsNcTbtmltQwoiT5twr2xtOOGEDhtdeHjPRsDpIemPmq7c4+1OQ bRUSiH5X9AWeflMdHOZgR1m8K/PTevcizIsym/mA=
Received: from mail-vk1-f178.google.com (mail-vk1-f178.google.com [209.85.221.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (not verified)) by mail.cec.uchile.cl (Postfix) with ESMTPSA id DC933A0CAF for <lp-wan@ietf.org>; Tue, 16 Jul 2019 22:25:23 -0400 (-04)
DMARC-Filter: OpenDMARC Filter v1.3.2 mail.cec.uchile.cl DC933A0CAF
Authentication-Results: mail2.cec.uchile.cl; dmarc=none (p=none dis=none) header.from=ing.uchile.cl
Authentication-Results: mail2.cec.uchile.cl; spf=pass smtp.mailfrom=rmunozlara@ing.uchile.cl
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.cec.uchile.cl DC933A0CAF
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cec.uchile.cl; s=default; t=1563330324; bh=bufZzwl6XxLseFuzjaOoNk9PHsRQXezo2QtHD6F6c/A=; h=From:Date:Subject:To:Cc:From; b=ZXSjHm36Db2cK0A/wsavhhtpqEQNPFy2ihGmWZn9dkRJHAOFqRfx/PpGMapBv+bnF MxAmQ15ab1R+9estsNcTbtmltQwoiT5twr2xtOOGEDhtdeHjPRsDpIemPmq7c4+1OQ bRUSiH5X9AWeflMdHOZgR1m8K/PTevcizIsym/mA=
Received: by mail-vk1-f178.google.com with SMTP id o19so4635747vkb.6 for <lp-wan@ietf.org>; Tue, 16 Jul 2019 19:25:23 -0700 (PDT)
X-Gm-Message-State: APjAAAUK4FpS1Pvjn5Q41VSzlk7ypECxp7GPpnIrH+zKYnuOW4SntB7N jw4AhCZxvozjnrlvAsEPEH7H812/EVA3I4U/gZY=
X-Google-Smtp-Source: APXvYqxLEQo7VzD1WU6WysuxGVXqZBV7G+itKHnKPTRIOuYfVPPWYdAZUq2Ay0AiyCyVBiFhyqDlPfL5ehdibJtEqcI=
X-Received: by 2002:a1f:3dc1:: with SMTP id k184mr13983586vka.24.1563330322293; Tue, 16 Jul 2019 19:25:22 -0700 (PDT)
MIME-Version: 1.0
From: Rodrigo Muñoz Lara <rmunozlara@ing.uchile.cl>
Date: Tue, 16 Jul 2019 22:23:32 -0400
X-Gmail-Original-Message-ID: <CALJ+G3WgLd50gYVW3bqf7SmrZ623DKGUFeCYm8xTvUokfY09eA@mail.gmail.com>
Message-ID: <CALJ+G3WgLd50gYVW3bqf7SmrZ623DKGUFeCYm8xTvUokfY09eA@mail.gmail.com>
To: lp-wan@ietf.org
Cc: Sandra Cespedes <scespedes@ing.uchile.cl>, Juan Millan Castillo <jjmillancas@gmail.com>
Content-Type: multipart/alternative; boundary="00000000000086eccc058dd7346b"
X-Virus-Scanned: ClamAV using ClamSMTP
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/ZteAGwVoLiW-WJMmYslPtW29lsw>
Subject: [lp-wan] Example with a possible error in LoRaWAN profile definition
X-BeenThere: lp-wan@ietf.org
X-Mailman-Version: 2.1.29
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, 17 Jul 2019 02:25:31 -0000

Dear Author,

On page 19, in the draft "draft-ietf-lpwan-schc-over-lorawan-02", cap.
A.2.  Uplink - Compression and fragmentation example.

In the description of the example, said: "An applicative payload of 478
bytes is passed to SCHC compression layer using rule 1, allowing to
compress it to 440 bytes: 21 bits residue + 138 bytes payload."

Why 440 bytes is equal to 21 bits residue + 138 bytes payload?

The same problem exist on page 20. cap A.3.  Downlink. The example said:
"An applicative payload of 43 bytes is passed to SCHC compression layer
using rule 1, allowing to compress it to 24 bytes and 5 bits: 21 bits
residue + 22 bytes payload.". Here the numbers is OK, but the figure is not
aligned with the description

| RuleID | Compression residue |  Payload  |
+ ------ + ------------------- + --------- +
|   1    |       21 bits       |  18 bytes |

Why 18 bytes if the description said 22 bytes?


Thanks and Regards

-------------------------------------
Rodrigo Munoz Lara
Department of Electrical Engineering
Universidad de Chile
Santiago, Chile
rmunozlara@ing.uchile.cl