Commit Graph

2006 Commits

Author SHA1 Message Date
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 4a779febca Added some volatile keywords to make it interrupt safe. 2011-10-18 02:24:44 +00:00
skarg 78fb95bb63 Created EPICS for BACnet Development Kit 2011-10-06 15:24:56 +00:00
skarg dda49e2824 Added Relinquish-Default to Enumerated special property cases. 2011-10-06 15:24:30 +00:00
skarg 551637d6af Undefined error print since this case is very common for the client applications. 2011-10-05 14:31:09 +00:00
skarg 3641e7b40c Updated some Device_Init functions. 2011-10-04 15:57:40 +00:00
skarg 9c1f651458 Moved Device object dependency to the demo handlers. 2011-10-03 22:24:57 +00:00
skarg ed4a72ed0a Fixed print-enabled define checking. 2011-10-03 22:05:39 +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
skarg 3bd72dc18d Removed fix for Revision 2094, as this broke the ability to bind to MAC addresses, and the NPDU is the source for the SNET in the address. 2011-10-03 14:12:53 +00:00
skarg 2356384497 Corrected function prototypes. 2011-10-03 14:00:59 +00:00
skarg 2ffdc9bc53 Added missing return result to fix compiler warning. 2011-10-03 14:00:25 +00:00
skarg b8dcdee79a Added some include files for the typedefs in the file. 2011-10-03 13:51:19 +00:00
skarg 043b840d82 Removed extra word to fix compiler error. 2011-10-03 13:50:26 +00:00
petermcs fe7af042b9 Array index is now unsigned so > 0 test will not work. Use explicit check for BACNET_ARRAY_ALL instead. 2011-10-02 20:19:07 +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
petermcs a25a7a238d Made code conditional to avoid error when building with MSVC++ 2011-09-20 19:11:41 +00:00
tbrennan3 3c9f0c9298 Had an issue where Original_Broadcast requests were not responded to with Original_Broadcast packets; this is a fix for that. 2011-09-19 15:20:26 +00:00
tbrennan3 24bea2eb82 Handle the case where Device ID is BACNET_MAX_INSTANCE: for RP and RPM, put the real device ID in the response. 2011-09-19 13:06:55 +00:00
tbrennan3 7b3a6b3465 Missed a NAK case; got it now! 2011-09-18 19:49:14 +00:00
tbrennan3 9d9c1eedaf More compliant DCC Disable or Disable_Initiation: if no time argument is given, take it as indefinite (a large number) rather than 0. 2011-09-18 17:13:04 +00:00
skarg 120c2734ee Added ascii-hex conversion in the octet-string library to allow ascii-hex to be parsed correctly from demo applications. 2011-09-17 04:21:32 +00:00
skarg a9e752d64d Fixed error print message. 2011-09-17 04:20:28 +00:00
skarg f444929570 Updated the man page a little. 2011-09-17 04:19:56 +00:00
skarg 725af0f1a0 Created man page for bacwp demo application. 2011-09-17 04:04:47 +00:00
skarg cb5c3c102a Updated copy of the project web page. 2011-09-16 14:59:04 +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
skarg 4ee99355cd Corrected GCC version check. 2011-09-12 21:27:13 +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 364293b075 Added NAK functionality for BBMD commands when not supported.
Also record any BVLL Result returned to us (eg, for foreign device registration).
2011-09-12 20:52:42 +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 8488d65a9c Fixed the spelling of BBMD_ENABLED, and define it off (0) by default. 2011-09-12 18:04:26 +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 cd8946c62d Cleaned up comment. 2011-09-11 13:35:46 +00:00
skarg 9735ca0750 Added UnconfirmedPrivateTransfer demo application. 2011-09-11 13:34:37 +00:00
skarg afa68ab788 Made this similar to another device.c. 2011-09-09 04:51:03 +00:00
skarg 432145b766 Updated device.c files of ports stm32f10x and at91sam7s to fix some problems and make them more similar. 2011-09-09 04:47:46 +00:00
skarg 548beac851 Updated device files in some ports to be more similar and correct. 2011-09-09 04:31:31 +00:00
skarg 9f0dfeed1c Fixed Linux datalink call to Master Node FSM which was not doing immediate transitions, and could lose whole messages. Thank you, Nikola Jelic! 2011-09-02 14:35:16 +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
skarg 47094241a8 Added Subversion workflow details in README.subversion
Added script to ease branch releases.
2011-08-31 17:23:29 +00:00
skarg 5f86e70352 Corrected linker error. 2011-08-31 16:47:01 +00:00