skarg
63e4e1ce2d
merge and cleaned up warning
2013-06-11 22:36:16 +00:00
skarg
f52fc092e5
Added additional BACnet demo object API (header files) for various properties. Updated demo objects to compile cleanly with the updated API.
2013-05-22 17:42:48 +00:00
skarg
15cb616b4a
Added UCI support for the BACnet demo server. UCI is a replacement for nvram. The source is GPL and has a lua lib.
...
http://wiki.openwrt.org/doc/uci
http://nbd.name/gitweb.cgi?p=uci.git;a=summary
Thank you, Patrick <patrick@lunatiki.de >.
2013-04-15 20:22:24 +00:00
skarg
e5dccc0fc0
cleaned up gateway build from Gnu Make by having it build the library again with its own defines, and removed the gateway defines in the various Makefile files.
2013-04-12 23:12:32 +00:00
skarg
bc1017ee60
cleaned up warnings and build of unit tests
2013-03-13 22:34:08 +00:00
skarg
ba3242aafd
indented using indent.sh script to get uniform looking code for release
2013-03-13 22:17:13 +00:00
skarg
9b7a647a13
Modified some comments.
2013-03-06 17:24:29 +00:00
skarg
331b17cf1d
Added JavaDoc function headers to a couple of functions.
2013-01-18 03:07:59 +00:00
skarg
adb69c524c
When write-property to object-name property in example objects, no need to write the duplicate name again.
2013-01-14 17:13:48 +00:00
skarg
af5d529001
Fixed write-property to object-name property in demo application to fix for BTL 135.1-2009-9.22.2.8 - Reading an object name and writing it straight back gives a 'duplicate name' error. Thank you, Ed!
2013-01-14 16:29:42 +00:00
skarg
ac84fc430f
Split error codes on write property for read-only known properties which gives write-access-denied, and unknown properties.
2013-01-14 16:27:50 +00:00
skarg
a12e106643
Updated the objects, services, and properties for the 135-2012 version of the BACnet standard.
2012-12-07 22:00:57 +00:00
skarg
934fcbf012
A function in example device.c, Device_Object_List_Identifier, uses an array index, which starts at 1, not 0. Fixes WhoHas for last name in object list. Thank you, Peter van der Stok!
2012-12-07 16:28:01 +00:00
skarg
ccf49ec884
added example of writing to state text array into Multi-State Input object demo
2012-11-23 18:04:02 +00:00
skarg
03a0a23ba6
Corrected normal/fault transitions in Analog_Input_Alarm_Ack(). Thanks, yoo_ms@hotmail.com.
2012-10-15 21:28:29 +00:00
skarg
d5fd900780
cleaned up compiler warnings
2012-09-23 12:48:41 +00:00
cneilson
f5c9073853
fix incorrect use of NULL
2012-09-17 16:04:18 +00:00
cneilson
77ad8cf6f4
fix compile errors
2012-09-12 08:39:36 +00:00
skarg
d6b9d29e22
Removed extra else since error was initialized by default.
2012-08-16 18:55:09 +00:00
skarg
8988790bff
Fixed duplicate case statement when compiled for MS/TP.
2012-07-12 20:04:20 +00:00
skarg
9f1719756d
Added Binary Input Write Property handler to the device handler function table. Thanks for asking, Vogel!
2012-07-12 16:41:52 +00:00
skarg
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.
2012-07-09 21:52:19 +00:00
skarg
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!
2012-07-09 19:49:27 +00:00
skarg
d43146c7e3
fixed bug: Writing of property NotifyType in AnalogValue - ID: 3541355
2012-07-08 15:27:15 +00:00
skarg
180f09cb08
Removed the optional properties from example Analog Output in order to test ReadPropertyMultiple using OPTIONAL property.
2012-05-18 23:12:11 +00:00
skarg
2dd97c23cd
Added Analog Output and Binary Output objects to simulated device example.
2012-05-18 23:11:00 +00:00
skarg
48e2c60ce2
indented to standard from script
2012-05-13 15:07:12 +00:00
skarg
6018f2ce04
Added required property.
2012-04-16 14:48:25 +00:00
skarg
c5015b334d
Fixed compile warnings.
2012-04-09 14:15:44 +00:00
skarg
d1f4e78cba
fixed svn EOL and MIME settings.
2012-04-06 23:24:43 +00:00
skarg
a8280dda95
Added CharacterString Value object example and unit tests, and added to demo/server example application.
...
Added Multi-state Value object example and unit tests, and added to demo/server example application.
Fixed Analog Input object, Analog Output object, Analog Value object, Device object, Multi-state Input object, Multi-state Output object examples to return correct error codes for WriteProperty service (per BACnet 135.1-2009-9.22.2.6).
Fixed top level ReadProperty and WriteProperty handlers in Device object to return correct error codes (per BACnet 135.1-2009-9.22.2.5)
2012-03-22 18:22:42 +00:00
skarg
1c42bcfb92
Added function pointers (nulls) for ReadRangeInfo and Iterator for Binary Value objects.
2012-03-19 19:28:21 +00:00
skarg
6b544c0ec4
Changed service error ERROR_CODE_UNSUPPORTED_OBJECT_TYPE to ERROR_CODE_UNKNOWN_OBJECT to since ERROR_CODE_UNSUPPORTED_OBJECT_TYPE seems to only be acceptable to return from CreateObject service.
2012-03-16 20:09:20 +00:00
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
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
12d0d9f204
Created Rowley Crossworks AVR project for BDK port to ATmega644p.
2012-01-12 23:09:14 +00:00
skarg
513663727f
Added function prototypes to support COV.
2012-01-06 18:52:22 +00:00
skarg
4841262b03
Added ReadRange into function handling list.
2011-11-02 21:46:21 +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
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
k001a
c40b355694
Handling of GetAlarmSummary service.
2011-08-23 21:22:06 +00:00
skarg
e0b5b5b164
Corrected check for Device Name function.
2011-08-23 17:04:01 +00:00
tbrennan3
59831e8eaa
Fixed up Device_Object_Name_Copy().
...
Revised Routed_Device_Name() and Add_Routed_Device() to use BACNET_CHARACTER_STRING.
2011-08-22 19:49:25 +00:00
skarg
8d9b987064
Corrected unit tests for iam, event, ai, and bacdevobjpropref. Removed device from unit test since it needs reworked for unit testing due to object dependencies. Noted that lc object fails test and needs fixed.
2011-08-17 03:47:43 +00:00
skarg
3e1cb1847f
Indented project.
2011-08-17 02:27:11 +00:00
k001a
b3a8eff164
Cosmetic changes.
2011-08-15 10:20:28 +00:00
k001a
08028dd819
Fixed headers when built without Intrinsic Reporting.
2011-08-15 08:16:41 +00:00
k001a
c2282c5aad
Fixed headers when built without Intrinsic Reporting.
2011-08-11 20:21:18 +00:00