Commit Graph

129 Commits

Author SHA1 Message Date
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 972afaa974 Updated AVR port projects to build with IAR and AVR Studio. 2012-04-25 19:05:59 +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 6c89924df7 Converted all the BACnet-array-index variables from int32 to uint32 as they were intended. 2011-08-23 20:19:44 +00:00
skarg f19f2c29d9 Converted all the BACnet-array-index variables from int32 to uint32 as they were intended. 2011-08-23 20:11:42 +00:00
skarg 3e1cb1847f Indented project. 2011-08-17 02:27:11 +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 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 2a0bf4926a Performed standard indent script indent.sh on project files. 2010-12-15 19:02:40 +00:00
skarg 794e2ea9d4 Changed timers on AVR to only disable the timer interrupt, not global interrupts. 2010-12-10 23:13:50 +00:00
skarg 57781b40cb Changed Tturnaround time in MS/TP modules to be a minimum of 2ms, or use a dummy transmit of 4 bytes while the transceiver is disabled. 1ms delay will always give smaller than 1ms of delay due to silence timer tick. 2010-10-18 20:42:26 +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 8d2560225d Updated builds for ports/atmega168 (IAR) and for ports/bdk-atxx4-mstp (AVR Studio) 2010-10-07 15:56:35 +00:00
skarg b54218939e Added extra sub-state for MS/TP from Addendum 135-2008v. Tested with ports/bdk-atxx4-mstp/ code on the BACnet Development Kit. Clean compile on src/mstp.c, ports/at91sam7s and ports/atmega168, but untested. All other changes were not compiled or tested. 2010-10-07 15:52:45 +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 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 0b5efa5be5 Changed -L=lib to -Llib in all GNU Make makefiles since it was wrong and causing problems on cross compilers. Thank you, Magno! 2010-07-14 12:55:37 +00:00
skarg 99ec130371 Reverted the 135-2008v MS/TP changes, since they were not done correctly. 2010-06-28 00:45:27 +00:00
skarg 6f9ba36967 Added extra sub-state for MS/TP from Addendum 135-2008v. 2010-06-26 03:55:20 +00:00
skarg 70381c8b84 Updated BACnet protocol revision constants. 2010-06-14 15:56:29 +00:00
skarg 710cfccfef Indented using indent script. 2010-05-04 21:06:26 +00:00
skarg f5bc326061 Merged duplicate and different BACnet Renitialized Device State enumerations. 2010-02-18 17:25:58 +00:00
skarg f0863c0238 Refactored RP, WP, RPM to reduce coupling with objects for Linux and Win32 ports. 2010-02-10 16:27:31 +00:00
skarg 47ff02c9b7 Removed src/apdu.c from makefile since we are using a local stripped down version. 2009-12-21 15:13:45 +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 69fad0502a Changed MS/TP idle state: when no-token timeout occurs, clear the receive frame flags in case a message was received and timeout occurred, which may cause MS/TP to stop working in optimized dlmstp loops which don't check for new events when either of those flags are set. Thank you, Jason! 2009-09-17 03:38:20 +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 4b422d6c1c Changed modulo and division operations on 256 to bit shift using include/bytes.h macro to improve code size on architectures that don't do division natively. 2009-08-20 14:38:25 +00:00
skarg 49d6b46ac6 Updated for latest files and removed some paths in project file. 2009-08-12 14:14:37 +00:00
skarg 976514ba8f Added PICS for ATmega168 port device. 2009-08-04 16:23:51 +00:00
skarg 0c4edb33d9 Fixed up file indent, comments, and eol-type. 2009-05-13 03:46:02 +00:00
skarg 30c01de3a4 Refactored the GCC C-Stack functions into their own file. 2009-05-12 20:41:42 +00:00
skarg 75bd715bd4 corrected possible overflow in dlmstp.c for PIC and RTOS-32. Thank you Martin! 2009-03-06 11:04:51 +00:00
skarg a42b63d5c7 Changed the data type of the MS/TP index for the receiving byte to allow an APDU of 480 bytes. 2009-02-16 18:53:15 +00:00
skarg cba4fdd1d2 Added avrdude support in ATmega Makefile. 2008-11-27 04:36:02 +00:00
skarg 0e9a805f75 Moved the iam_send to demo/handler/s_iam.c to keep application code out of the core encode/decode library. 2008-11-14 14:41:28 +00:00
skarg c7a5c05ac7 Moved send I-Am to a send module and out of iam.c. 2008-11-12 15:38:43 +00:00
skarg 38dc91e540 Added WhoIs to bit string returned for Services Supported. 2008-10-30 21:09:39 +00:00
skarg 6073793013 updated hardware BOM for ATmega168 port. 2008-10-22 20:05:08 +00:00
skarg 437de29ce7 Added splintrc and lint checking. 2008-09-26 15:21:13 +00:00
skarg 3a0f109d66 Added h_npdu to demo lib and example projects. 2008-09-07 04:23:44 +00:00
skarg 3d3d7e420d Ran the comment and indent tools on the source code. 2008-04-24 01:07:23 +00:00
skarg dff2ef777b Updated the readme for AVR. 2008-04-09 15:39:01 +00:00
skarg be315cc392 Changed the default APDU size to reduce stack requirements. 2008-04-04 16:00:08 +00:00