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
skarg
48e6a77f5e
Refactored the subscribe COV demo client.
2011-11-21 20:05:13 +00:00
skarg
4841262b03
Added ReadRange into function handling list.
2011-11-02 21:46:21 +00:00
tbrennan3
ff3c0590f2
Extend handler_who_is_unicast() to broadcast I-Am anyway if the Who-Is request was an Original-Broadcast or Forwarded-NPDU.
2011-10-28 14:43:06 +00:00
tbrennan3
cbc62dd6c0
Extended the test for supported services for routed devices to the device's PROP_PROTOCOL_SERVICES_SUPPORTED.
...
Support calling of Routed_Device_Service_Approval() with a NULL buffer if just testing for support.
2011-10-27 20:34:45 +00:00
tbrennan3
710ac3d34c
Added checking in with each device (in the BAC_ROUTING case) to see whether it supports RD or DCC.
...
Sends a Reject message if not supported. Added to the respective handlers.
2011-10-21 17:02:11 +00:00
tbrennan3
85e232ce0d
It was necessary to include trivial implementations of the device write functions to avoid pulling in the device.c module from libbacnet.a for the handler_write_property() support, which resulted in hard-to-trace device duplicate function errors.
...
Turned up when I turned on BAC_ROUTING but not before that, due to dependencies introduced by gw_device.c in libbacnet.a.
2011-10-20 15:21:03 +00:00
tbrennan3
416eee50fe
Per the BTL test cases for 14.1.7, 14.1.x1, and 14.1.8, the device should respond back with an original-broadcast-npdu for a Forward-NPDU and an Original-Broadcast-NPDU; this makes this so for BACnet/IP.
...
Minor fixes for build errors and warnings.
2011-10-19 18:48:24 +00:00
skarg
9c1f651458
Moved Device object dependency to the demo handlers.
2011-10-03 22:24:57 +00:00
skarg
0d5c57b149
Moved the DCC of the COV handler into the handler.
2011-10-03 21:49:10 +00:00
skarg
2b0fac263c
Added Added more explicit error checking on WritePropertyMultiple decoding (untested).
2011-10-03 19:18:27 +00:00
skarg
dd93e8cf1b
Removed the object-table function macros from each demo object header file since it was very difficult to maintain when new functions are added. Added device-client.c file which is a small device object just for simple clients. Updated most Makefiles of client demo applications to utilize device-client.c file.
...
Added two device object table functions for COV support.
Corrected demo COV handler interaction with TSM, COV flags, and multiple subscriptions for the same object.
2011-10-03 18:54:14 +00:00
tbrennan3
7eb2109dc4
Added the ability to ask for the BVLC Function Code in the lower layers; particular need was to recognize bcasts and not respond with Reject-Message-to-Network.
2011-09-30 20:00:48 +00:00
skarg
a9e752d64d
Fixed error print message.
2011-09-17 04:20:28 +00:00
skarg
e9142bfc54
Added Added SubscribeCOV demo application (bacscov) for testing (and fixed subversion mess up that I did by copying a directory).
2011-09-14 20:47:00 +00:00
skarg
bebb97b469
Added Added SubscribeCOV demo application (bacscov) for testing.
2011-09-14 20:40:26 +00:00
skarg
988e7ce30e
Added Added SubscribeCOV demo application (bacscov) for testing.
2011-09-14 20:39:24 +00:00
skarg
6f33c27ca9
Added SubscribeCOV demo application (bacscov) for testing.
2011-09-14 20:39:00 +00:00
skarg
50f0fe2866
Corrected Bugs item #3409624 . Removed extra parenthesis.
2011-09-14 20:06:50 +00:00
tbrennan3
ce7e651156
Provided a feedback path, so we can find out if our foreign device registration has been NAK'd.
2011-09-12 21:21:39 +00:00
tbrennan3
630ed4640b
Improved the bacepics program to include header and footer, so it can generate a full (and compliant) EPICS file for VTS3.
2011-09-12 18:07:25 +00:00
tbrennan3
46d7daf405
Arranged the BBMD functions so that BBMD_ENABLE shrouds all the code used just by implementations which serve as a BBMD device.
...
Left the few for registering as a foreign device in the common code body (no #ifdef around them), and moved them to one area toward the end of the file. (Seemed like too few to justify having their own source code file.) Allow foreign device registration function without requiring BBMD_ENABLE.
2011-09-12 11:54:42 +00:00
tbrennan3
a41c8fcc99
Fixed a few problems with ptransfer in linux builds, but then relagated it to Win32 only builds (left the errors for M$-only functions like _kbhit)
...
Added a makefile for it.
2011-09-12 11:50:05 +00:00
skarg
9735ca0750
Added UnconfirmedPrivateTransfer demo application.
2011-09-11 13:34:37 +00:00
skarg
8e253e8545
Changed ReadPropertyMultiple demo example to be able to request multiple properties from the same object. Also removed the array-index parameter (the quad) in favor of bracketing the array index if an array index is desired: 76[0] is the object-list property array index 0. Multiple properties are sent using a comma separating the properties. Updated the --help to show examples of the new forms.
2011-09-02 00:57:08 +00:00