Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPL with latest contiki 2.7 peers not working #1

Open
sreuland opened this issue Jan 26, 2015 · 2 comments
Open

RPL with latest contiki 2.7 peers not working #1

sreuland opened this issue Jan 26, 2015 · 2 comments

Comments

@sreuland
Copy link

Hello, I was trying to use this distro on an arduino which was in turn talking to another 802.15.4 wirelesss peer which is running the latest contiki os, 2.7. It looks like the RPL messaging interface among other things has changed, and the current Arduino-IPv6Stack doesn't parse the rpl headers from the contiki 2.7 peer correctly, and then can't complete overall message. Wanted to check if there was any plans to port latest contiki 2.7 code line into Arduino-IPv6Stack?

thanks again, this project is the easiest way to get 6lowpan on arduino!

@renzoe
Copy link

renzoe commented Jan 26, 2015

Hi! Thanks to you insterest in this TelecomBretagne Project.
I've been using the IPv6 Stack with the RPL-Border Router of Contiki 2.7 with no problem. The peer communication I have not tested.
Unfortunatelly there is no plan to port contiki 2.7 to Arduino-IPv6Stack, by TelecomBretagne at least for the moment.
Thanks again for your interest in this proyect.

@sreuland
Copy link
Author

Hello, Thank you for response, that's interesting that you have another
radio on 2.7 working over RPL, I'm using the 6LBR slip-radio for econotag,
it is built off contiki 2.7, I don't know if 6LBR enhanced this further
beyond 2.7 in regards to RPL, most likely nothing significant. The problem
initially happens in uip.c, in ext_hdr_options_process, there are rpl ext
headers coming from the slip-radio, however, this version of the procedure
in IPv6Stacks isn't accounting for rpl header types and allows the rpl
headers to get interpreted as default ext headers, effectively throwing
rest of message off.

Here's the same 'ext_hdr_options_process' implementation in contiki 2.7:
https://github.com/contiki-os/contiki/blob/72679a819b8af8f1de09c9b2957454974e9b2f25/core/net/ipv6/uip6.c

it's processing a new ext header called UIP_EXT_HDR_OPT_RPL. It looked like
merging this latest 2.7 into IPv6Stack would alleviate the mismatch, sounds
like you are not seeing the same RPL compatibility issue though.

On Mon, Jan 26, 2015 at 1:10 AM, renzoe notifications@github.com wrote:

Hi! Thanks to you insterest in this TelecomBretagne Project.
I've been using the IPv6 Stack with the RPL-Border Router of Contiki 2.7
with no problem. The peer communication I have not tested.
Unfortunatelly there is no plan to port contiki 2.7 to Arduino-IPv6Stack,
by TelecomBretagne at least for the moment.
Thanks again for your interest in this proyect.


Reply to this email directly or view it on GitHub
#1 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants