Commit Graph

33 Commits

Author SHA1 Message Date
skarg 0be5ddce65 Fixed BACnet/IP to handler remote network broadcast that is unicast to the router. 2014-08-02 00:05:00 +00:00
skarg ba3242aafd indented using indent.sh script to get uniform looking code for release 2013-03-13 22:17:13 +00:00
skarg c28f55d3df Added parenthesis to provide clarity and make it obvious to anyone maintaining the code. 2012-09-27 19:26:11 +00:00
skarg 6a2d467fc2 DADR is only valid when DNET is specified (i.e. net is non-zero). 2012-09-19 21:27:00 +00:00
netp 6a8fdcca74 added checks to allow broadcast to network or if mac address is not specified 2012-08-07 03:43:19 +00:00
skarg 48e2c60ce2 indented to standard from script 2012-05-13 15:07:12 +00:00
skarg 285c09641a Fixed comment. 2012-03-10 20:19:11 +00:00
skarg 48c756bc11 Removed checks for previous BVLC messages since that is not correct behavior for BIP, especially when a WhoIs, I-Am, ReadProperty sequence occurs. This was causing messages to be sent as broadcast instead of unicast. 2012-02-21 21:53:37 +00:00
skarg 9e8c2b0927 Added explicit datalink_cleanup to all demo applications.
Moved bip_cleanup() to port specific files.
This works better for bacnet-stack DLLs.
2012-02-10 22:12:15 +00:00
tbrennan3 416eee50fe Per the BTL test cases for 14.1.7, 14.1.x1, and 14.1.8, the device should respond back with an original-broadcast-npdu for a Forward-NPDU and an Original-Broadcast-NPDU; this makes this so for BACnet/IP.
Minor fixes for build errors and warnings.
2011-10-19 18:48:24 +00:00
skarg 551637d6af Undefined error print since this case is very common for the client applications. 2011-10-05 14:31:09 +00:00
skarg 3bd72dc18d Removed fix for Revision 2094, as this broke the ability to bind to MAC addresses, and the NPDU is the source for the SNET in the address. 2011-10-03 14:12:53 +00:00
tbrennan3 7eb2109dc4 Added the ability to ask for the BVLC Function Code in the lower layers; particular need was to recognize bcasts and not respond with Reject-Message-to-Network. 2011-09-30 20:00:48 +00:00
tbrennan3 3c9f0c9298 Had an issue where Original_Broadcast requests were not responded to with Original_Broadcast packets; this is a fix for that. 2011-09-19 15:20:26 +00:00
tbrennan3 364293b075 Added NAK functionality for BBMD commands when not supported.
Also record any BVLL Result returned to us (eg, for foreign device registration).
2011-09-12 20:52:42 +00:00
skarg 2a0bf4926a Performed standard indent script indent.sh on project files. 2010-12-15 19:02:40 +00:00
bacpack a639864cc8 In bip.c getter and setter functions of IP address and Port number expect and return values in the network byte order. All ntoh and hton were eliminated from bip.c.
All other modules changed to be consistent.
arm7 port left unchanged.
2010-11-04 13:30:26 +00:00
bacpack 73415f4a5d Modified to store and use IP addresses and the IP port number in the network byte order. 2010-10-29 17:29:01 +00:00
bacpack 76260a994d Fix receive BVLL Forwarded-NPDU message: the received source address is in network data format and it has to be stored in the same format.
Note: the encode_ and decode_ functions are broken; they ignore host's endianness.
2010-10-27 14:50:52 +00:00
tbrennan3 f92316649b Started a Doxygen module for DataLink layer, for the default DataLink templates and for BACnet/IP. 2010-03-24 03:41:39 +00:00
tbrennan3 cc20f225b9 The beginning of doxygenation:
As a first step, added an @file description for each file.
2010-02-14 05:29:43 +00:00
minack 88f3aab51d Code cleanup to get rid of some warnings during compilation. 2009-07-08 22:25:54 +00:00
skarg 3d3d7e420d Ran the comment and indent tools on the source code. 2008-04-24 01:07:23 +00:00
skarg 140f9369fc Corrected the BACnet/IP code to accept packets Forwarded from BBMDs. Thank you Carl! 2008-04-16 14:50:34 +00:00
skarg cf9d15631a Indented using indent script. Corrected any C++ comments using the comment script. 2008-03-10 21:00:48 +00:00
skarg cff20d7669 Cleaned up compiler warnings for Borland 5.5 compile. 2008-03-08 15:09:14 +00:00
skarg 5bef9a18e2 Modified the WhoIs demo to use BBMD if configured for BACnet/IP. Corrected the BVLC code. 2008-01-22 01:18:12 +00:00
skarg ef4f7bbf22 Added debug info. 2008-01-21 04:53:41 +00:00
skarg e4ccba8310 Added debugging. 2008-01-21 03:03:43 +00:00
skarg 1477603af6 indented. 2007-11-29 16:39:48 +00:00
skarg 411d6c1b24 Indented. 2007-11-29 15:56:53 +00:00
skarg b3896ea4f4 Added more functionality to BVLC (untested and uncompiled), and corrected BIP. 2007-10-16 01:24:22 +00:00
skarg a2506536ed Moved header files into the include directory. Moved source files into the src directory. Still need to updated the makefiles and projects. 2007-10-10 03:34:37 +00:00