Commit Graph

35 Commits

Author SHA1 Message Date
skarg 80185c6a63 Changed lines marked with "dangerous cast" to use memcpy. 2010-11-06 01:27:11 +00:00
bacpack d50eb7fef7 In bvlc.c, IP address and port number are always in the network byte order (including FD_Table[] and BBMD_Table[]).
The only left hton and ntoh functions are in debug_printf() and test functions.
2010-11-05 19:30:20 +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
skarg 9569f2c536 Fixed EOL and performed standard indentation. 2010-09-16 22:00:47 +00:00
skarg b769dcbe1d Indented. 2010-08-18 00:11:35 +00:00
skarg bc0de6b71f Cleaning up code by adding prototypes or include files where required. 2010-08-17 13:51:56 +00:00
skarg 6c9ef7211d Fixed indent script, and indented files. 2010-07-19 23:19:54 +00:00
petermcs 04e99f3671 Changes to reduce the number of warnings with Visual C++2008 warning level 4 to a minimum. 2010-05-14 14:21:48 +00:00
skarg 710cfccfef Indented using indent script. 2010-05-04 21:06:26 +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
skarg c04e69da8c Fixed EOL, indent. 2009-10-24 17:02:59 +00:00
skarg cd2c001d66 Corrected BLVC for BDT Ack. 2009-09-29 13:21:19 +00:00
skarg d0dd6127a2 Changed BDT create to correct host/network order of bytes. 2009-09-28 22:52:28 +00:00
skarg b9367b7bde Corrected FDT Ack. 2009-09-28 22:34:11 +00:00
skarg db61a1122f Ran indent script. 2009-07-29 18:06:33 +00:00
minack 88f3aab51d Code cleanup to get rid of some warnings during compilation. 2009-07-08 22:25:54 +00:00
skarg 241e877d23 indented. 2008-07-20 13:22:15 +00:00
skarg f6d792d30d Corrected BBMD for Forwarded-NPDU and Distributed-Broadcast-to-Network. Added source address exclusions to FDT sends. 2008-07-17 14:18:32 +00:00
skarg 7d763e9a7b Debugging BVLC. 2008-07-16 02:43:29 +00:00
skarg 56f9492dcb Corrected BVLC module for Foreign Device registration. 2008-06-23 00:19:17 +00:00
skarg 3d3d7e420d Ran the comment and indent tools on the source code. 2008-04-24 01:07:23 +00:00
skarg df310edca6 Updated Visual Studio ports project, cleaning up compile warnings. 2008-04-10 05:31:08 +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 9bbac30cf4 Added defines to ease usage with demo applications. 2008-02-20 22:47:16 +00:00
skarg d3ae827bf2 Corrected BVLC and BBMD code. 2008-01-23 05:38:29 +00:00
skarg c163a7cc93 Corrected forwarded NPDU bug. 2008-01-22 02:01:53 +00:00
skarg a63ff67e18 Enhance the bbmd registration for demos. 2008-01-22 01:43:18 +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 2e3436cb9e Changed BVLC_READ_BROADCAST_DISTRIBUTION_TABLE* into ..._DIST_... to match bacenum.h changes.
bip_get_xxx() deliver address and port in host order. Used htonl,htons to marshal them into PDU.
Fixed the BVLC beheading in the Forwarded Message case - Usually the BVLC header is 4 octets long. It's 10 octets in this case.
Extracted source address from BVLC header for forwards since it contains the original MAC address we are supposed to talk to.  
Fixed the byte order of IP and port on unicast outgoing DA.
Added BBMD_ENABLED to config.h file to allow enable and disable of BBMD at compile time.
Thank you to Tomás Zerolo for the patch!
2008-01-17 23:19:03 +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 7be00a69f3 Cleaned up compiler warnings and errors. Still needs to be finished. 2007-11-20 20:35:01 +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