skarg
f93b08e1bb
Fixed compiler warnings.
2012-08-22 19:48:21 +00:00
skarg
41becc0a9a
CPPCheck found fixes.
2012-08-16 18:56:17 +00:00
skarg
d6b9d29e22
Removed extra else since error was initialized by default.
2012-08-16 18:55:09 +00:00
netp
02d3be42cd
added cast for compiler warning
2012-08-10 09:55:53 +00:00
netp
b620b33e1b
Updated Demo Who-Is to work with remote networks and report duplicate device-identifiers
2012-08-08 01:46:18 +00:00
netp
8c3a60c935
added cast
2012-08-08 01:24:52 +00:00
netp
6bac1f18bc
added type casts
2012-08-07 03:40:06 +00:00
skarg
2f21b3e352
refactored send-read-property to allow the request using a BACnet-Address.
2012-08-02 20:25:43 +00:00
skarg
b506c0e135
added option to AtomicWriteFile demo to pad the last packet with a repeated byte.
2012-07-25 19:52:49 +00:00
skarg
6013b2dc19
Fixed MS/TP capture utility to scan files created by other capture utilities (i.e. Johnson Controls) that don't have the fixed 65535 SNAP length in the global header.
2012-07-23 16:56:19 +00:00
skarg
8988790bff
Fixed duplicate case statement when compiled for MS/TP.
2012-07-12 20:04:20 +00:00
skarg
9f1719756d
Added Binary Input Write Property handler to the device handler function table. Thanks for asking, Vogel!
2012-07-12 16:41:52 +00:00
skarg
3e3298496a
Added ability to send Local Broadcast UnconfirmedPrivateTransfer using 'dnet=n' argument in place of device-instance argument.
2012-07-11 19:13:09 +00:00
skarg
5244c2368a
Added ability to send Broadcast UnconfirmedPrivateTransfer using 'broadcast' argument.
2012-07-11 16:21:09 +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
d43146c7e3
fixed bug: Writing of property NotifyType in AnalogValue - ID: 3541355
2012-07-08 15:27:15 +00:00
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