[lp-wan] SCHC C implementation

Bart Moons <bamoons.moons@ugent.be> Sun, 20 October 2019 09:47 UTC

Return-Path: <bamoons.moons@ugent.be>
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 0D2751200FA for <lp-wan@ietfa.amsl.com>; Sun, 20 Oct 2019 02:47:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] 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 9z1U9JHlcbrV for <lp-wan@ietfa.amsl.com>; Sun, 20 Oct 2019 02:47:41 -0700 (PDT)
Received: from smtp1.ugent.be (smtp1.ugent.be [157.193.71.182]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F0FB8120130 for <lp-wan@ietf.org>; Sun, 20 Oct 2019 02:47:40 -0700 (PDT)
Received: from localhost (mcheck2.ugent.be [157.193.49.249]) by smtp1.ugent.be (Postfix) with ESMTP id 54064A047B for <lp-wan@ietf.org>; Sun, 20 Oct 2019 11:47:39 +0200 (CEST)
X-Virus-Scanned: by UGent DICT
Received: from smtp1.ugent.be ([157.193.71.182]) by localhost (mcheck2.ugent.be [157.193.43.11]) (amavisd-new, port 10024) with ESMTP id dLVY4snYLO08 for <lp-wan@ietf.org>; Sun, 20 Oct 2019 11:47:35 +0200 (CEST)
Received: from moussorgsky (d54C5929D.access.telenet.be [84.197.146.157]) (Authenticated sender: bamoons) by smtp1.ugent.be (Postfix) with ESMTPSA id 45308A044A for <lp-wan@ietf.org>; Sun, 20 Oct 2019 11:47:35 +0200 (CEST)
Date: Sun, 20 Oct 2019 11:47:34 +0200
From: Bart Moons <bamoons.moons@ugent.be>
To: "lp-wan@ietf.org" <lp-wan@ietf.org>
Cc: "lp-wan@ietf.org" <lp-wan@ietf.org>
Message-ID: <311F6FFD-8A91-4537-8E91-EB56AB39E4EC@getmailspring.com>
In-Reply-To: <mailman.0.1571554104.11006.lp-wan@ietf.org>
References: <mailman.0.1571554104.11006.lp-wan@ietf.org>
X-Mailer: Mailspring
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="5dac2d36_4228f4cb_f10"
X-Miltered: at jchkm1 with ID 5DAC2D36.002 by Joe's j-chkmail (http://helpdesk.ugent.be/email/)!
X-j-chkmail-Auth: USER-ID bamoons
X-j-chkmail-Enveloppe: 5DAC2D36.002 from d54C5929D.access.telenet.be/d54C5929D.access.telenet.be/84.197.146.157/moussorgsky/<bamoons.moons@ugent.be>
X-j-chkmail-Score: MSGID : 5DAC2D36.002 on smtp1.ugent.be : j-chkmail score : . : R=. U=. O=# B=0.000 -> S=0.083
X-j-chkmail-Status: Ham
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/3GILnuWuNTvzhKhkEG-zhxCq5eI>
Subject: [lp-wan] SCHC C implementation
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: Sun, 20 Oct 2019 09:47:52 -0000

Dear Hannes,

Recently we published a paper "Using SCHC for an optimzed protocol stack in multimodal LPWAN solutions" ( http://hdl.handle.net/1854/LU-8613162 ) (http://hdl.handle.net/1854/LU-8613162).
It reviews SCHC compression and fragmentation and compares it to other compression and fragmentation techniques.
I made a C implementation for the compression and the fragmentation and briefly describe my approach in the paper.

I was planning to share the library with the community the coming months, but since you are interested, I can maybe speed up the process.
I'll keep you updated.
Kind regards,
Bart

Bart Moons
Ghent University - imec
IDLab

iGent Tower - Department of Information Technology
Technologiepark-Zwijnaarde 15, B-9052 Ghent, Belgium (https://maps.google.com/?q=Technologiepark-Zwijnaarde%2015%2C%20B-9052%20Ghent%2C%20Belgium)

bamoons.moons@ugent.be (mailto:bamoons.moons@ugent.be) +32 472 42 23 91 (tel:%20+32%20472%2042%2023%2091)
http://IDLab.UGent.be
http://idlab.technology

On Oct 20 2019, at 8:48 am, lp-wan-request@ietf.org wrote:
> Send lp-wan mailing list submissions to
> lp-wan@ietf.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://www.ietf.org/mailman/listinfo/lp-wan
> or, via email, send a message with subject or body 'help' to
> lp-wan-request@ietf.org
>
> You can reach the person managing the list at
> lp-wan-owner@ietf.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lp-wan digest..."
> Today's Topics:
>
> 1. Re: C Implementation of SCHC ? (dominique.barthel@orange.com)
>
> Hello Hannes,
>
> Indeed, I agree that the SCHC acronym is kind of a misnomer.
> SCHC&FR would be technically more accurate, but totally un-pronounceable.
> The common part is SC (Static Context). HC (Header Compression) and FR (Fragmentation/Reassembly) are mostly independent, except they share the same RuleID (name)space.
> > as well as support for reliable transmission of packets.
> Actually, it includes support for reliable transmission of fragments. If the packet is compressed but not fragmented, there Is no reliability mechanism added.
> Unless the implementer decides to use the fragmentation mechanics just for the benefit of reliability, even if fragmentation itself is not required.
> Best regards,
>
> Dominique
>
> De : Hannes Tschofenig <Hannes.Tschofenig@arm.com (mailto:Hannes.Tschofenig@arm.com)>
> Date : Saturday 19 October 2019 18:08
> À : Dominique Barthel <dominique.barthel@orange.com (mailto:dominique.barthel@orange.com)>
> Cc : lp-wan <lp-wan@ietf.org (mailto:lp-wan@ietf.org)>
> Objet : RE: [lp-wan] C Implementation of SCHC ?
>
>
> Thanks, Dominique.
>
> Regarding the implementation question I cannot really help because I don’t know what the RIoT guys are trying to accomplish.
>
> I was actually surprised to see that the work on static header compression is actually much more than compression. It includes a protocol for fragmentation and reassembly as well as support for reliable transmission of packets.
>
> Ciao
> Hannes
>
> From: dominique.barthel@orange.com (mailto:dominique.barthel@orange.com) <dominique.barthel@orange.com (mailto:dominique.barthel@orange.com)>
> Sent: Freitag, 18. Oktober 2019 18:11
> To: Hannes Tschofenig <Hannes.Tschofenig@arm.com (mailto:Hannes.Tschofenig@arm.com)>
> Cc: lp-wan <lp-wan@ietf.org (mailto:lp-wan@ietf.org)>
> Subject: Re: [lp-wan] C Implementation of SCHC ?
>
>
>
>
>
> Hello Hannes,
>
>
> I don't know of a SCHC implementation at this time.
>
> The closest I know to an implementation is the RiOT guys intention of adding SCHC to RioT. AFAIK, they were debating whether to rewrite SCHC in C or run micropython over RioT.
>
>
>
> Regarding papers, I'm aware of a paper being submitted by S. Aguilar et al. (IMT Atlantique, Rennes and UPC, Barcelona) but I'm not sure what its status exactly is.
>
> I'll let the authors come out of the wood.
>
> A quick search on ieeeexplore with the keyword "SCHC" returned two relevant papers (published this summer), YMMV.
>
> What performance are you interested in ? Compression, fragmentation, .. ?
>
>
>
> Best regards
>
>
>
> Dominique
>
>
>
> De : lp-wan <lp-wan-bounces@ietf.org (mailto:lp-wan-bounces@ietf.org)> on behalf of Hannes Tschofenig <Hannes.Tschofenig@arm.com (mailto:Hannes.Tschofenig@arm.com)>
> Date : Friday 18 October 2019 16:55
> À : lp-wan <lp-wan@ietf.org (mailto:lp-wan@ietf.org)>
> Objet : [lp-wan] C Implementation of SCHC ?
>
>
>
>
> Hi all,
>
>
> I was searching for a C implementation of SCHC and only found Python and JavaScript implementations. Can someone send me a pointer to a C implementation?
>
> I also recall a paper being distributed about the performance of SCHC but I cannot find that either. A pointer would be great.
>
> Thanks.
>
> Ciao
> Hannes
> IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
> _________________________________________________________________________________________________________________________
>
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
>
> IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
>
>
> _________________________________________________________________________________________________________________________
>
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
> _______________________________________________
> lp-wan mailing list
> lp-wan@ietf.org
> https://www.ietf.org/mailman/listinfo/lp-wan
>