Commit Graph

214 Commits

Author SHA1 Message Date
skarg 8af8043d49 Fixed MS/TP ANSWER_DATA_REQUEST state in some of the ports to be compliant to the standard by emitting Reply-Postponed rather than nothing when the data request times out. 2017-05-02 20:17:39 +00:00
skarg 349c01920f Added MS/TP slave node to BDK DLMSTP module. 2017-01-02 15:47:29 +00:00
skarg b2938bb68a Changed Device_Object_List_Identifier() to use uint32_t for array_index since that is the size decoded in a ReadProperty request, and unsigned is not always 32-bit. 2016-10-25 13:10:28 +00:00
skarg bec5836bbd Changed Device_Objects_Property_List() function to pass the object instance so that objects of the same type can have different optional or proprietary properties. 2016-08-12 21:54:02 +00:00
skarg a8ad8f4d5c Changed error code from SERVICE/NO_SPACE_FOR_OBJECT to ABORT/SEGMENTATION_NOT_SUPPORTED to be consistent with the BACnet standard. Thank you, lo pe! [bugs:#41] 2016-08-12 20:45:08 +00:00
skarg 48d04c323f Removed check for NPDU Priority on MS/TP outgoing matching messages since the stack currently doesn't support passing the NDPU Priority through, and every outgoing message is NORMAL. This was causing Reply-Postponed, which is not a good thing for high priority messages. Thank you, Ettore Colicchio! 2015-12-02 20:20:33 +00:00
skarg 07bf4eba3b Deprecated Ringbuf_Alloc, and replaced with Ringbuf_Data_Peek() and Ringbuf_Data_Put() functions. Ringbuf_Alloc() was not interrupt or thread safe. 2015-09-09 14:54:02 +00:00
skarg 5e476c3ffc Improved test in BDK port. 2014-11-11 16:50:17 +00:00
skarg 3fca74bcfb When MAC address length is zero, assume it is a broadcast. Updated the MS/TP to understand this. 2014-11-02 05:27:14 +00:00
skarg 44b30140b4 fixed Binary Input values by adding internal pullup to pin. 2014-06-04 03:16:34 +00:00
skarg 3f18b83a9d fixed compiler error about property list function. 2014-06-04 03:15:40 +00:00
skarg 9553660732 Merged revision(s) 2731 from branches/releases/bacnet-stack-0-8-0:
fixed BDK MAC to Device ID initialization
........
Merged revision(s) 2732 from branches/releases/bacnet-stack-0-8-0:
made function local
........
2014-01-31 14:31:59 +00:00
skarg ec3c715034 minor build fixes 2013-07-27 14:39:41 +00:00
skarg 94a935ff66 updated comment. 2013-07-20 22:31:05 +00:00
skarg 54d0c0af2d Added project and solution files for Atmel Studio 6.1 for the BACnet development kit port to Atmega AVR. 2013-07-11 22:37:52 +00:00
skarg 24ef4ada2d fixed function where common prototype was added 2013-07-06 23:19:50 +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 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 ba3242aafd indented using indent.sh script to get uniform looking code for release 2013-03-13 22:17:13 +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 9b60fff679 Added some fixes for compiling with 2010 version of avr-gcc (WinAVR). 2013-01-08 20:52:14 +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 d9877756bf Added checks to detect and work with faulty SEEPROM. 2012-12-22 05:41:38 +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 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 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 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 75727604df moved eeprom calls out of dlmstp.c 2012-09-29 20:34:42 +00:00
skarg 2f8551d2e9 fixed last-value for buttons. Thank you, Ken. 2012-09-29 20:33:38 +00:00
skarg 9db24ea90a Cleaned up compiler warnings. 2012-09-21 12:10:46 +00:00
skarg 4612e503d1 Unfactored the device object read-property common since it made error handling more difficult, and also required an additional characterstring when optional characterstrings were needed in the objects. 2012-08-16 18:53:52 +00:00
skarg 609234a3bf Fixed compiler warning. 2012-07-11 19:14:06 +00:00
skarg b6b852ef08 Removed wildcard match for Device Instance since it is only done for ReadProperty and ReadPropertyMultiple services, and the match is done by substitution in those service handlers. 2012-07-09 21:52:19 +00:00
skarg 7578b4ef06 Added check in each example object WriteProperty handler to pass test:
9.22.2.1 Writing Non-Array Properties with an Array Index
Thank you Kamalathas!
2012-07-09 19:49:27 +00:00
skarg c6e954b39d Fixed compiler warning due to duplicate macro. 2012-06-01 16:39:21 +00:00
skarg 2455774afd changed characterstring and octetstring default capacity in microcontroller ports to be 64 bytes to prevent C-Stack overflow. 2012-05-27 02:14:21 +00:00
skarg 48e2c60ce2 indented to standard from script 2012-05-13 15:07:12 +00:00
skarg 54c4ce342c Exposed utf8_valid as a public function to reduce duplicity. Allow utf-8 string length of 0 to be valid. 2012-05-11 15:03:35 +00:00
skarg 35e953ba8b Changed bacnet name duplicate check to allow to rewrite with the same name to the same object without duplicate name error. 2012-05-05 03:28:34 +00:00
skarg 972afaa974 Updated AVR port projects to build with IAR and AVR Studio. 2012-04-25 19:05:59 +00:00
skarg e65ec668e5 Corrected BDK port compile errors due to missing defines. 2012-04-21 11:47:13 +00:00
skarg 95c3ffd20b Converted note references in comments to text from http://www.nongnu.org/avr-libc/user-manual/group__twi__demo.html website. 2012-04-20 20:08:24 +00:00
skarg 600626c21a Fix comment in Makefile. 2012-04-18 16:36:49 +00:00
skarg f6096f6a4d Unified the licenses on header files since we don't have any inline functions or macros with substantial bodies. Per RMS: "Our view is that just using structure definitions, typedefs, enumeration constants, macros with simple bodies, etc., is NOT enough to make a derivative work. It would take a substantial amount of code (coming from inline functions or macros with substantial bodies) to do that." 2012-04-18 16:15:59 +00:00
skarg fcb01f353e Added comments. Moved MS/TP properties into optional. Initialized character string. Added database-revision link to device object id change. Removed malignant code. 2012-04-16 14:47:49 +00:00
skarg b80039cf9b aligned max-info-frames with PDU queue 2012-04-16 14:44:34 +00:00
skarg d1f4e78cba fixed svn EOL and MIME settings. 2012-04-06 23:24:43 +00:00