Re: [lp-wan] Genart last call review of draft-ietf-lpwan-schc-over-sigfox-20

Sergio Aguilar Romero <sergio.aguilar.romero@upc.edu> Sat, 21 January 2023 04:13 UTC

Return-Path: <sergio.aguilar.romero@upc.edu>
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 F2779C14EB1C for <lp-wan@ietfa.amsl.com>; Fri, 20 Jan 2023 20:13:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.895
X-Spam-Level:
X-Spam-Status: No, score=-6.895 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_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=upc-edu.20210112.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ThH1IwneHSHE for <lp-wan@ietfa.amsl.com>; Fri, 20 Jan 2023 20:13:07 -0800 (PST)
Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A2F45C15A74D for <lp-wan@ietf.org>; Fri, 20 Jan 2023 20:12:36 -0800 (PST)
Received: by mail-qt1-x82e.google.com with SMTP id j9so5819358qtv.4 for <lp-wan@ietf.org>; Fri, 20 Jan 2023 20:12:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upc-edu.20210112.gappssmtp.com; s=20210112; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=3Xz35OHwxxi41avrUa/uLdqRM5ebcmfdyrwlp7Dik20=; b=cScawY71/Ke+QHo9Gi1W/XsYBoz7l2SAUzyO50kp6rDWOVJMXU+h/FPYCG6CoGm8pe mC/4UuU8fs3q4Z59x5H1JwPnNiWMftgDBlCbcRGFb0KQb57l0QOjuBu4QikdNCE28WVB H1MvtQ+fT2GH8+I2XQTx3BMeBckfaV9cvARqiRkjyEPItUxMJGGboFOuvEC+h/LSjk1g KD/P0yDXIsGewcf8oB4EhwXRLDGgxwdUHfn6cv3AKM5Dtz0P37e6MZm9xzdnoh4FJ5uv t0W6KdBGiAqdbT1yQ8kamwQ5mJ2h+yb6OBld05z7/Riv2ZG2R9hdPHskSrqAS2dZQfW2 CNNQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3Xz35OHwxxi41avrUa/uLdqRM5ebcmfdyrwlp7Dik20=; b=Ui3zNLCaReNBjr1rzIu+BDy4/TRTcP51O/uj+y/6ArKkiq+B2qqKuWryCB4pumqn93 GNFBkgWsKxk8qPyvtYZoZEOIXVTB+33HLiNyYqI0NPCuHVJOHAxWU9k8UAYGSGxFjrPU yqUoWAr9J6KxhZCz2zjaH/SdVC3Q0vIswVI5PkvrkVvQYfjZLar0g25m5kP1a5fCP7fS 7yvavlXLkQH84lX5CTEirjSMOjg/nQVYqQepH1KX4MW1PgB+joq1lbA0OcXQxs1NP4DL uG5udtiWRtfnesAz93PaluSO7JusuH6E8oLEr0M0ZRrql8uOIYnWCv7dvRvj3ZXVVssU 6h/g==
X-Gm-Message-State: AFqh2kqqoNndKlRDg32WRtAp/hXPO6heXKvj8EacECUPWtHK8O3WIriW wsQkG973T778Kbp92JHchHfRTA==
X-Google-Smtp-Source: AMrXdXv2pJeAhJdQvoOo4MUUKYqXiDfmvuBrxIiZm26BVL3CdFA4ZvykSAgxT66gZVZRqcByle4kyA==
X-Received: by 2002:a05:622a:4209:b0:3b5:4aae:cb0b with SMTP id cp9-20020a05622a420900b003b54aaecb0bmr22983030qtb.22.1674274354841; Fri, 20 Jan 2023 20:12:34 -0800 (PST)
Received: from smtpclient.apple ([190.113.114.165]) by smtp.gmail.com with ESMTPSA id d6-20020a05620a240600b006fc2f74ad12sm27809073qkn.92.2023.01.20.20.12.33 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Jan 2023 20:12:34 -0800 (PST)
From: Sergio Aguilar Romero <sergio.aguilar.romero@upc.edu>
Message-Id: <9E006EBE-CA47-4D7E-9B96-008A07DB9805@upc.edu>
Content-Type: multipart/alternative; boundary="Apple-Mail=_77CA3CC3-2CA3-48F3-95D4-1604F2148DA3"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\))
Date: Fri, 20 Jan 2023 22:12:32 -0600
In-Reply-To: <167287911398.8811.17759259148130606728@ietfa.amsl.com>
Cc: gen-art@ietf.org, draft-ietf-lpwan-schc-over-sigfox.all@ietf.org, last-call@ietf.org, lp-wan@ietf.org
To: Elwyn Davies <elwynd@dial.pipex.com>
References: <167287911398.8811.17759259148130606728@ietfa.amsl.com>
X-Mailer: Apple Mail (2.3696.120.41.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/oU5vMy-LzQaXIvbzXIwJty0Sp3o>
Subject: Re: [lp-wan] Genart last call review of draft-ietf-lpwan-schc-over-sigfox-20
X-BeenThere: lp-wan@ietf.org
X-Mailman-Version: 2.1.39
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, 21 Jan 2023 04:13:09 -0000

Hello,

Thanks for your review.

We have published a new version of the draft.

Please find our comments below.

Best regards,

Authors of the SCHC over Sigfox draft

> On Jan 4, 2023, at 6:38 PM, Elwyn Davies via Datatracker <noreply@ietf.org> wrote:
> 
> Reviewer: Elwyn Davies
> Review result: Not Ready
> 
> I am the assigned Gen-ART reviewer for this draft. The General Area
> Review Team (Gen-ART) reviews all IETF documents being processed
> by the IESG for the IETF Chair.  Please treat these comments just
> like any other last call comments.
> 
> For more information, please see the FAQ at
> 
> <https://trac.ietf.org/trac/gen/wiki/GenArtfaq>.
> 
> Document: draft-ietf-lpwan-schc-over-sigfox-20
> Reviewer: Elwyn Davies
> Review Date: 2023-01-04
> IETF LC End Date: 2022-12-20
> IESG Telechat date: 2023-01-05
> 
> Summary:
> Not ready.  I notice that major edits have been done to this document since the
> IESG reviews raised some serious Discuss points.  Aside from some serious
> points about the scope of the profile(s) in this review and whether there are
> multiple profiles involved, I think that the scope of the changes made deserve
> working group level review to ensure that the changes are technically accurate.
> I apologize for the late delivery of this review.  I contracted Covid during
> the Last Call period and it has taken me some time to recover.
> 
> Major issues:
> 
> s1, para 4: It should be made explicit whether the document sets  out a single
> set of parameters, etc., forming a single profile or whether variations are
> available so that more than one profile is possible.

It is a single profile which contains different F/R modes. A device may implement one or more F/R modes depending on the application.

We have added section 4 Fragmentation Rules Examples, providing an example on how to configure the Rules as a single profile.


>  The word 'recommended'
> implies that there could be variations.  If so how would an implementation/user
> know which profile was in use.

The word RECOMMENDED has been changed to MUST to removed ambiguities. It is only RECOMMENDED to keep the RulesIDs to minimum, and it is stated what happens if the recommendation is not follow. Moreover, we added section 4 Fragmentation Rules Examples which explains an example on how to use the Rules as a single profile.


>  It has been noted elsewhere in reviews that
> there are several versions of the Sigfox specification mentioned on the web
> page which  gives access to the [sigfox-spec].  Does this profile apply to all
> versions of the specification?  If not how does a device know which profile is
> used with which specification?  This comment reflects inpart a Comment point
> raised by Roman Danyliw
> 

The SCHC over Sigfox Profile is supported in previous version of the specifications. We have added a sentence at the end of the introduction. 

Note that SCHC is carried as any other application payload from the Sigfox layer perspective.


> s3.2:  This section states:
> 
> "Messages sent from the Device to the Network are delivered by the
>   Sigfox network (NGW) to the Network SCHC C/D + F/R through a
>   callback/API with the following information:
> 
>   *  Device ID
> 
>   *  Message Sequence Number
> 
>   *  Message Payload
> 
>   *  Message Timestamp
> 
>   *  Device Geolocation (optional)
> 
>   *  Received Signal Strength Indicator (RSSI) (optional)
> 
>   *  Device Temperature (optional)
> 
>   *  Device Battery Voltage (optional)"
> 
> As far as I can see, the [sigfox-spec] makes no mention of how or where the
> timestamp, geolocation information, device temperature and battery voltage are
> encoded and the format used.

This information is encoded in the Confirmation Control message, which is sent when the downlink message (if any) is received by the device. How this information is encoded in this message is presented in section 5.2 of [sigfox-spec].

Note that [sigfox-spec] is only about the radio protocol between a device and the Sigfox infrastructure (aka. Base Stations).
Within this protocol are encoded the following information:
In Uplink message
Device ID
Msg Sequence Number
Msg Payload
In Control messages (optional Keepalive or mandatory control message to acknowledge a Downlink) the payload includes:
Temperature
Battery voltage
 
Upon reception of a message from the radio interface, a Sigfox Base Station computes metadata associated to the received message, that includes:
RSSI
Reception timestamp
 
Message data and metadata are then pushed by receiving Base Station(s) to the Sigfox Cloud that processes them, and, e.g.:
aggregates RSSI information associated to a message according to whether or not multiple Base Stations did forward the same message,
eventually computes a geolocation for the message (thus adding the device location property) to the message.
 
In the end, the Sigfox Cloud delivers a callback that may contain the whole message properties (concatenation of elements transported through the radio interface, but also metadata computed by Base Station(s) and Cloud). If the SCHC Receiver is fed up with such a callback, then it can receive all that message properties (not all of them being useful/mandatory).


> I take it Message Counter and Message Sequence are
> related in some way.  How?

 Message Counter / Sequence Number are clearly related : “Message Counter” is the name of the field used on the radio interface to encode the Message Sequence Number.
 

> 
> Minor issues:
> 
> Header: More than 5 authors are listed.  This may now have been approved.
> 
> s1: Before embarking on descriptions that refer to elements of the Sigfox
> network infrastructure, the document should tell the reader where s/he can find
> a definitive description of the elements. Referring to the relevant section of
> RFC 8376 would be useful,  but a reference to a Sigfox document with an
> overview of the system would be very useful.  The Sigfox Radio Specifications
> document is at too detailed a level to cover this requirement.  [Aside: I found
> this document very hard work!]

We added a reference to RFC 8376. Also we added a reference to the complete Sigfox documentation.


> 
> s2: The reader is also expected to be familiar with the Sigfox terminology.
> 

Added a reference at the end of the section.


> s3.2, para 1:  "The uplink message size is 12 bytes in size.".  Firstly: Uplink
> messages are variable in size depending on the requested payload.  The payload
> can be up to 12 bytes. Secondly: This is the application level size.  Six bytes
> of header are added in the link layer together with authentication if used. 
> Further bytes are added in the physical layer.
> 

We modified the sentence as follows: The uplink message application payload size can be up to 12 bytes.


> s8.2: I think RFC8376 is normative as the terminology used there is required
> knowledge.
> 

First we moved RFC8376 to normative. 

When checking idnits, we got this error:
  ** Downref: Normative reference to an Informational RFC: RFC 8376
Therefore, we are not sure if RFC8376 can be normative. We move it to informative to remove this error. 

> Nits/editorial comments:
> 
> s1, para 1: s/on top of all/in conjunction with any of/
> 
Done.

> s1, para 2: s/a great level of/a considerable degree of/
> 

Done.

> s1, para 2: s/on top of/in conjunction with/
> 

Done.

> s1, para 3: 'worldwide network':  This is advertising speak.  Try 'a very wide
> area network'
> 

Done.

> s1, para 3: s/recovery of lost messages/including recovery of lost messages/
> 

Done.

> s1, para 3: a/fragmentation/reassembly/allowing for fragmentation/reassembly of
> messages/

Done.

> 
> s1, para 4: s/This set of parameters are also known as/The set of parameters
> forms/
> 
Done.

> s3, Figure 1: For certainty, it would be useful to show the direction in which
> Uplink and Downlink messages travel.
> 

We added arrows indicating uplink and downlink directions.


> s3.2, para 1: s/space diversity/spatial diversity/

Done.

> 
> s3.3, last para: s/Downlink request flag/A Downlink request flag/

Done.


> 
> s3.3.1, para 2: s/which is signal by a specific the Fragment Compressed Number
> (FCN)/which is signalled by a specific value of the Fragment Compressed Number
> (FCN)/
> 
Done.
> 

>