Skip to content

Using router #11

Description

@wz2b

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions