Commit Graph

417 Commits

Author SHA1 Message Date
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
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
skarg 5aa78916ae Fixed Nikola Jelic's name in comments, originally written in Cyrillic script. 2012-09-27 19:24:50 +00:00
vasyl-tkhir 2f73bcae44 BACnet router added. 2012-09-27 14:36:11 +00:00
skarg 7e6c886941 renamed network-access-security-policies to match BACnet 135-2010 standard 2012-09-26 01:16:48 +00:00
skarg 9db24ea90a Cleaned up compiler warnings. 2012-09-21 12:10:46 +00:00
skarg 6a2d467fc2 DADR is only valid when DNET is specified (i.e. net is non-zero). 2012-09-19 21:27:00 +00:00
skarg 550cfb3fb9 Changed datetime add minutes to allow adding or subtracting minutes. Corrected it to not zero the seconds upon conversion. 2012-08-30 01:42:03 +00:00
netp 609c24b741 changed formatting and comments to remove '//' sequences where possible 2012-08-11 17:44:22 +00:00
netp 834975356e changed local type for compiler warning 2012-08-10 09:57:45 +00:00
netp 974f651c18 modified address same routine to only use remote address (net & adr) only when present & mac on local addresses only 2012-08-08 01:37:17 +00:00
netp d72bf470f1 changed loop type match argument 2012-08-08 00:25:42 +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
netp 6a8fdcca74 added checks to allow broadcast to network or if mac address is not specified 2012-08-07 03:43:19 +00:00
skarg f8d5ad0dfe Added required and optional properties for file object to the property list module. 2012-07-27 18:13:20 +00:00
skarg d22c3882ed Added Serial_Number property from Addendum 135-2010ak. 2012-07-27 16:56:23 +00:00
skarg 7514150f7d cleaned up compiler warnings 2012-07-08 15:26:10 +00:00
skarg 95839d06c7 Added safe characterstring encode. 2012-05-30 18:41:35 +00:00