[mc1322x] Contiki + 6LowPAN

Daniel Berenguer dberenguer at usapiens.com
Wed Jun 16 05:23:32 EDT 2010


The examples worked as you said Mar, except for the web page. Trying
to open http://aaaa::250:c2ff:fea8:c0f3 (my router global ipv6
address) doesn't work in Firefox. Pings work fine to either the router
and the udp client.

Daniel.


On 15 June 2010 19:45, Daniel Berenguer <dberenguer at usapiens.com> wrote:
> Thanks Mar!
>
> Daniel.
>
>
> On 15 June 2010 19:08, Mariano Alvira <mar at devl.org> wrote:
>> On Tue, Jun 15, 2010 at 06:50:05PM +0200, Daniel Berenguer wrote:
>>> Which is the easiest way to play with Contiki's 6LowPAN functionality
>>> on the Econotags? In other words, which of the available Contiki
>>> (6LowPAN) examples has been tested to work on the redwire platforms?
>>> Sending basic UDP messages is fine by the moment.
>>>
>>> I just want to have a first 6LowPAN experience with  minimal frustration :-)
>>
>> I suggest using the RPL examples:
>>
>> examples/ipv6/rpl-border-router
>> examples/ipv6/rpl-udp
>>
>> allthough examples/udp-ipv6 should work too (no RPL multi-hop though).
>>
>> Make both rpl-border-router and rpl-udp. The econotag platform now
>> generates a random Redwire EUI64 id (from which a nodes IPv6 address
>> is derived) and flashes it. Therefore the first time you run this code
>> your nodes will get EUI64 ids that will be persistent. (You can change
>> this behavior in contiki-conf.h).
>>
>> Run rpl-border-router_redbee-econotag.bin on one node and
>> udp-client_redbee-econotag.bin on another.
>>
>> Now say the router is on /dev/ttyUSB1.
>>
>> in tools, make tunslip6.
>>
>> After loading the router bin, kill the terminal so tunslip6 doesn't
>> compete. You probably want to note the IPv6 address of the
>> router. Then run:
>>
>> tunslip6 -s /dev/ttyUSB1 aaaa::1/64
>>
>> You should be able to ping the router:
>>
>> ping6 [router ip]
>>
>> You should also be able to ping the udp-client's address. udp-client
>> periodically sends a udp packet to a hardcoded ip address.
>>
>> You can also go to the border router's webpage and see all the
>> neighbors and routes.
>>
>> In firefox, I do:
>>
>> http://[ipv6 address of router]
>>
>> -Mar.
>>
>



-- 
Daniel Berenguer
http://www.usapiens.com
http://www.opnode.org



More information about the mc1322x mailing list