Commit Graph

434 Commits

Author SHA1 Message Date
skarg 85aed6b123 Fixed compile error exposed by unit test. Thanks, Morten! 2013-12-09 19:30:19 +00:00
skarg b8267024d7 fixed compile warning with a cast 2013-11-19 04:49:44 +00:00
skarg 94cf94b09d added text printing for property-list property. Added property-list property to analog-input object. 2013-11-16 21:49:06 +00:00
skarg cedaa5a944 added Lighing Output object to property lists 2013-11-16 00:14:55 +00:00
skarg 2f0bf7744a Added property-list property to Lighting Output and Channel objects (untested). Fixed some compiler warnings. 2013-11-15 20:51:38 +00:00
skarg b363f9dedb Added unit test for lighting command encoding and decoding. 2013-11-14 20:21:46 +00:00
skarg 4d79c26a8c Updated Lighting Output object. Added Channel object. Not complete and not fully tested. 2013-11-11 22:27:55 +00:00
skarg 55599cafaa Added apdu length checking in who-is decode. Now returning standard error define. 2013-10-31 15:50:35 +00:00
skarg 1b9d85e7e7 Added some optional channel properties to the proplist module. 2013-10-30 22:17:05 +00:00
skarg 9b5c46966a ran comment.sh script on files to clean up cpp comments. 2013-10-29 01:59:22 +00:00
skarg 56b65e9694 indented using indent.sh script. 2013-10-29 01:55:49 +00:00
skarg a43ef066b7 Removed unused device.h includes in src files. Thanks, Miguel! 2013-10-28 20:55:58 +00:00
skarg 1210ca620e Fixed timeout function call. Thanks, Daniel! 2013-10-22 19:24:06 +00:00
skarg ec1ffa8598 Added TSM timeout callback function. 2013-10-16 17:41:10 +00:00
skarg 7361bb4650 1. Added new file s_wpm.c (Send_Write_Property_Multiple_Request_Data)
2. Changed file wpm.h (new struct added BACNET_WRITE_ACCESS_DATA, declaration for wpm_encode_apdu added)
3. Changed file wpm.c (definition added for wpm_encode_apdu)
4. client.h file updated with declaration for Send_Write_Property_Multiple_Request_Data

