Commit Graph

2609 Commits

Author SHA1 Message Date
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
skarg a576c29ae4 Added some porting to AT91SAM7S while playing with IAR compiler. 2013-01-08 20:51:29 +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 3bc404dbe9 Added "-s" to make in the demo Makefile to reduce noise during compile. 2013-01-08 18:22:57 +00:00
skarg cc5c1f714f Fixed bug reported: Canceling Expired or Non-Existing Subsciptions does not return specified result.[bugs:#21]. Thank you, lo pe! 2013-01-02 17:43:29 +00:00
skarg d9877756bf Added checks to detect and work with faulty SEEPROM. 2012-12-22 05:41:38 +00:00
skarg 4c0599f104 cleaned up some warnings and errors when compiled for MS/TP on Linux 2012-12-16 04:42:22 +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 a11e2cd159 Added objects and services defines for each Protocol_Revision level. 2012-12-07 21:27:59 +00:00
skarg 934fcbf012 A function in example device.c, Device_Object_List_Identifier, uses an array index, which starts at 1, not 0. Fixes WhoHas for last name in object list. Thank you, Peter van der Stok! 2012-12-07 16:28:01 +00:00
skarg 63df640a3f updated export script for new SVN URL 2012-11-26 02:52:26 +00:00
skarg 3b85868fe7 Modified the BDK port for version 4 hardware layout 2012-11-26 02:12:37 +00:00
skarg fce60832e6 Modified the BDK port for version 4 hardware layout 2012-11-25 21:33:51 +00:00
skarg 0b84ce44ec fixed writes to object-name property when writing the same name to an object. 2012-11-24 15:21:46 +00:00
skarg ccf49ec884 added example of writing to state text array into Multi-State Input object demo 2012-11-23 18:04:02 +00:00
skarg f5571f8f5a Updated readme after question. 2012-11-16 15:48:59 +00:00
skarg c0b54d06bd Moved around some print statements to be more useful. 2012-11-12 23:16:15 +00:00
skarg 61cda1dbf9 Added conditional in Makefile so that the BVLC (IP) demos only get built when BACnet/IP is specified. 2012-11-12 22:32:05 +00:00
skarg 2707c37771 Removed version.c from project since it was not used. 2012-11-10 18:30:54 +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 d1567978c9 Adjusted BDK port to compile for ATmega1284p for IAR. 2012-10-31 16:30:18 +00:00
skarg cde2d61d92 Added support for Atmega1284p. 2012-10-31 04:06:18 +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 6facc07c74 Fixed 76800 setting for Linux rs-485. 2012-10-23 18:16:32 +00:00
skarg 4f67e02c0b added lwIP port for BACnet/IP. Thank you, Calon Associates Limited. 2012-10-23 12:30:09 +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