ng_rpl: auto address configuration#3489
Conversation
|
I started it, but I got held up with fixing bugs in iphc and at86rf2xx and didn't get further than reading out the prefix information option from the packet, I didn't add any addresses yet. |
|
I got a chance to test it, code works for me on Mulle (w/ at86rf212b). |
|
There are some magic number which should be replaced. |
79efaae to
64c7c63
Compare
|
replaced magic numbers and make use of the configured prefix length for the interface |
64c7c63 to
f863b8f
Compare
|
rebased |
5eeb95c to
e2924c6
Compare
|
OK, I just flashed this RP with the [1] https://github.com/RIOT-OS/RIOT/pull/3489/files#diff-37d1178ebaace3fc639d9959b59ff5e0R265 |
|
@BytesGalore could you please try it with this PR merged: #3494 . This helped for me |
|
ok, will try :) |
e2924c6 to
f9022eb
Compare
|
rebased |
|
nice, the cycling of leaving joining the DODAG does not happen anymore :D |
|
ok, small update the DODAG cycling still happens but not that fast |
|
@BytesGalore could you elaborate more on what "DODAG cycling" means? What is your setup? |
99a0a08 to
7798c6b
Compare
94c5249 to
a66fc42
Compare
76f33cf to
087d292
Compare
|
I guess this needs a rebase. |
087d292 to
5dde732
Compare
|
rebased to current master |
5dde732 to
62bcac6
Compare
sys/include/net/ng_rpl/structs.h
Outdated
There was a problem hiding this comment.
* @see <a href="https://tools.ietf.org/html/rfc6550#section-6.7.10">
* RFC6550, section 6.7.10, Prefix Information
* </a>|
Rebase is required again. |
c2fdd2b to
2213d14
Compare
|
rebased and addressed @OlegHahm's comments |
|
ACK. Squash please |
2213d14 to
94b8d69
Compare
|
squashed |
ng_rpl: auto address configuration
Use
Prefix Information Optionfor auto address configuration.@gebart I am not sure if you started to work on this feature yet.
This is a very simple implementation and takes the 64 bits of the dodag-id to configure the ipv6 address of all nodes.Depends on #3050