I've just published a tutorial explaining how to use Contiki's COAP
demo `rest-example-server` using Econotags and RPL; it should be
useful for people using other hardware as well.
You can find it here:
http://mc1322x.devl.org/repos/contiki-mc1322x/cpu/mc1322x/doc/rest-tutorial.md
My contiki-mc1322x.git master branch as been updated with all of the
fixes to make this work. There is only one change that affects other
platforms, the make all target in rest-example needs to be changed to
rest-example-server. Once the new SCM system is online, all of these
changes will be pulled into upstream.
At somepoint these docs will make it on to the Contiki Wiki too!
Have fun,
-Mar.
------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world?
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Contiki-developers mailing list
Contiki-d...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Yes, thanks guys!
-Mar.
I tried the tutorial and wanted to start porting my projects from the Ravens (with the old Jackdaw border router and Contiki-2.4) to the Econotag as it provides the resources to run RPL and CoAP REST server.
The new toolchain from Codesourcery is easy to set up and works fine, however, I have problems to get it working (in a deterministic way) although following the tutorial step by step with a fresh git clone and toolchain.
I would recommend to add the following information to ease the process:
toolchain.md:
- directly mention the packages required for mc1322x-load.pl:
sudo apt-get install libdevice-serialport-perl
sudo apt-get install libterm-readkey-perl
rpl-tutorial.md: (maybe a separate "Getting started with Contiki" would be better)
- building bbmc and adding it to the path
- building flasher and adding it to the path
Actually, I would expect both to be in the tools directory.
Also, I think something must be fixed there:
~/contiki-mc1322x/cpu/mc1322x/tests$ make BOARD=redbee-dev
git submodule update --init
You need to run this command from the toplevel of the working tree.
make: *** [submodule] Error 1
- hint to quit mc1322x-load.pl before running tunslip6
- hint explicitly that radvd is not required
I am quite confused about the current address assignment process...
====> Would be very cool, if someone could summarize the current situation of RPL vs. 6LoWPAN ND.
rest-tutorial.md:
- ping the Econotag to set up a route after programming the server
- check border router Web site for address(es)
Best regards
Matthias
Some of the notes are handled in the following pages:
http://mc1322x.devl.org/libmc1322x.html
http://mc1322x.devl.org/bbmc.html
One of the reason for the different organization is that Contiki
includes libmc1322x, which has the mc1322x specific tools. This is the
reason your flasher build didn't work --- it's not something I test in
the Contiki tree; I'm not sure if I'm going to fix it yet, or remove
it from the Contiki tree. For now, my suggestion is to just clone
libmc1322x as well and build flasher and bbmc from there.
Regardless, I'll merge in your notes soon!
(and hopefully start pushing things to the Contiki wiki)
-Mar.
----- Original Message -----
From: "Kovatsch Matthias" <kova...@inf.ethz.ch>
To: "Contiki developer mailing list" <contiki-d...@lists.sourceforge.net>
Sent: Tuesday, February 08, 2011 1:08 PM
Subject: Re: [Contiki-developers] COAP demo and tutorial
> Hey there
>
> I tried the tutorial and wanted to start porting my projects from the Ravens (with the old Jackdaw border router and Contiki-2.4)
> to the Econotag as it provides the resources to run RPL and CoAP REST server.
The Raven has enough RAM to run that configuration, however, I was not happy with the response times, so I want to try the Econotag/ARM core.
> -----Ursprüngliche Nachricht-----
> Von: David Kopf [mailto:dak...@embarqmail.com]
> Gesendet: Dienstag, 8. Februar 2011 19:55
> An: Contiki developer mailing list
> Betreff: Re: [Contiki-developers] COAP demo and tutorial
another fun thing to do is run a border-router and a a stock
webserver-ipv6 client. Then browse it's pages. The blinking red lights
will give you a good idea about how much of the latency is in the
radio vs. how much is in "other stuff".
-Mar.
The jury is still out on processing power. USB transfers do slow it down, but some missed packets attributed to timing may have due
to it not doing a clear channel assessment before transmitting. The code has been fixed, but it is not clear to me how a packet
could ever get received in contiki when both sides want to transmit at the same time...
----- Original Message -----
From: "Kovatsch Matthias" <kova...@inf.ethz.ch>
To: "Contiki developer mailing list" <contiki-d...@lists.sourceforge.net>
Sent: Tuesday, February 08, 2011 4:17 PM
Subject: Re: [Contiki-developers] COAP demo and tutorial
Some time ago, I read that the Jackdaw is not powerful enough to serve as RPL border router. Both RAM size and processing power for
incoming packets were issues, as far as I remember correctly. What do you mean by "full-sized MCU and abbreviated stack"? Have not
stumbled upon that so far...
Thanks for the info, though! I will test it.
The Raven has enough RAM to run that configuration, however, I was not happy with the response times, so I want to try the
Econotag/ARM core.
.sourceforge.net/lists/listinfo/contiki-developers
> -----Ursprüngliche Nachricht-----
> Von: David Kopf [mailto:dak...@embarqmail.com]
> Gesendet: Dienstag, 8. Februar 2011 23:13
> An: Contiki developer mailing list
> Betreff: Re: [Contiki-developers] COAP demo and tutorial