Re: [6lowapp] Reference implementation

Jon Smirl <jonsmirl@gmail.com> Wed, 30 December 2009 18:37 UTC

Return-Path: <jonsmirl@gmail.com>
X-Original-To: 6lowapp@core3.amsl.com
Delivered-To: 6lowapp@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5F4DE3A6824 for <6lowapp@core3.amsl.com>; Wed, 30 Dec 2009 10:37:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.166
X-Spam-Level:
X-Spam-Status: No, score=-2.166 tagged_above=-999 required=5 tests=[AWL=0.433, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nrhM1zgjBALh for <6lowapp@core3.amsl.com>; Wed, 30 Dec 2009 10:37:20 -0800 (PST)
Received: from mail-qy0-f203.google.com (mail-qy0-f203.google.com [209.85.221.203]) by core3.amsl.com (Postfix) with ESMTP id E5DEC3A659A for <6lowapp@ietf.org>; Wed, 30 Dec 2009 10:37:19 -0800 (PST)
Received: by qyk41 with SMTP id 41so5750347qyk.29 for <6lowapp@ietf.org>; Wed, 30 Dec 2009 10:36:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=nM094CwupgU7xssGuLBAyusTPVezNWj/2907j9mpKkw=; b=MrnaHJrjO8iTzP5p7Sh6pO7XuEcp+MFFYh/AxycLG3NWcDH2LqTGSBBGMlIQzoRM/e 7pXAX3u6dxTyaI2p36zk+XebLs40CcxsEVsW50ceRMzEXBgS0bAHORMKYzBw01fHcspw xhHtFA9orIjJ4aVDkV48W5DJzX1QwRjX2/go4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Ju83shL63WO2Sk7IzgXXaCyDs1q3RYKDtQ10gymyw9TbR+uB7z3PuNM/fhRLO1/jyI /tCwYjlrDBZn88fC09y6669oShDJFJr7qj0KtLNR5rkrl7q7kNrKholSuYmEDQq0du1q LpIEs0HBCWxaEZ3Tq2Q+42+bxEmrDYMt5tgAo=
MIME-Version: 1.0
Received: by 10.229.49.132 with SMTP id v4mr4459910qcf.50.1262198215465; Wed, 30 Dec 2009 10:36:55 -0800 (PST)
In-Reply-To: <202705b0912300950x41be9b9dgf5e6da59f8548f0@mail.gmail.com>
References: <9e4733910912300911m513f7826uc29d2b6e2abc132e@mail.gmail.com> <202705b0912300950x41be9b9dgf5e6da59f8548f0@mail.gmail.com>
Date: Wed, 30 Dec 2009 13:36:55 -0500
Message-ID: <9e4733910912301036s343176c4gf76127d42c134ad2@mail.gmail.com>
From: Jon Smirl <jonsmirl@gmail.com>
To: Jorge Amodio <jmamodio@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Cc: 6lowapp@ietf.org
Subject: Re: [6lowapp] Reference implementation
X-BeenThere: 6lowapp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Application protocols for constrained nodes and networks <6lowapp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/6lowapp>, <mailto:6lowapp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/6lowapp>
List-Post: <mailto:6lowapp@ietf.org>
List-Help: <mailto:6lowapp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lowapp>, <mailto:6lowapp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Dec 2009 18:37:21 -0000

On Wed, Dec 30, 2009 at 12:50 PM, Jorge Amodio <jmamodio@gmail.com> wrote:
> I second Jon's question, I'm planning to put together a reference implementation
> using a Microchip MCU and MRF24J40 but besides Contiki, ArchRock and few
> more incomplete efforts it's hard to find an active open reference
> implementation.

In my past experiences an open reference implementation makes the
standardization process go much faster and the end result is way more
compatible. This is no way implies that companies aren't free to do
closed implementations also.

6lowapp could be developed as a user space program using sockets until
everything is sorted out. Then take the core code and port it into the
devices.

Building ten different implementations of this code doesn't benefit
anyone since it introduces compatibility problems. Compatibility
problems are extremely expensive to fix once they get into the
customer's hands. The idea is to sell finished devices not dev tools.
Expanding the market through compatibility maximizes the volume of
devices sold.

Look at the mess Zigbee is in. The Zigbee IP license is GPL
incompatible. Every one of those little home routers run Linux. The
Zigbee license makes it impossible to build a simple Linux based
router with a SPI connected 802.15.4 radio in it.

I picked Contiki because it already has a working TCP stack both IPv4
and IPv6.
It has been ported to these CPUs: 6502  arm  at91sam7s  avr  cc2430
mc1322x  msp430  x86  z80
It isn't hard to port it to other CPUs. The license has almost no
restrictions other than leaving the copyright notice in.

My hardware is based on the mc13224. I have a little IPv6/6lowpan web
server running on it under Contiki. I'll share my code. Here's a cheap
place to get mc13224 hardware (i bought my dev hardware there).
http://www.redwirellc.com/store/
There is also a USB stick with integrated JTAG (ft2232) that will be
coming out soon.

>
> Any pointers ? suggestions ?
>
> Regards
> Jorge
>
> On Wed, Dec 30, 2009 at 11:11 AM, Jon Smirl <jonsmirl@gmail.com> wrote:
>> What are the plans for a 6lowapp reference implementation?
>>
>> For example there is a 6lowpan implementation in Contiki, but nobody
>> is updating it to track the current proposals.
>> Does a ROLL reference implementation exist?
>>
>> --
>> Jon Smirl
>> jonsmirl@gmail.com
>



-- 
Jon Smirl
jonsmirl@gmail.com