9d9440e061
made Protocol_Revision a configurable value, and adjust the object-type bit string and services-supported bit string length varies depending on which value is used.
skarg
2012-09-29 19:53:57 +00:00
251857e3f6
Added target router to makefiles
vasyl-tkhir
2012-09-28 09:16:59 +00:00
c5e477c73a
fixed SilenceTimer to match new API
skarg
2012-09-28 02:18:04 +00:00
6386dc8cd8
minor code cleanup to Who-Is demo.
skarg
2012-09-06 12:21:11 +00:00
8af981da83
added device instance min and max to the command line options for WhoHas demo.
skarg
2012-09-06 12:17:25 +00:00
07fa270385
Fixed private-transfer unit test makefile.
skarg
2012-08-30 01:58:54 +00:00
1068ba4293
allow WhoIsRouter demo application to target a broadcast network number
skarg
2012-08-30 01:43:21 +00:00
550cfb3fb9
Changed datetime add minutes to allow adding or subtracting minutes. Corrected it to not zero the seconds upon conversion.
skarg
2012-08-30 01:42:03 +00:00
d3c63ad4c4
Made EPICS more realistic by using more actual values for header, and using comments when not using actual data or when using non-standard properties.
skarg
2012-08-27 19:31:10 +00:00
b44645ad12
correction for single argument
netp
2012-08-25 20:26:42 +00:00
690f82cbc8
Added --help as optional command line argument.
skarg
2012-08-22 19:48:58 +00:00
41becc0a9a
CPPCheck found fixes.
skarg
2012-08-16 18:56:17 +00:00
d6b9d29e22
Removed extra else since error was initialized by default.
skarg
2012-08-16 18:55:09 +00:00
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.
skarg
2012-08-16 18:53:52 +00:00
288a47edea
Added checks for DeviceCommunicationControl that were in src/apdu.c but are missing from this port. Thanks, Vu!
skarg
2012-08-14 16:27:50 +00:00
609c24b741
changed formatting and comments to remove '//' sequences where possible
netp
2012-08-11 17:44:22 +00:00
834975356e
changed local type for compiler warning
netp
2012-08-10 09:57:45 +00:00
02d3be42cd
added cast for compiler warning
netp
2012-08-10 09:55:53 +00:00
b620b33e1b
Updated Demo Who-Is to work with remote networks and report duplicate device-identifiers
netp
2012-08-08 01:46:18 +00:00
974f651c18
modified address same routine to only use remote address (net & adr) only when present & mac on local addresses only
netp
2012-08-08 01:37:17 +00:00
b506c0e135
added option to AtomicWriteFile demo to pad the last packet with a repeated byte.
skarg
2012-07-25 19:52:49 +00:00
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.
skarg
2012-07-23 16:56:19 +00:00
8988790bff
Fixed duplicate case statement when compiled for MS/TP.
skarg
2012-07-12 20:04:20 +00:00
9f1719756d
Added Binary Input Write Property handler to the device handler function table. Thanks for asking, Vogel!
skarg
2012-07-12 16:41:52 +00:00
3e3298496a
Added ability to send Local Broadcast UnconfirmedPrivateTransfer using 'dnet=n' argument in place of device-instance argument.
skarg
2012-07-11 19:13:09 +00:00
5244c2368a
Added ability to send Broadcast UnconfirmedPrivateTransfer using 'broadcast' argument.
skarg
2012-07-11 16:21:09 +00:00
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.
skarg
2012-07-09 21:52:19 +00:00
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!
skarg
2012-07-09 19:49:27 +00:00
d43146c7e3
fixed bug: Writing of property NotifyType in AnalogValue - ID: 3541355
skarg
2012-07-08 15:27:15 +00:00
7514150f7d
cleaned up compiler warnings
skarg
2012-07-08 15:26:10 +00:00
f12db96ab3
Changed prefix for ARM compiler when using later Yagarto tools.
skarg
2012-06-01 16:39:59 +00:00
c6e954b39d
Fixed compiler warning due to duplicate macro.
skarg
2012-06-01 16:39:21 +00:00
2455774afd
changed characterstring and octetstring default capacity in microcontroller ports to be 64 bytes to prevent C-Stack overflow.
skarg
2012-05-27 02:14:21 +00:00
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).
skarg
2012-05-23 13:28:25 +00:00
39bfb0c92a
Added some debug print to demo COV handler.
skarg
2012-05-23 13:28:02 +00:00
8482b18ffa
Only changing the all array to unsigned. Others are used with signed.
skarg
2012-05-22 20:56:37 +00:00
99396c4f78
Changed constants to unsigned to clean up splint warnings.
skarg
2012-05-22 19:29:35 +00:00
a51298876f
changed public function from static in Linux port of BACnet/IP.
skarg
2012-05-22 19:29:00 +00:00
5111b9fb4e
Modified code to clean up some compiler warnings.
skarg
2012-05-18 23:34:45 +00:00
180f09cb08
Removed the optional properties from example Analog Output in order to test ReadPropertyMultiple using OPTIONAL property.
skarg
2012-05-18 23:12:11 +00:00
2dd97c23cd
Added Analog Output and Binary Output objects to simulated device example.
skarg
2012-05-18 23:11:00 +00:00
acf6e68948
Changed default GCC build to enable BBMD so that demo/server simulation includes a BBMD.
skarg
2012-05-18 23:08:30 +00:00
bd70c94128
Incremented version to 0.8.0 for new features.
skarg
2012-05-17 05:27:56 +00:00
931e73ccf8
Incremented version to 0.8.0 for new features.
skarg
2012-05-17 05:26:32 +00:00
afc5437618
Slight mod to spacing.
skarg
2012-05-14 16:45:37 +00:00
796777aa0e
updated to fix svn copy which now errors if the -m is included. Also added exits when a part fails to complete. Changed directory checks to -d.
skarg
2012-05-14 16:11:03 +00:00
f47c1df1b4
converted any C++ comments to C comments using script.
skarg
2012-05-13 15:08:17 +00:00
48e2c60ce2
indented to standard from script
skarg
2012-05-13 15:07:12 +00:00
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.
skarg
2012-05-13 15:02:40 +00:00
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.
skarg
2012-05-12 15:39:16 +00:00
d0038e6456
Changed infinite DeviceCommunicationControl timeout value back to zero. Bug found by unit test.
skarg
2012-05-12 14:42:57 +00:00
287fce78be
Corrected wildcard time and date parsing. Bug found by unit test.
skarg
2012-05-12 14:17:00 +00:00
54c4ce342c
Exposed utf8_valid as a public function to reduce duplicity. Allow utf-8 string length of 0 to be valid.
skarg
2012-05-11 15:03:35 +00:00
35e953ba8b
Changed bacnet name duplicate check to allow to rewrite with the same name to the same object without duplicate name error.
skarg
2012-05-05 03:28:34 +00:00
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.
skarg
2012-05-03 02:59:24 +00:00
23d03cb280
Added missing define to config.h to allow demo applications to compile.
skarg
2012-05-01 18:23:50 +00:00
056f371f7f
Tweaked config.h to reduce chances of breaking other peoples builds and explain the options better.
petermcs
2012-04-30 10:19:51 +00:00
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.
petermcs
2012-04-30 10:14:18 +00:00