Commit Graph

  • a7de276acc Removed old code from Device_Set_System_Status() so status is only set when valid. petermcs 2010-02-08 09:56:17 +00:00
  • 634237cf43 Simplified write property code using new validation helper functions in h_wp.c. petermcs 2010-02-04 16:22:12 +00:00
  • 818ddefae5 Simplified write property code using new validation helper functions in h_wp.c. Buffered date portion when writing to start time property so that failure in time portion wouldn't leave partially written date/time. Flagged missing code in write property for shed levels and placed error response there. petermcs 2010-02-04 13:42:56 +00:00
  • a076bca5dc Device_Set_System_Status() now does some range checking (also has local flag to allow internal and external sources have different levels of control. petermcs 2010-02-03 22:45:07 +00:00
  • 9b19207fd1 Added some argument validation helper functions to simplify write property code in the objects. petermcs 2010-02-03 22:37:43 +00:00
  • f3806bb158 Fixed error class for NO_SPACE_TO_WRITE_PROPERTY when changing device name so it is for class RESOURCES. Changed Database Revision to uint32_t and now increment it when device name or ID is written (will need to look at other objects to see if they have writable ID's or names). petermcs 2010-02-01 13:19:32 +00:00
  • 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. petermcs 2010-01-26 21:30:38 +00:00
  • 0b76dd08c9 Changed debug print to properly identify service as RPM and not RP petermcs 2010-01-25 10:36:37 +00:00
  • c8d56cb6d3 Error class for password fail changed from SERVICES to SECURITY to conform to standard. petermcs 2010-01-22 15:32:00 +00:00
  • ea5c45b911 Updated time code changes to compile with Visual Studio Express 2008. petermcs 2010-01-22 15:07:21 +00:00
  • 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. petermcs 2010-01-21 21:56:33 +00:00
  • 38a182261d Added comment to describe timeGetTime. skarg 2010-01-21 21:53:30 +00:00
  • 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. petermcs 2010-01-21 21:51:20 +00:00
  • d36c29ff08 "timezone" from time.h may be updated when localtime() is called, and therefore, the timezone value should only be used after the call to localtime() which is called in our Update_Current_Time() function. Thanks, Piotr! skarg 2010-01-15 17:15:30 +00:00
  • dfd37774e4 Updated Local Time and Date to show hundredths of seconds. Fixed Daylight_Savings_Status to get updated. Changed Local Time and Date to be static. Thanks Piotr! skarg 2010-01-14 19:20:32 +00:00
  • ba795a3d2e Moved key.c and keylist.c into library for better management. Thanks Piotr! skarg 2010-01-13 18:06:42 +00:00
  • d5e0ac54d5 Changed MS/TP capture to capture beyond 65535 packets when sending to a named pipe. skarg 2010-01-12 20:05:50 +00:00
  • e42abbf74b Corrected RPM and RP in ports projects to handle MAX APDU Accepted. skarg 2010-01-11 04:39:22 +00:00
  • 468bad5d1b Enhanced example to show multiple properties in UCOV handler. skarg 2010-01-11 04:35:25 +00:00
  • 9aa653c83e Change RP and RPM demos to send an Abort if the APDU length is longer than max-APDU-length-accepted. Thank you, Carlos! skarg 2010-01-08 22:37:24 +00:00
  • 07a0a88606 Added demo send for SubscribeCOV - untested, but compiles clean. skarg 2010-01-06 11:41:48 +00:00
  • e36e38cbe6 Added BIP_DEBUG configuration. skarg 2009-12-31 15:35:37 +00:00
  • 5ced5d6f1f Fixed a socket leak. Thanks Piotr! skarg 2009-12-30 15:16:14 +00:00
  • f895ad5eaf Updated website page a little. skarg 2009-12-29 05:21:22 +00:00
  • 47ff02c9b7 Removed src/apdu.c from makefile since we are using a local stripped down version. skarg 2009-12-21 15:13:45 +00:00
  • dc2a432a65 Added alloc to ringbuf module. skarg 2009-12-18 04:20:44 +00:00
  • 11e1c80e38 Corrected private transfer encoding. skarg 2009-12-15 21:51:57 +00:00
  • 7c13ab6904 First version of Trend Log which will actually log real data. petermcs 2009-12-11 14:54:56 +00:00
  • a4a2b09e50 Performed splint on file and corrected warnings. skarg 2009-12-09 03:39:24 +00:00
  • 989ab7ffe7 Implemented ReadRange By Time for Trend Logs. petermcs 2009-12-07 12:15:15 +00:00
  • cabe973354 Removed forever loop on MS/TP receive for fast processors since the incoming character wait is significantly slower than the processor speed. Thank you Paul! skarg 2009-12-02 17:59:36 +00:00
  • 38d944d6c9 Removed forever loop on MS/TP receive for fast processors since the incoming character wait is significantly slower than the processor speed. skarg 2009-12-02 17:54:24 +00:00
  • d63618d599 Implemented Trend Log ReadRange for "By Position" and "All" options. petermcs 2009-11-29 19:32:47 +00:00
  • 52294d1dce Added fixes for Alarms and Events. Thank you Sebastien! skarg 2009-11-29 18:47:05 +00:00
  • 35ec69c307 Updates to the Trend Log object: petermcs 2009-11-25 10:23:23 +00:00
  • 916067ec59 Added skeleton Trend Log object. Currently allows properties to be read and written but has little of the required logic for trending implemented yet. petermcs 2009-11-23 08:27:09 +00:00
  • 2bb6ecfb3a Made device id optional when encoding to match spec for trend logs petermcs 2009-11-23 08:17:49 +00:00
  • e37fd2d56b Updated comment. skarg 2009-11-19 18:21:56 +00:00
  • 1d9fed6bc6 Removed or #if code that was not embedded friendly when building without an OS. skarg 2009-11-19 16:06:18 +00:00
  • 2b519a5570 Cleaned up warnings and errors when compiled with Borland C++ and with GCC. skarg 2009-11-19 16:05:22 +00:00
  • 46c78db995 Added Alarm and event source files to default library makefile to get better testing and visibility. skarg 2009-11-19 16:03:57 +00:00
  • 5b746d3016 Corrected: PROP_LOG_DEVICE_OBJECT should be PROP_LOG_DEVICE_OBJECT_PROPERTY to match the spec terminology petermcs 2009-11-17 10:42:23 +00:00
  • 628f90b0ca Corrected: Property type 173 was called last-notify-time it should be last-notify-record. Added: Enums for BACnet Log Status petermcs 2009-11-16 23:37:43 +00:00
  • 9c3f6f0c1c Corrected DeviceGetRRInfo by adding default case. Added Time/Date for demo device object. skarg 2009-11-13 23:00:33 +00:00
  • b136757079 Updated comment. skarg 2009-11-12 02:56:32 +00:00
  • c9980fbfba Corrected seeprom page writes. skarg 2009-11-11 21:54:22 +00:00
  • 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. petermcs 2009-11-10 15:37:11 +00:00
  • eb370fa972 Changed RetryCount in TSM to count up, which matches the BACnet spec language, and removes the bug when APDU Retries is 0. skarg 2009-11-10 12:03:34 +00:00
  • b95b01772d Ran SPLINT (secure programming LINT) and fixed warnings. skarg 2009-11-10 03:41:22 +00:00
  • 7ba1625924 Corrected compiler warning. skarg 2009-11-10 03:14:05 +00:00
  • edc7c6c577 Added test for array options on RP and RPM to all object properties that are not arrays. skarg 2009-11-05 15:39:46 +00:00
  • 2c2fbdeeef Clarified some comments. skarg 2009-11-03 20:15:49 +00:00
  • 788b6905d7 Corrected GetEventInfo to return correctly formed chunks and not invoke assert. skarg 2009-11-02 20:12:26 +00:00
  • 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. skarg 2009-11-02 12:16:03 +00:00
  • 03ef870f4b Checking in Microsoft Visual Studio 2008 build environment for Who-Is.exe and Server.exe bitstest 2009-11-02 00:55:52 +00:00
  • d6c4b11854 Corrected spacing on WhoIs demo output. skarg 2009-10-28 21:07:53 +00:00
  • e98424b9aa incremented version number skarg 2009-10-24 19:10:05 +00:00
  • 2d73c37495 Enabled copy to SF. skarg 2009-10-24 18:45:10 +00:00
  • b6dd7f690c Changed expressions. skarg 2009-10-24 18:44:41 +00:00
  • 3626b302c8 corrected to pass unit testing skarg 2009-10-24 18:13:59 +00:00
  • 104aa6a4ef Corrected compiler warnings. skarg 2009-10-24 17:53:25 +00:00
  • c04e69da8c Fixed EOL, indent. skarg 2009-10-24 17:02:59 +00:00
  • 857d0c185d Added named pipe to linux port of mstpcap. skarg 2009-10-24 16:24:33 +00:00
  • 2917c9abf0 Converted C++ comments to C comments skarg 2009-10-24 15:49:00 +00:00
  • d8b6557641 Added UnconfirmedPrivateTransfer client send function. skarg 2009-10-20 21:48:38 +00:00
  • af30d31a6c Added UnconfirmedPrivateTransfer encoding and demo handler. skarg 2009-10-20 17:26:06 +00:00
  • fdeb2f3f0f Changed RS485 interface to allow lower/upper case for Win32. skarg 2009-10-20 17:25:17 +00:00
  • 8bb5ccd804 Corrected BACnet/IP MAX APDU to have only a max of 1497 bytes. skarg 2009-10-20 17:23:48 +00:00
  • 694abdeb4e Second phase of address cache refactoring: petermcs 2009-10-16 19:27:35 +00:00
  • 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. petermcs 2009-10-16 19:12:56 +00:00
  • e10e1f2614 Fixed compile for Linux. skarg 2009-10-16 14:11:58 +00:00
  • a7c598306b Changed the object type print to be as defined in EPICS. Changed property names to show "proprietary #" when in proprietary range. skarg 2009-10-15 04:06:19 +00:00
  • 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! skarg 2009-10-14 21:15:10 +00:00
  • 8130a50817 Enhanced a debug print statement. skarg 2009-10-12 18:25:38 +00:00
  • f82a844952 Changed the GetEventInfo handler somewhat to make it easier on data storage. skarg 2009-10-12 05:27:08 +00:00
  • a790c053d2 Added GetEventInformation service, handler, unit test. skarg 2009-10-12 04:44:25 +00:00
  • b7f9f83667 Added reverse lookup for Binary Present Value. skarg 2009-10-11 00:35:46 +00:00
  • 5b60c94fad Refactored timestamp for use in Alarm properties in objects. skarg 2009-10-10 21:48:13 +00:00
  • d88d85b5cd Corrected Binary output and value in some demos that didn't return the priority array element correctly. skarg 2009-10-07 22:14:31 +00:00
  • 1c82dda7d6 Added unrecognized service handler to ports demos. skarg 2009-10-07 21:46:36 +00:00
  • 3895863bba Updated version number - preparation for release. skarg 2009-10-07 16:36:45 +00:00
  • 6b05ae39b8 Corrected the write of the Device object name for the demo object. skarg 2009-10-07 16:35:50 +00:00
  • 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. petermcs 2009-10-01 08:14:28 +00:00
  • 5c94160a50 Added in object initialisation and installed RPM handler to make the server mode more functional for testing. petermcs 2009-10-01 08:07:53 +00:00
  • cd2c001d66 Corrected BLVC for BDT Ack. skarg 2009-09-29 13:21:19 +00:00
  • d0dd6127a2 Changed BDT create to correct host/network order of bytes. skarg 2009-09-28 22:52:28 +00:00
  • b9367b7bde Corrected FDT Ack. skarg 2009-09-28 22:34:11 +00:00
  • 667782bddb Added minimum device object name length check. skarg 2009-09-28 15:44:47 +00:00
  • 8d0e5d28f9 Added method to reverse lookup property name index. skarg 2009-09-28 15:40:49 +00:00
  • e8d91faaac Added encoding and decoding for ReadRange service, associated handlers and test application. petermcs 2009-09-25 21:56:49 +00:00
  • 6f254401c0 Removed debugging changes. skarg 2009-09-18 18:39:41 +00:00
  • 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. skarg 2009-09-18 18:35:30 +00:00
  • 9646d8ad1a fixed compile warnings. skarg 2009-09-17 22:21:06 +00:00
  • 6a2f9d7ed1 Fixed some white space inconsistencies. skarg 2009-09-17 15:59:43 +00:00
  • 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! skarg 2009-09-17 03:38:20 +00:00
  • bc01893af4 Added enumerations and text for notification class object support. skarg 2009-09-14 10:58:19 +00:00
  • c4e56abcea Added send for ConfirmedEventNotification. skarg 2009-09-12 18:00:42 +00:00
  • 6cfc2b805f Added MS/TP debugging to serial port test. skarg 2009-09-11 23:13:45 +00:00
  • ab1db5296e Added COV Subscriptions to the RPM lists. skarg 2009-09-11 23:13:20 +00:00
  • 593d518bc8 Fixed line end characters. skarg 2009-09-11 15:51:53 +00:00