gri6507
2b433d72a7
Added the ability to parse the OBJECT_PROPERTY_VALUE into a string (bacapp_extract_value) in addition to outputting it to a stream (bacapp_print_value).
2011-11-28 15:33:58 +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
d3d2e9d030
Updated the developer doc.
2011-11-22 22:46:38 +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
35d8eba692
Enabled compile for GCC AVR 4.3.3
2011-11-17 03:05:06 +00:00
skarg
59059c4a97
Updated the makefile for ICE.
2011-11-17 03:04:19 +00:00
skarg
109bfed70d
Updated makefile for mstpsnap.
2011-11-17 03:03:33 +00:00
skarg
81a3ec52e5
Updated file to correct compiler errors and warnings.
2011-11-17 03:02:51 +00:00
skarg
b35279fb6e
Added an item in the To-Do list.
2011-11-02 22:31:09 +00:00
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