Commit Graph

207 Commits

Author SHA1 Message Date
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
skarg 6b544c0ec4 Changed service error ERROR_CODE_UNSUPPORTED_OBJECT_TYPE to ERROR_CODE_UNKNOWN_OBJECT to since ERROR_CODE_UNSUPPORTED_OBJECT_TYPE seems to only be acceptable to return from CreateObject service. 2012-03-16 20:09:20 +00:00
skarg fdf387ed1d Changed MS/TP receive to read more bytes from UART queue if they are available during each cycle. This fixes high baud rate issues on slower processors if the main loop cycle time is not fast enough. 2012-03-10 20:18:14 +00:00
skarg 12d0d9f204 Created Rowley Crossworks AVR project for BDK port to ATmega644p. 2012-01-12 23:09:14 +00:00
skarg 79f5caf850 Corrected BACnet name in BDK port to clear end of string when new string is smaller than old string. 2012-01-11 22:18:56 +00:00
skarg ad74c6d4ac Corrected missing packet initialization in DLMSTP for several ports that may result in unusual REPLY-POSTPONED frames emitted for a DATA-EXPECTING-REPLY frame. 2011-12-29 03:37:38 +00:00
skarg fcf2c4a8ba Corrected BACnet Name in BDK port to use EEPROM instead of SEEPROM (it was overwritten by BO data). 2011-12-07 03:40:20 +00:00
skarg 0f54598505 Corrected bug in BACnet Name that prevented names longer than 6 characters from being written or read. Thanks for the bug report, Randall! 2011-12-03 16:02:29 +00:00