Commit Graph

55 Commits

Author SHA1 Message Date
skarg 3f18b83a9d fixed compiler error about property list function. 2014-06-04 03:15:40 +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 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 0b84ce44ec fixed writes to object-name property when writing the same name to an object. 2012-11-24 15:21:46 +00:00
skarg 75727604df moved eeprom calls out of dlmstp.c 2012-09-29 20:34:42 +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 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 48e2c60ce2 indented to standard from script 2012-05-13 15:07:12 +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 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 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 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 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 ac7d360712 Added optional array detection for common properties. 2011-04-25 04:21:51 +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 db686a4984 Corrected ReadPropertyAck unit test found on Big Endian architecture. Thank you,Sergei! 2010-12-23 15:11:23 +00:00
skarg 2a0bf4926a Performed standard indent script indent.sh on project files. 2010-12-15 19:02:40 +00:00
skarg 68a2f83638 Changed object functions to use a local name and smaller structure so it wouldn't name collide with the one defined in device.h. 2010-12-10 23:12:13 +00:00
skarg e9249b5b5e Added test for a decoding problem where the stack is unable to decode something, and retrofitted into WriteProperty for each of the demo objects by returning an Error, Out of Range. 2010-10-12 01:17:50 +00:00
skarg 9569f2c536 Fixed EOL and performed standard indentation. 2010-09-16 22:00:47 +00:00
skarg 7832ba11db Changed Object List in various ports to return Segementation Not Supported abort when it is too large to return in a single APDU. 2010-09-11 13:38:16 +00:00
skarg 21426e12f7 Added example project and workspace for IAR for AVR compiler, and fixed compiler errors and warnings after doing such a deed. 2010-09-07 16:18:55 +00:00
skarg b769dcbe1d Indented. 2010-08-18 00:11:35 +00:00
skarg 6c9ef7211d Fixed indent script, and indented files. 2010-07-19 23:19:54 +00:00
skarg 16cb7521df Changed return value to use common constant. 2010-07-16 14:34:52 +00:00
skarg 70381c8b84 Updated BACnet protocol revision constants. 2010-06-14 15:56:29 +00:00
skarg 8bb844de36 Updated demo objects in ports to use new named constants for error return values. 2010-06-12 23:24:01 +00:00
skarg 710cfccfef Indented using indent script. 2010-05-04 21:06:26 +00:00
skarg 69e1121d66 Corrected return value of WriteProperty in device object. 2010-04-28 17:35:23 +00:00
skarg 202bc06768 Changed makefile install to handle slow clock on AVR. 2010-04-22 02:09:17 +00:00
skarg f5bc326061 Merged duplicate and different BACnet Renitialized Device State enumerations. 2010-02-18 17:25:58 +00:00
skarg 1f9c13d37b Got rid of the handler-set functions for RP,RPM,WP,RD. Just referencing the device object functions directly. 2010-02-18 03:06:03 +00:00
skarg 2b2077a329 Did a little refactoring for object properties. 2010-02-16 22:48:09 +00:00
skarg e42bfad888 Removed code to make the unoptimized firmware smaller. 2010-02-11 16:53:33 +00:00
skarg 70b5d45ce2 Updated ports/bdk-atxx4-mstp to use demo handlers for RP,RPM,WP. 2010-02-11 04:31:43 +00:00
skarg edc7c6c577 Added test for array options on RP and RPM to all object properties that are not arrays. 2009-11-05 15:39:46 +00:00
skarg c04e69da8c Fixed EOL, indent. 2009-10-24 17:02:59 +00:00
skarg 667782bddb Added minimum device object name length check. 2009-09-28 15:44:47 +00:00
skarg 6cfc2b805f Added MS/TP debugging to serial port test. 2009-09-11 23:13:45 +00:00
skarg 2febfbbe56 Updated BDK device object to have minimum length. Updated other BDK objects to use sprintf since it was already in use in another object. 2009-08-30 21:05:15 +00:00
skarg c304b8b330 Added a parameter to Device_Encode_Property_APDU so that it matched all the ther objects, which required all the demo and ports to modify their device and h_rp files. 2009-08-23 03:48:27 +00:00
skarg 4b09a4ed3a Updated after some consistency checking. 2009-08-15 02:35:24 +00:00
skarg 958922a304 Corrected baud rate write. 2009-07-10 22:00:40 +00:00