Commit Graph

171 Commits

Author SHA1 Message Date
tbrennan3 4c99467009 Added Send_I_Am_Unicast() and used it in inhandler_who_is(). Sends directly back to the source address instead of a broadcast, per Addendum 135-2008q-1. 2010-02-15 20:47:20 +00:00
skarg cba6197fe3 Fixed compiler warnings. 2010-02-15 20:11:13 +00:00
petermcs ecb1f2064f Folded error class and code into BACNET_READ_RANGE_DATA structure. 2010-02-15 11:41:23 +00:00
tbrennan3 a911eea98f The beginning of doxygenation:
As a first step, added an @file description for each file.
2010-02-14 05:41:45 +00:00
skarg 6c1b5b7e68 Decoupled the demo handler from the demo object for ReinitializeDevice service. 2010-02-13 13:38:00 +00:00
skarg c8d959b3e3 Corrected some compiler warnings. 2010-02-12 22:31:09 +00:00
skarg ff8746d5f5 Corrected return value check for bool type. 2010-02-12 22:19:18 +00:00
skarg f0863c0238 Refactored RP, WP, RPM to reduce coupling with objects for Linux and Win32 ports. 2010-02-10 16:27:31 +00:00
petermcs 9b19207fd1 Added some argument validation helper functions to simplify write property code in the objects. 2010-02-03 22:37:43 +00:00
petermcs bfa8936bf5 Changed a bunch of debug and information printfs so that they have a better chance of working on systems where int is smaller than 32 bits also fixed the signed/unsigned type of some to match the type of the arguments. 2010-01-26 21:30:38 +00:00
petermcs 0b76dd08c9 Changed debug print to properly identify service as RPM and not RP 2010-01-25 10:36:37 +00:00
petermcs c8d56cb6d3 Error class for password fail changed from SERVICES to SECURITY to conform to standard. 2010-01-22 15:32:00 +00:00
petermcs a724293088 Modified to check password in the same fashion as h_dcc. This saves on having a static BACnet string which frees up 1.5KB. 2010-01-21 21:56:33 +00:00
petermcs 45c631b133 Fixed up error return so that we report not having a particular instance of an object differently to not supporting that object type at all. 2010-01-21 21:51:20 +00:00
skarg e42abbf74b Corrected RPM and RP in ports projects to handle MAX APDU Accepted. 2010-01-11 04:39:22 +00:00
skarg 468bad5d1b Enhanced example to show multiple properties in UCOV handler. 2010-01-11 04:35:25 +00:00
skarg 9aa653c83e Change RP and RPM demos to send an Abort if the APDU length is longer than max-APDU-length-accepted. Thank you, Carlos! 2010-01-08 22:37:24 +00:00
skarg 07a0a88606 Added demo send for SubscribeCOV - untested, but compiles clean. 2010-01-06 11:41:48 +00:00
skarg e36e38cbe6 Added BIP_DEBUG configuration. 2009-12-31 15:35:37 +00:00
petermcs 7c13ab6904 First version of Trend Log which will actually log real data. 2009-12-11 14:54:56 +00:00
petermcs d63618d599 Implemented Trend Log ReadRange for "By Position" and "All" options.
Fixed some issues in the rest of the Trend Log code and the general ReadRange code..
2009-11-29 19:32:47 +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 7ba1625924 Corrected compiler warning. 2009-11-10 03:14:05 +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
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 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 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 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
petermcs e8d91faaac Added encoding and decoding for ReadRange service, associated handlers and test application. 2009-09-25 21:56:49 +00:00
skarg c4e56abcea Added send for ConfirmedEventNotification. 2009-09-12 18:00:42 +00:00
petermcs 8d80d25322 Added sample Confirmed Private Transfer implementation files and demo for same. 2009-09-04 11:25:47 +00:00
skarg de35ce7c5e Added optional API for some objects. Added ability to set password for default DCC handler. 2009-09-04 04:21:59 +00:00
skarg a28760bf56 Added init functions to object header files. Finished refactoring the demo read and write property handlers to use function tables. 2009-08-23 03:26:30 +00:00
skarg 3dc3da5735 Changing handlers to register objects so that handlers can remain unchanged. In Progress! 2009-08-22 19:27:18 +00:00
skarg e91062cd53 The demo UTC time synchronization function 'Send_TimeSyncUTC was missing the NPDU encoding. Thank you, lopelope! 2009-07-21 14:07:38 +00:00
skarg 6e6cdf2bc0 Added the call to Multistate_Output_Property_Lists() into the switch statement in RPM_Property_List(). It was noticed because the Scada Engine BOWS chokes on this when it tries to do an RPM "all" and stops using RPM for all the other objects on the device as well. Thank you, Peter! 2009-06-17 23:24:32 +00:00
skarg 7032168ff5 Ran the fixup, indent, and comment scripts to standardize the source code. 2009-05-24 01:49:21 +00:00
minack 8e670ef3f9 Changes:
Added codecs/demo handler/demo client for Alarm Ack service.
Updated relevant global header files client.h and handlers.h
Fixed up incorrect return val for lso handler.
2009-05-23 03:16:28 +00:00
skarg 7916c7a6de Consolodated the datalink environment variable for building demos on Linux and Windows into a single module (dlenv). Adjusted most demo makefiles. 2009-05-22 01:45:38 +00:00
skarg 0c4edb33d9 Fixed up file indent, comments, and eol-type. 2009-05-13 03:46:02 +00:00
skarg fa3607d948 Corrected ReadPropertyMultiple for some objects. Added catch for case where malformed RPM-Ack is received. 2009-05-12 20:23:01 +00:00
skarg 6da080105d Cleaned up Borland compiler warnings. 2009-04-19 20:05:06 +00:00
skarg b85c4355d0 Indented according to standard indent rules for this project. 2009-04-18 20:50:04 +00:00
skarg 6656304d37 Fixed up dos eol and svn eol type. 2009-04-18 20:48:08 +00:00