Commit Graph

2119 Commits

Author SHA1 Message Date
skarg 48e2c60ce2 indented to standard from script 2012-05-13 15:07:12 +00:00
skarg 173e9fb9a9 Corrected PrivateTransfer unit tests.
Fixed hex-ascii conversion for zero length string. Fixed Octet-string unit test in BACnet application. Bug found by unit test.
2012-05-13 15:02:40 +00:00
skarg c0f2af65e0 Corrected octet string decoding in BACapp module for string length of zero. Added zeroes at the end of an octet string when initialized. Bug found by ptransfer unit test. 2012-05-12 15:39:16 +00:00
skarg d0038e6456 Changed infinite DeviceCommunicationControl timeout value back to zero. Bug found by unit test. 2012-05-12 14:42:57 +00:00
skarg 287fce78be Corrected wildcard time and date parsing. Bug found by unit test. 2012-05-12 14:17:00 +00:00
skarg e9098c2cfa Added Database_Revision property to PIC port. 2012-05-11 15:04:51 +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 430f0869ca Enhanced EPICS demo to have '-o' option which will retrieve Optional and Required properties for objects that don't support RPM ALL, instead of just Required properties. 2012-05-03 02:59:24 +00:00
skarg 23d03cb280 Added missing define to config.h to allow demo applications to compile. 2012-05-01 18:23:50 +00:00
petermcs 056f371f7f Tweaked config.h to reduce chances of breaking other peoples builds and explain the options better. 2012-04-30 10:19:51 +00:00
petermcs 2e51778790 Add facility to adjust the services and and other features supported via config.h. This is to reduce code size in embedded builds where the compiler does not do a great job in removing functions that are never called. This is particularly useful for simple server only applications where decoding of response packets and encoding of requests are not required for example.
Also added possibility for RMP of encoding large items in-line in the response packet so that the object RP handlers know how much space they really have without the need for a full APDU buffer being maintained.
2012-04-30 10:14:18 +00:00
petermcs 44055ff37f I had a weird timing glitch when running mstpcap which I think was caused by a truncation error in timer.c so I've made some slight changes to try stop it happening again. 2012-04-30 08:31:41 +00:00
petermcs 8017610632 removed BACTEXT_PRINT_ENABLED wrapper around declarations as there are reasons to call some of these routines for non debug printing related purposes. 2012-04-30 08:26:58 +00:00
petermcs 9a86e51e46 Added BACNET_OK return status definition 2012-04-30 08:08:03 +00:00
petermcs 8d50bacbde Changed output of current packet to stderr when using the --scan option so that the scan result can be piped to a file. Makes checking batches of captures easier. 2012-04-30 08:03:13 +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 9e96fdb62e Updated PIC port MS/TP to not always Reply-Postponed frame when sent Data-Expecting-Reply frame. 2012-04-17 22:02:34 +00:00
skarg bc8d262add Added scanf bit-width modifiers due to ccpcheck warnings. 2012-04-16 22:00:53 +00:00
skarg 7a24c03c8a updated some code::blocks projects 2012-04-16 14:59:45 +00:00
skarg a7a67a76fd Added more object properties to the property list module - it now more than EPICS demo used from existing demo objects. 2012-04-16 14:52:27 +00:00
skarg 6018f2ce04 Added required property. 2012-04-16 14:48:25 +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 45c8b28078 improved usage message 2012-04-16 14:42:09 +00:00
skarg f6c6a9cb8b added property list library to return all required and optional properties of an object. Not finished with all object properties yet, but functional in the EPICs demo. Updated property enumerations and text names based on 135-2010 standard. 2012-04-15 21:00:43 +00:00
skarg c5015b334d Fixed compile warnings. 2012-04-09 14:15:44 +00:00
skarg c2db7ee7c4 Added m option to mstpcrc demo to pass a line of bytes which get encoded into Wireshark pcap file for viewing in Wireshark. Useful when someone sends you a string of bytes from an MS/TP capture and you want to quickly decoding them using Wireshark. 2012-04-09 00:43:27 +00:00
skarg 4932dd1e79 Corrected edge case of parsing application for empty list. 2012-04-07 21:15:09 +00:00
skarg d1f4e78cba fixed svn EOL and MIME settings. 2012-04-06 23:24:43 +00:00
skarg 62eea57d4b Updated svn EOL and MIME fixup script. 2012-04-03 14:28:13 +00:00
skarg 400fa8e3c3 Used cast to fix compiler warning. 2012-03-22 18:39:59 +00:00
skarg a8280dda95 Added CharacterString Value object example and unit tests, and added to demo/server example application.
Added Multi-state Value object example and unit tests, and added to demo/server example application.
Fixed Analog Input object, Analog Output object, Analog Value object, Device object, Multi-state Input object, Multi-state Output object examples to return correct error codes for WriteProperty service (per BACnet 135.1-2009-9.22.2.6).
Fixed top level ReadProperty and WriteProperty handlers in Device object to return correct error codes (per BACnet 135.1-2009-9.22.2.5)
2012-03-22 18:22:42 +00:00
skarg 1c42bcfb92 Added function pointers (nulls) for ReadRangeInfo and Iterator for Binary Value objects. 2012-03-19 19:28:21 +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 ae0008d569 Changed SubscribeCOV demo application to wait for APDU Timeout * Retries until the target device is found. After the target device is found, the demo application can wait the duration of the longest COV lifetime, if there is one. Thanks for the suggestion, Duane King! 2012-03-13 19:06:26 +00:00
skarg eb649fe3c6 Added missing demo applications to default Borland Makefile. Cleaned up the makefile.
Added missing ReadRange demo Makefile for Borland.
2012-03-13 18:55:43 +00:00
skarg f9911e8273 Corrected SubscribeCOV demo to allow missing lifetime parameter (meaning indefinite). 2012-03-13 16:06:05 +00:00
skarg 4870fb1953 Corrected demo COV handler for indefinite lifetime. 2012-03-13 16:05:45 +00:00
skarg 2a51a1db7c Added MS/TP tweak to improve byte reception and processing at higher baud rates and larger packet sizes. Thank you Peter Mc Shane! 2012-03-12 21:26:53 +00:00
skarg 9eb0066764 Fixed release files. 2012-03-10 21:33:57 +00:00
skarg 285c09641a Fixed comment. 2012-03-10 20:19:11 +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 d189f72abd Notification Class had wrong array indexes when assigning priorities. Thank you, Dmitry Korobkov! Bug ID 3495994. 2012-03-07 22:04:01 +00:00
skarg eaf6c9cee6 Removed unused parameter to clean up compiler warning. 2012-02-29 20:56:08 +00:00
skarg 420d4ecd8a updated readme.txt describing the demo applications. 2012-02-28 19:58:33 +00:00