2ecb1a2bc8
* Fix routing to a remote network in the router-mstp example. The net, len and adr fields of remote_dest are not initialized although they are used by the npdu_encode_pdu function in case of "Routing to another Router". Thank you, Eugene! * Fixed handling of received MS/TP extended frames. mstp_port->DataLength should be set to the actual length of decoded data. * Fix MSTP_Master_Node_FSM and MSTP_Slave_Node_FSM for extended frames. BACNET_EXTENDED_DATA frames should be treated the same as their corresponding BACNET_DATA frames. * Fixed MSTP COBS frame encoding cobs_frame_encode writes the encoded data to the beginning of the buffer, overwriting the frame header. The frame header is constructed before COBS frame encoding, so it contains the wrong Frame Type and Data Length. * Added extended frame client unit test * Fix router-ipv6 application for remote networks
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