Commit Graph

1458 Commits

Author SHA1 Message Date
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 eb370fa972 Changed RetryCount in TSM to count up, which matches the BACnet spec language, and removes the bug when APDU Retries is 0. 2009-11-10 12:03:34 +00:00
skarg b95b01772d Ran SPLINT (secure programming LINT) and fixed warnings. 2009-11-10 03:41:22 +00:00
skarg 7ba1625924 Corrected compiler warning. 2009-11-10 03:14:05 +00:00
skarg edc7c6c577 Added test for array options on RP and RPM to all object properties that are not arrays. 2009-11-05 15:39:46 +00:00
skarg 2c2fbdeeef Clarified some comments. 2009-11-03 20:15:49 +00:00
skarg 788b6905d7 Corrected GetEventInfo to return correctly formed chunks and not invoke assert. 2009-11-02 20:12:26 +00:00
skarg 55d96cdfad made the RPM encoder static since it uses a static local buffer, and was a problem if RPM tries to encode a group object using this RPM encoder. 2009-11-02 12:16:03 +00:00
bitstest 03ef870f4b Checking in Microsoft Visual Studio 2008 build environment for Who-Is.exe and Server.exe 2009-11-02 00:55:52 +00:00
skarg d6c4b11854 Corrected spacing on WhoIs demo output. 2009-10-28 21:07:53 +00:00
skarg e98424b9aa incremented version number 2009-10-24 19:10:05 +00:00
skarg 2d73c37495 Enabled copy to SF. 2009-10-24 18:45:10 +00:00
skarg b6dd7f690c Changed expressions. 2009-10-24 18:44:41 +00:00
skarg 3626b302c8 corrected to pass unit testing 2009-10-24 18:13:59 +00:00
skarg 104aa6a4ef Corrected compiler warnings. 2009-10-24 17:53:25 +00:00
skarg c04e69da8c Fixed EOL, indent. 2009-10-24 17:02:59 +00:00
skarg 857d0c185d Added named pipe to linux port of mstpcap. 2009-10-24 16:24:33 +00:00
skarg 2917c9abf0 Converted C++ comments to C comments 2009-10-24 15:49:00 +00:00
skarg d8b6557641 Added UnconfirmedPrivateTransfer client send function. 2009-10-20 21:48:38 +00:00
skarg af30d31a6c Added UnconfirmedPrivateTransfer encoding and demo handler. 2009-10-20 17:26:06 +00:00
skarg fdeb2f3f0f Changed RS485 interface to allow lower/upper case for Win32. 2009-10-20 17:25:17 +00:00
skarg 8bb5ccd804 Corrected BACnet/IP MAX APDU to have only a max of 1497 bytes. 2009-10-20 17:23:48 +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 0f28f99ade Added in object handlers to make the demo work more like it did before the property access API was changed. This is handy when testing as multiple copies of the program can then read from each others device. Also added in Visual Studio 2008 Express project files. 2009-10-16 19:12:56 +00:00
skarg e10e1f2614 Fixed compile for Linux. 2009-10-16 14:11:58 +00:00
skarg a7c598306b Changed the object type print to be as defined in EPICS.
Changed property names to show "proprietary #" when in proprietary range.
2009-10-15 04:06:19 +00:00
skarg deba2aab3e Added a Named Pipe to MS/TP Capture utility so that Wireshark can capture MS/TP packets in realtime using the named pipe as the interface name. Thank you Lori! 2009-10-14 21:15:10 +00:00
skarg 8130a50817 Enhanced a debug print statement. 2009-10-12 18:25:38 +00:00
skarg f82a844952 Changed the GetEventInfo handler somewhat to make it easier on data storage. 2009-10-12 05:27:08 +00:00
skarg a790c053d2 Added GetEventInformation service, handler, unit test. 2009-10-12 04:44:25 +00:00
skarg b7f9f83667 Added reverse lookup for Binary Present Value. 2009-10-11 00:35:46 +00:00
skarg 5b60c94fad Refactored timestamp for use in Alarm properties in objects. 2009-10-10 21:48:13 +00:00
skarg d88d85b5cd Corrected Binary output and value in some demos that didn't return the priority array element correctly. 2009-10-07 22:14:31 +00:00
skarg 1c82dda7d6 Added unrecognized service handler to ports demos. 2009-10-07 21:46:36 +00:00
skarg 3895863bba Updated version number - preparation for release. 2009-10-07 16:36:45 +00:00
skarg 6b05ae39b8 Corrected the write of the Device object name for the demo object. 2009-10-07 16:35:50 +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
petermcs 5c94160a50 Added in object initialisation and installed RPM handler to make the server mode more functional for testing. 2009-10-01 08:07:53 +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 667782bddb Added minimum device object name length check. 2009-09-28 15:44:47 +00:00
skarg 8d0e5d28f9 Added method to reverse lookup property name index. 2009-09-28 15:40:49 +00:00
petermcs e8d91faaac Added encoding and decoding for ReadRange service, associated handlers and test application. 2009-09-25 21:56:49 +00:00
skarg 6f254401c0 Removed debugging changes. 2009-09-18 18:39:41 +00:00
skarg d1f167c539 Added unit test to rs485 windows port to allow sending a string of ascii hex out the rs485 port to inject messages onto the wire. 2009-09-18 18:35:30 +00:00
skarg 9646d8ad1a fixed compile warnings. 2009-09-17 22:21:06 +00:00
skarg 6a2f9d7ed1 Fixed some white space inconsistencies. 2009-09-17 15:59:43 +00:00
skarg 69fad0502a Changed MS/TP idle state: when no-token timeout occurs, clear the receive frame flags in case a message was received and timeout occurred, which may cause MS/TP to stop working in optimized dlmstp loops which don't check for new events when either of those flags are set. Thank you, Jason! 2009-09-17 03:38:20 +00:00
skarg bc01893af4 Added enumerations and text for notification class object support. 2009-09-14 10:58:19 +00:00