Commit Graph

2016 Commits

Author SHA1 Message Date
skarg 4841262b03 Added ReadRange into function handling list. 2011-11-02 21:46:21 +00:00
skarg 2fe50e3980 indent changes. 2011-11-02 21:45:34 +00:00
skarg 16ef8818ee Moved optional properties to optional section. 2011-11-02 21:45:11 +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
skarg 6eb2aef654 Fixed compiler error (copy/paste from last fix). 2011-10-28 14:15:10 +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 1eeaeda585 Little scripts to build or rebuild under MinGW (with complaints about unknown command "rem") 2011-10-21 20:19:12 +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 0291493fd2 Fixes a build error when BACAPP_PRINT_ENABLED=1 but PRINT_ENABLED isn't. 2011-10-20 19:25:20 +00:00
tbrennan3 3525f6b9ec Tamp down a warning that appears on 64-bit builds by defining BACNET_ARRAY_ALL as 32 bits' worth of 1s, which is appropriate for its use with all uint32_t fields for propertyArrayIndex, which we now have across the body of code. 2011-10-20 15:36:02 +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 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