369da70f2a
* format: Strip trailing whitespaces
We want to get rid of trailing whitespaces completly as they make just git
noice. Much better to start using automated tools to get rid of them once and
not getting them back again. This way git history will be cleaner and review
easier.
Commit was generated with:
pre-commit run --all-files trailing-whitespace
* format: Files should have exactly one new line end of them
It is good practice that every file has one new line. It is not now days so
mandatory but it also is not nice if file has lot of newlines end of it. We will
use pre-commit which takes automatically care about this so let's fix all.
Commit was generated with:
pre-commit run --all-files end-of-file-fixer
* format: Convert tabs to spaces
Project mostly use spaces over tabs. When mixing tabs and spaces this usually
makes formatting issues and also when changing those in commits it will make lot
of git noise. We will force spaces most of the time and use pre-commit to fix.
Commit was generated with:
pre-commit run --all-files remove-tabs
---------
Co-authored-by: Kari Argillander <kari.argillander@fidelix.com>
BACnet Simple Router Demo ========================= The Simple Router demo connects one BACnet/IP and one BACnet/IPv6 network. It also includes a BBMD so that Foreign Device Registration can be used to tunnel local command line demos to BACnet/IP and BACnet IPv6 networks. Configuration ============= It uses environment variables to configure the BACnet/IP port and BACnet/IPv6 address on Linux: export BACNET_IFACE=eth0 export BACNET_BIP6_IFACE=eth0 Also uses these configurations, but defaults to these values if not set: export BACNET_IP_PORT=47808 export BACNET_BIP6_PORT=47808 export BACNET_BIP6_BROADCAST=FF05 export BACNET_IP_NET=1 export BACNET_IP6_NET=2