Thank you for the contribution, Daniel Blazevic!
2013-10-09 21:49:15 +00:00
skarg 0600454320 Renamed and fixed proprietary min-max range defines for units, program-error, restart-reason, reliability, event, life-safety-mode, life-safety-operation, life-safety-state, silenced-state, maintenance, object-type, and vt-class. Updated unit tests and other files affected. The max range must be declared inside of enum so that compilers will allocate adequate sized datatype for enum which is used to store decoded values. 2013-10-09 15:42:26 +00:00
skarg eaeea83e3d Renamed and fixed proprietary min-max range defines for reject and abort codes. 2013-10-09 15:08:29 +00:00
skarg f6cf0acc12 Fixed time-sync recipient list encoding. 2013-10-09 14:51:44 +00:00
skarg c0843c8134 added channel object to proplist. Added unit test to proplist. 2013-10-08 15:57:41 +00:00
skarg 252ffd934c Enhanced mstpcap utility to show Device ID in statistics if any I-Am Requests were encountered in the MS/TP data stream. 2013-09-06 21:32:27 +00:00
skarg efe8587f9f Fixed [bugs:#24] comparison is always false. Thank you, Anonymous! 2013-08-29 18:14:07 +00:00
skarg 3bb7b25219 Fixed AtomicWriteFile unit test for record-access. 2013-08-19 18:57:36 +00:00
skarg 94fab4210d fixed proprietary min-max error code and class for BACnet text. 2013-08-19 16:19:21 +00:00
skarg f33cfe79fd fixed proprietary min-max error code and class for unit tests. 2013-08-19 16:16:29 +00:00
skarg 8866f38dd9 Added record access to the AtomicReadFile and AtomicWriteFile data, services, and demos. Thank you, Nikola Jelić! 2013-08-19 16:05:08 +00:00
skarg bb6995e518 Added some new error codes from BACnet standard. 2013-08-16 23:19:57 +00:00
skarg 63e4e1ce2d merge and cleaned up warning 2013-06-11 22:36:16 +00:00
skarg c1e9558655 Exposed date time internal functions for use by others.
Fixed datetime add minutes function for times at beginning and end of day.
2013-06-11 03:09:56 +00:00
skarg f52fc092e5 Added additional BACnet demo object API (header files) for various properties. Updated demo objects to compile cleanly with the updated API. 2013-05-22 17:42:48 +00:00
skarg 15cb616b4a Added UCI support for the BACnet demo server. UCI is a replacement for nvram. The source is GPL and has a lua lib.
http://wiki.openwrt.org/doc/uci
http://nbd.name/gitweb.cgi?p=uci.git;a=summary
Thank you, Patrick <patrick@lunatiki.de>.
2013-04-15 20:22:24 +00:00
skarg bc1017ee60 cleaned up warnings and build of unit tests 2013-03-13 22:34:08 +00:00
skarg e042ae4dea Removed unused variable in unit test. 2013-03-13 22:23:23 +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 a0e0b81ca4 Added bounds checking to one of the RP encode to allow for malformed message for negative unit tests. 2013-03-12 03:59:29 +00:00
skarg 7084b9f036 Added Javadoc to fifo module and header file. 2013-02-22 16:19:42 +00:00
skarg 79c37f7d09 Added a note to MS/TP FindNewSuccessor transition after BTL CR: if NS=TS-1, this node could send PFM to self! 2013-02-21 23:10:23 +00:00
skarg 1c5d399a38 Added encode/decode for Time_Synchronization_Recipients.
Added Send_TimeSync_Remote() which can use specific destination address.
Added function prototypes for time sync master in the handlers.
2013-02-20 23:54:11 +00:00
skarg 209f9e82a2 Added octetstring_copy_value() function to ease copying octetstring value into a buffer. 2013-02-20 23:51:47 +00:00
skarg 4c4ea6284b Added a datetime_is_valid() function for checking a valid calendar date. 2013-02-20 23:49:03 +00:00
skarg ecaa979948 Fixed COV decoding of value list that would cause an unterminated chained result list. Thank you, Andreas, for the fix! 2013-02-18 15:59:15 +00:00
skarg adb4fe0865 Added get_alarm_summary_ack_decode_apdu_data() and get_alarm_summary_ack_handler(). Thank you, Daniel Blazevic, for the contribution! 2013-01-22 22:54:32 +00:00
skarg cf882642a8 Changed Ringbuf API: Ringbuf_Pop_Front is now Ringbuf_Pop, and now it copies the buffer into parameter and returns boolean. Original method was not safe since it returned a pointer to the element but freed the buffer element. Changed Ringbuf_Get_Front to Ringbuf_Peek with no change in functionality, to make names more consistent.
Updated all the MS/TP datalink layer implementations that use Ringbuf library.
2013-01-08 20:48:34 +00:00
skarg 634ac556df removed static variables to enable multithreading. 2012-12-15 21:55:40 +00:00
skarg a12e106643 Updated the objects, services, and properties for the 135-2012 version of the BACnet standard. 2012-12-07 22:00:57 +00:00
skarg 271f2e0b46 Corrected spelling of functions ending in apdu. [note API change for BACnet clients] Thank you, Nikola Jelić! 2012-11-01 14:13:49 +00:00
skarg eb9bfca4a3 Corrected spelling of functions ending in apdu. [note API change for BACnet clients] Thank you, Nikola Jelić! 2012-11-01 14:09:36 +00:00
skarg fa12f4bcdf Added BVLC Read-Broadcast-Distribution-Table demo (doesn't print table yet). 2012-10-24 22:09:43 +00:00
skarg f8450f40bb In WAIT_FOR_REPLY state of MS/TP, changed next state of frame type TEST_RESPONSE to be DONE_WITH_TOKEN to match standard. Thank you, Eric Xu! 2012-10-17 22:33:01 +00:00
skarg 31833ed6f7 Added zero padding when doing an ANSI string copy, similar to string initialization. 2012-09-27 19:54:56 +00:00
skarg c28f55d3df Added parenthesis to provide clarity and make it obvious to anyone maintaining the code. 2012-09-27 19:26:11 +00:00