bacnet-stack
bacnet-stack copied to clipboard
Using router
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?