-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Introduction of an of-manager for RPL. #1080
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
Conversation
sys/net/routing/rpl/rpl.c
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use C style comments:
/* initialize objective function manager */|
Doxygen documentation is missing. |
|
Fixed. Documentation is now only missing for the rest (old) rest of RPL. If there is time, if will document these parts also. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
newline
|
@OlegHahm talked to @emmanuelsearch : this should go in the next release, changed milestone to next |
|
As far as I can tell this is neither related to testing nor to documentation. Thus, it's not in the focus of the upcoming release (as discussed on Monday). If it is merged by then, it can go in, of course, but I would strongly object waiting for this PR to be merged for this release. |
|
Fixed. |
|
I agree with Oleg that the top priority for the next release is the documentation and the restructuring. But new features are not the top priority. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please move NUMBER_IMPLEMENTED_OFS in this file, this define is not used in any other place and hard to find now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I second @mehlis. And rpl_objective_functions can be removed, too, right?
|
@FabianBrandt with a last function test on Monday, we can merge this PR, that the SWP team can make use of it |
|
@FabianBrandt can you please rebase to trigger travis? |
|
@FabianBrandt my comment from 5/24 is unresolved |
|
@mehlis Sry for the long wait - somehow overlooked this PR and the urgency. New commit is there. |
|
Please rebase. |
|
@FabianBrandt: ping |
|
Ping arrived. My local repo is broken - will rebase after fixing that. Edit: madness continues. Now with a fresh clone and remote fetch every make is messed with a lot |
05a4ff8 to
c8f8da8
Compare
|
Since the mentioned error is not touched by the PR - this one is rebased. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't use `/**' for the license header - otherwise doxygen will parse it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is still missing.
|
Done |
sys/net/include/rpl/rpl_of_manager.h
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broken indentation.
|
@FabianBrandt: I think there are some tiny details left before we can merge this. |
|
Fixed the indentation and rebased. |
a8dbb39 to
3d6d427
Compare
|
@OlegHahm I think everything is ready now. |
sys/net/include/rpl/rpl_of_manager.h
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong prefix. Correct would be rpl_of_manager_init().
|
@FabianBrandt, sorry, I guess my former statement was a bit hasty. |
|
@OlegHahm Everything is ready reloaded. |
The of-manager should gather all available of´s and initialize the prefered one, based on rpl_config.h.
Introduction of an of-manager for RPL.
The of-manager should gather all available of´s and initialize the preferred one, based on
RPL_DEFAULT_OCPin rpl_config.h.