Commit Graph

182 Commits

Author SHA1 Message Date
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
skarg 35d8eba692 Enabled compile for GCC AVR 4.3.3 2011-11-17 03:05:06 +00:00
skarg 59059c4a97 Updated the makefile for ICE. 2011-11-17 03:04:19 +00:00
skarg 78fb95bb63 Created EPICS for BACnet Development Kit 2011-10-06 15:24:56 +00:00
skarg 4ee99355cd Corrected GCC version check. 2011-09-12 21:27:13 +00:00
skarg afa68ab788 Made this similar to another device.c. 2011-09-09 04:51:03 +00:00
skarg 548beac851 Updated device files in some ports to be more similar and correct. 2011-09-09 04:31:31 +00:00
skarg 6a807dbf0d Updated demo port for BDK to use MAC as device ID until configured with WriteProperty. 2011-08-26 18:48:01 +00:00
skarg 58691c16d6 Changed the Treply_delay wait to be smaller when the next message in the queue is does not match. 2011-08-24 12:48:33 +00:00
skarg 26b5fdd3d0 Returned Tusage_delay to the MS/TP state machines to fix excessive Reply-Posponed messages when received packet is decoupled from immediate handling. Some BACnet routers do not handle Reply-Postponed correctly and drop the subsequent valid reply.
Added Slave Node FSM to linux/win32 MS/TP layer.
Added PDU queue to Linux MS/TP datalink layer.
2011-08-24 12:33:20 +00:00
skarg 8b9c531b9f Fixed Line End characters. 2011-08-23 20:34:12 +00:00
skarg 45915f2d22 Fixed IAR compiler warnings. 2011-08-23 20:29:15 +00:00
skarg e0b5b5b164 Corrected check for Device Name function. 2011-08-23 17:04:01 +00:00
tbrennan3 e7365ecaa5 Fixed up Device_Object_Name_Copy() for these ports. 2011-08-22 19:40:08 +00:00
skarg 3e1cb1847f Indented project. 2011-08-17 02:27:11 +00:00
skarg ff393a665a Fixing DOS/Unix/MAC EOL and line endings using fixup.sh script. 2011-07-09 17:25:42 +00:00
skarg 879d49f401 Fixed Binary Input example of BDK port. 2011-04-27 00:36:49 +00:00
skarg 68273edcb9 Fixed spelling error in comment. 2011-04-25 04:23:09 +00:00
skarg ac7d360712 Added optional array detection for common properties. 2011-04-25 04:21:51 +00:00
skarg fb70f5d77a Updated IAR project. 2011-04-11 14:36:35 +00:00
skarg deab12a5e1 Changed WhoHas and I-Have to use CharacterString instead of forcing ANSI X34 and C Strings. Affected all demos and ports object name, so I changed the object name function name to make sure it was noticed. 2011-03-24 16:53:02 +00:00
skarg 6949415d5d Updated IAR project file to latest version of EWAVR. 2011-03-01 23:09:37 +00:00
skarg db95a8d1dc Added test in MS/TP datalink for MAC Address in the Master Node range (0-127). 2011-03-01 23:06:24 +00:00
skarg 87f01dce22 Fixed EOL for subversion. 2011-02-25 15:59:40 +00:00
skarg 6b83f182a7 Added blocking ADC driver for AVR to complement the non-blocking driver. 2011-01-26 16:28:23 +00:00
skarg db686a4984 Corrected ReadPropertyAck unit test found on Big Endian architecture. Thank you,Sergei! 2010-12-23 15:11:23 +00:00