skarg
149fcd829c
Shortened datalink timeout from 100ms to 1ms so that COV handler task, which has by default 255 subscriptions and 5 states (almost 2 minutes to process all subscriptions at 100ms per task cycle), would get through the states quickly. Doesn't appear to negatively impact any performance (as tested on Win32 XP and Linux).
2012-05-23 13:28:25 +00:00
skarg
39bfb0c92a
Added some debug print to demo COV handler.
2012-05-23 13:28:02 +00:00
skarg
5111b9fb4e
Modified code to clean up some compiler warnings.
2012-05-18 23:34:45 +00:00
skarg
180f09cb08
Removed the optional properties from example Analog Output in order to test ReadPropertyMultiple using OPTIONAL property.
2012-05-18 23:12:11 +00:00
skarg
2dd97c23cd
Added Analog Output and Binary Output objects to simulated device example.
2012-05-18 23:11:00 +00:00
skarg
f47c1df1b4
converted any C++ comments to C comments using script.
2012-05-13 15:08:17 +00:00
skarg
48e2c60ce2
indented to standard from script
2012-05-13 15:07:12 +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
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
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
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
d1f4e78cba
fixed svn EOL and MIME settings.
2012-04-06 23:24:43 +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
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
4d02e66634
Updated Code::Blocks projects to compile correctly.
2012-02-23 22:15:49 +00:00
skarg
8920f0df62
Removed accidental paste in Borland makefile.b32 that was causing DCC demo to fail.
2012-02-23 16:47:38 +00:00
skarg
0478d87d53
Added Append feature required by BACnet spec when File Offset is -1. Thank you Robert Bouwens!
2012-02-21 23:58:35 +00:00
skarg
b05fbf196c
Fixed file name in doxygen comment.
2012-02-21 22:10:05 +00:00
skarg
1c19bf7d09
Added checks in Error, Abort, Reject, and Acks for matching address and invoke ID so that out-of-order messages would not foul up the state machine and only the reply matching the request would be honored.
...
Changed request so that an error message of segmentation-not-supported would trigger the read-property fallback mechanism.
2012-02-21 21:56:18 +00:00
skarg
9e8c2b0927
Added explicit datalink_cleanup to all demo applications.
...
Moved bip_cleanup() to port specific files.
This works better for bacnet-stack DLLs.
2012-02-10 22:12:15 +00:00
skarg
9226159c5d
Added MS/TP crc calculating demo application to use when writing articles that include example MS/TP code.
2012-02-07 23:54:15 +00:00
petermcs
bae2321abc
Fixed off by 1 error when checking length of string in WPValidateString()
2012-01-21 10:30:23 +00:00
petermcs
52ea59f446
Removed MS C specific gettimeofday function from mstpcap.c as there is one in the timer.c in the Win32 port.
...
Changed the conditional compilation in the Win32 timer.cto allow gettimeofday compile with MS C
2012-01-17 07:46:53 +00:00
petermcs
e0cf05f74a
Added in 76800 baud rate as it works on Win 7 with the B&B Electronics USOPTL4 USB adaptor that I have, YMMV.
...
Added gettimeofday() function to allow me build with VS2008 C++ Express Edition
2012-01-14 12:28:44 +00:00
skarg
12d0d9f204
Created Rowley Crossworks AVR project for BDK port to ATmega644p.
2012-01-12 23:09:14 +00:00
skarg
bf4cd368b0
Reverted r2140 as this breaks MS/TP and non-BACnet/IP builds. If this functionality is indeed required, then we will need to change the APDU dispatcher to include information with the service so that this can be discerned.
2012-01-09 22:52:59 +00:00
skarg
513663727f
Added function prototypes to support COV.
2012-01-06 18:52:22 +00:00
petermcs
954d2b0079
Moved check for wild card Device Id to before call to rpm_ack_encode_apdu_object_begin so that the real Device ID is encoded in the response.
2011-12-31 08:05:29 +00:00
petermcs
a5f6477364
Moved check for wild card Device Id to before call to rp_ack_encode_apdu_init so that the real Device ID is encoded in the response.
2011-12-31 07:58:13 +00:00
gri6507
cb620a9432
Made the perl bindings ReadProperty example more generic
2011-12-16 23:25:56 +00:00
gri6507
fd4a0ebb62
* Updated the perl bindings to work with the new style extract API and removed vestigial code
...
* Updated the perl bindings readme.txt
* Fixed a small bug in the new bacapp_print_value() function which incorrectly interpreted the return status from the snprintf function.
2011-12-15 00:03:04 +00:00
gri6507
a5f6a1d77b
Adding the perl bindings example.
2011-11-28 18:40:12 +00:00
gri6507
d875b3fb8e
improved error handling to correctly process requestID and device address. Fixed
...
a copy/paste bug where the ACK handler was for a READ_FILE instead of a
WRITE_FILE
2011-11-26 19:46:51 +00:00
skarg
087584e85e
Corrected baud rate setting for mstpcap demo utility. Thank you, Michael D!
2011-11-26 16:32:17 +00:00
gri6507
d009a1a15e
Pulled in the changes from SVN commit 2145 (Makefiles default BACNET_PORT to
...
linux only if that ENV VAR has not yet been specified) into the trunk.
2011-11-25 23:30:11 +00:00
skarg
26681f7f39
Changed demo COV handler to reduce memory footprint, and to minimize the task cycle time. Also fixed COV clear race condition.
2011-11-23 18:52:53 +00:00
skarg
abc8135eff
Added ability of the SubscribeCOV demo to subscribe to multiple objects in the device.
2011-11-22 22:47:22 +00:00
skarg
7de5f43478
Fixed error response for SubscribeCOV demo.
2011-11-21 22:01:27 +00:00