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

Using router #11

Open
wz2b opened this issue Oct 3, 2018 · 0 comments
Open

Using router #11

wz2b opened this issue Oct 3, 2018 · 0 comments

Comments

@wz2b
Copy link

wz2b commented Oct 3, 2018

I'm trying to use the router demo because it's actually very close to what I need (assuming ms/tp support works under linux; if it doesn't I will try to fix it). But something seems oddly wrong.

The help text says it takes

~/work/bacnet-stack/demo/router$ ./router
I am router
Usage: router <init_method> [init_parameters]

init_method:
-c, --config <filepath>
        initialize router with a configuration file (.cfg) located at <filepath>
-D, --device <dev_type> [params]
        initialize a <dev_type> device specified with
        [params]

but when you try to send in -c init.cfg it fails. There is no handling of a config file option in main.c and there is a forward declaration for bool read_config(char *filepath) that doesn't seem to exist anywhere in the project. Yet the docs say all demos have been tested.

What am I missing?

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