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

sunshine: instanceID=0 #24

Open
smlng opened this issue Aug 29, 2016 · 0 comments
Open

sunshine: instanceID=0 #24

smlng opened this issue Aug 29, 2016 · 0 comments

Comments

@smlng
Copy link

smlng commented Aug 29, 2016

Using command line options for sunshine is currently a bit tricky without proper documentation, and has some unwanted behavior (or I haven't found it, yet). Hence, it was a bit of trial and error for me to find a correct ordering for those options, specifically where to put the instanceID (-I).

Anyhow, a working command is something like:

sunshine -v -i lowpan0 -I 2 --prefix fd95:a:b:c::/64 -G fd95:a:b:c::1

This does not give an error but despite specifying -I 2 the actual instance of RPL is 0, because the DODAG is initialized when it hits the interface definition -i lowpan0, see here.


IMHO it would be better to actually init any RPL network after all options have been parsed successfully. Which would also have the benefit that options don't have to be in a certain order. I guess the original purpose/idea behind this was to allow for multiple RPL networks to be defined using cmd options? In this case, I would rather opt for some kind of config file, e.g. using YAML or JSON.

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

1 participant