Commit Graph

2289 Commits

Author SHA1 Message Date
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 13d58298ea Updated a PIC port project which needed changes to API for some BACnet objects. Compiled with MPLAB-X MCC18 compiler. 2013-05-22 21:21:42 +00:00
skarg 0b6abd8f2b Placed MAX_BACNET_PROPERTY_ID back inside enum declaration since BACNET_READ_PROPERTY_DATA and other structures include BACNET_PROPERTY_ID, and some compilers will not allocate an adequate sized datatype if MAX_BACNET_PROPERTY_ID is excluded from the BACNET_PROPERTY_ID enum definition. 2013-05-22 17:47:49 +00:00
skarg 81d69f910d Updated some ARM and AVR ports projects which needed changes to API for some BACnet objects. Compiled with IAR ARM and AVR compiler. 2013-05-22 17:44:57 +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 afa20e55b3 Added diagrams for STM32 project. 2013-05-22 14:31:37 +00:00
skarg df54c5236e Added new units from ASHRAE 135-2012 standard. 2013-05-22 14:31:00 +00:00
ekh 15fe7e56c2 Allow compilation of BACnet/IP demos in Cygwin in Windows 2013-05-10 19:24:26 +00:00
ekh 14643101c0 Tentative commit by Ed 2013-05-09 04:44:26 +00:00
skarg 2089221a1d When MS/TP MAC length is zero, use broadcast address. 2013-04-16 03:54:13 +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 0c963ecc30 Fixed MS/TP where double messages were send on Data-expecting-reply frames. Thank you, Simone Tolotti. 2013-04-13 16:18:07 +00:00
skarg e5dccc0fc0 cleaned up gateway build from Gnu Make by having it build the library again with its own defines, and removed the gateway defines in the various Makefile files. 2013-04-12 23:12:32 +00:00
skarg 2551c69ec8 Added MSTPCRC to readme.txt since it is included in the bundle. 2013-03-20 18:16:59 +00:00
skarg 539e39a40f Alphabetized some files listed in Makefile to make it easier to find them when using the Makefile as a project guide. 2013-03-17 14:22:58 +00:00
skarg 0c177d1abf Incremented version to 0.9.0 for development trunk. 2013-03-14 01:46:56 +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 2de46521b8 fixed line endings and SVN MIME and eol-style using fixup.sh script. 2013-03-13 22:15:00 +00:00
skarg 11897368d2 converted C++ comments using script 2013-03-13 22:13:28 +00:00
skarg 0c8f51f9fb updated release script for new SVN URL. 2013-03-13 22:11:39 +00:00
skarg 53ee7a782c fixed WritePropertyMultiple handler for case of a write that fails. Thank you for the fix, Nikola Jelic. 2013-03-13 14:23:39 +00:00
skarg 0fa3fb5a76 Modified read-property demo to allow passing an object type larger than 1023 and a property larger than 4194303 to allow for negative testing (to elicit a reject missing required parameter message). 2013-03-12 12:45:24 +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 4dd04a0489 Changed demo/gateway to support more than 256 virtual devices. Thanks, Stan! 2013-03-08 16:08:11 +00:00
skarg f6b58f5ec1 Added various bailout options for SubscribeCOV demo when notifications and acks arrive after the COV is sent. Useful when testing (rather than waiting). 2013-03-07 04:25:24 +00:00
skarg 3a84572662 Created new port for BSD/MAC OS X (ports/bsd). It supports only BACnet/IP. Thank you, Patrick! 2013-03-06 17:32:20 +00:00
skarg 54f880c527 Modified demo makefile to support BSD /MAC OS X. Thank you, Patrick! 2013-03-06 17:27:43 +00:00
skarg 9b7a647a13 Modified some comments. 2013-03-06 17:24:29 +00:00
skarg 2167e0df5f Nikola noticed that error reporting for Write-Property-Multiple is different in a sense that WPM sends three more parameters: object_id, property and array index. However, in demo/handlers/h_wpm.c, error reporting is done through bacerror_encode_apdu instead of wpm_error_ack_encode_apdu. Nikola suggests that this should be changed. Thank you, Nikola! 2013-02-28 21:39:49 +00:00
skarg 7084b9f036 Added Javadoc to fifo module and header file. 2013-02-22 16:19:42 +00:00
skarg 2eb8e84f41 Added indent batch file for Windows. 2013-02-22 15:52:02 +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 f45aad0087 Updated timesync unit test to be able to build on MinGW (windows). 2013-02-20 23:50:49 +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 850b579744 Added enumeration for Restart_Reason. 2013-02-18 15:52:44 +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 486e81dfea Added address initialization to the simulated server demo to be able to load the device-address-binding property with some static addresses. 2013-01-18 03:10:21 +00:00
skarg 5826b48c2a Added some introductory language to the beginning of GPL. 2013-01-18 03:09:17 +00:00
skarg 331b17cf1d Added JavaDoc function headers to a couple of functions. 2013-01-18 03:07:59 +00:00
skarg adb69c524c When write-property to object-name property in example objects, no need to write the duplicate name again. 2013-01-14 17:13:48 +00:00
skarg af5d529001 Fixed write-property to object-name property in demo application to fix for BTL 135.1-2009-9.22.2.8 - Reading an object name and writing it straight back gives a 'duplicate name' error. Thank you, Ed! 2013-01-14 16:29:42 +00:00
skarg ac84fc430f Split error codes on write property for read-only known properties which gives write-access-denied, and unknown properties. 2013-01-14 16:27:50 +00:00
skarg 19332796d1 Updated STM32 project to use IAR compiler built-in CMSIS. 2013-01-08 21:28:11 +00:00
skarg 9b60fff679 Added some fixes for compiling with 2010 version of avr-gcc (WinAVR). 2013-01-08 20:52:14 +00:00