skarg
8e573aed89
Changed structure copy to explicit copy.
2016-09-28 21:21:13 +00:00
skarg
278af89fa2
Added enhancement to address cache: Top Protected Entry: entries from 0 to Top_Protected_Entry are not removed by address_remove_oldest()function. When I-am attack occurs only entries between Top_Protected_Entry and MAX_ADDRESS_CACHE can be removed.
2016-08-12 21:57:57 +00:00
skarg
e98f74424d
Fixed address_cache handling of hex DADR addresses for MS/TP or ARCNET devices. Thank you, Marshal!
2015-03-06 21:55:58 +00:00
skarg
ccad9165c5
Refactored address decoding from demo command line function into address library.
2014-08-15 13:17:46 +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
d09657474c
fixed whois demo to be compatible with address_cache ability which parses the text of the whois output.
2012-09-27 19:25:24 +00:00
vasyl-tkhir
296c8c5bb0
fixed read past end of array by defining mac[MAX_MAC_LEN] instead of mac[6]
2012-08-07 10:01:27 +00:00
skarg
48e2c60ce2
indented to standard from script
2012-05-13 15:07:12 +00:00
skarg
bc8d262add
Added scanf bit-width modifiers due to ccpcheck warnings.
2012-04-16 22:00:53 +00:00
skarg
3e1cb1847f
Indented project.
2011-08-17 02:27:11 +00:00
skarg
2a0bf4926a
Performed standard indent script indent.sh on project files.
2010-12-15 19:02:40 +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
3c9c3c2d56
Updated prototypes and include as required and found by compile with extra checking. Thanks to Nigel Jones for his "setting a bad example" article.
2010-08-17 19:43:59 +00:00
skarg
6c9ef7211d
Fixed indent script, and indented files.
2010-07-19 23:19:54 +00:00
petermcs
4ef686d2ae
fixed polarity of static check in address_cache_timer so that non static entries are aged correctly (bug id 3003518.).
2010-05-18 19:38:28 +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
petermcs
ecb1f2064f
Folded error class and code into BACNET_READ_RANGE_DATA structure.
2010-02-15 11:41:23 +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
e4080f41da
Corrected some warnings generated from Borland compile.
2010-02-10 17:43:11 +00:00
skarg
a4a2b09e50
Performed splint on file and corrected warnings.
2009-12-09 03:39:24 +00:00
petermcs
b8251f314f
Implemented ReadRange functionality for the device "Device Address Binding" property and modified the ReadRange test app to use this real property for its target.
...
Implemented a framework for allowing the ReadRange handler determine which properties support ReadRange and which varients of ReadRange they support.
2009-11-10 15:37:11 +00:00
skarg
b95b01772d
Ran SPLINT (secure programming LINT) and fixed warnings.
2009-11-10 03:41:22 +00:00
skarg
c04e69da8c
Fixed EOL, indent.
2009-10-24 17:02:59 +00:00
petermcs
694abdeb4e
Second phase of address cache refactoring:
...
1. Added time to live functionality
2. Added option of partial cache init on reset to reduce traffic for controllers that can preserve RAM over power cycle/reset.
3. Can now put new entries in the cache even if it is full - entry nearest to expiry is dropped to make room.
2009-10-16 19:27:35 +00:00
petermcs
17e2d7fc8d
Started on refactoring of address caching.
...
1. Added support for building address binding list for device object
2. Changed table traversal code to use pointers instead of array indexes as this produces much more efficient code on many smaller processors where multiplication is expensive
3. fixed issue where binding requests can be overwritten by first I AM that comes along.
4. Converted multiple state variables in cache entries to single flag bitmap.
2009-10-01 08:14:28 +00:00
skarg
b85c4355d0
Indented according to standard indent rules for this project.
2009-04-18 20:50:04 +00:00
skarg
ebdf8f9e22
Corrected bug introduced when splinting.
2009-04-18 20:46:59 +00:00
skarg
c17962107c
Corrected warnings found by splint.
2009-04-18 17:54:39 +00:00
skarg
12966253d0
Added back address_match with corrections.
2008-11-29 14:36:57 +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
b8ee7d6b9c
Added ability to use static address binding in file address_cache. Useful for client applications binding to MS/TP slave devices.
2008-03-01 06:42:46 +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
8e280c73cf
Corrected grammar in comment.
2007-10-31 23:11:18 +00:00
skarg
801342e85b
Added function to get the device instance number from the address cache using the MAC address.
2007-10-31 23:01:43 +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