Commit Graph

159 Commits

Author SHA1 Message Date
skarg 56290fe877 Add COV handling example for Multi-state Value 2018-12-11 02:40:47 +00:00
skarg 55794f7f54 Merged revision(s) 3172 from branches/releases/bacnet-stack-0-8-0:
Fixed ReinitializeDevice service error handling of states for demos and ports.
........
2018-12-06 04:11:01 +00:00
skarg 77360ad46f Added example Network Port object 2018-08-30 01:19:31 +00:00
koby3101 b51bd6bc5e To process the last object in the object list 2017-03-02 10:39:10 +00:00
skarg 957bb9fb99 Added COV example to Analog Value object. 2017-01-11 23:51:24 +00:00
skarg b2938bb68a Changed Device_Object_List_Identifier() to use uint32_t for array_index since that is the size decoded in a ReadProperty request, and unsigned is not always 32-bit. 2016-10-25 13:10:28 +00:00
skarg bec5836bbd Changed Device_Objects_Property_List() function to pass the object instance so that objects of the same type can have different optional or proprietary properties. 2016-08-12 21:54:02 +00:00
skarg 03de7f191e Added TimeSynchronization server example. 2016-07-26 21:27:34 +00:00
skarg 94dbe3d429 Added BACnetTimeValue functions. Added demo Schedule object. Integrated new objects with demo server and unit tests. Thank you, Nikola Jelić! 2015-11-24 22:22:17 +00:00
skarg ca5a9bff94 Added support for Visual Studio 2015.
Fixed some WIN32 specific compile issues.
Changed MinGW build to use _NO_OLDNAMES so that it compatible with MSVC.
Thank you John LaFontaine for the contribution!
2015-11-10 21:08:05 +00:00
skarg 73190ed0c4 Reverting the device.c change that accidentally removed OBJECT_LIST from array error in r2870. Fix for [bugs:#37]. Thank you, klata! 2015-10-15 18:08:12 +00:00
skarg 1026462724 Refactored the Property_List property and added Protocol_Revision 14 define restriction for Property_List and Channel and Lighting Output objects. 2015-10-07 20:26:30 +00:00
skarg b2097a2acc Added command line option for setting the Device Name in the demo server project. 2014-11-06 16:16:48 +00:00
skarg 3ad8eaba9c added Integer Value object example 2014-09-10 04:01:53 +00:00
skarg c1ba4b124e Added COV to Analog Input demo object. 2014-08-28 18:46:09 +00:00
skarg ef91dbb6ea Added Command object to the server demo. Thank you, Nikola Jelic. 2014-03-05 17:02:38 +00:00
skarg f7724eea6a Fixed Send_TimeSyncUTC().
Fixes bug https://sourceforge.net/p/bacnet/bugs/28/
Added functions in s_ts.c that reference Device object Local_Time, UTC_Offset, and Daylight_Savings_Time properties.
Implements feature request https://sourceforge.net/p/bacnet/bugs/27/
2014-01-19 19:55:20 +00:00
skarg 2f0bf7744a Added property-list property to Lighting Output and Channel objects (untested). Fixed some compiler warnings. 2013-11-15 20:51:38 +00:00
skarg 4d79c26a8c Updated Lighting Output object. Added Channel object. Not complete and not fully tested. 2013-11-11 22:27:55 +00:00
skarg 56b65e9694 indented using indent.sh script. 2013-10-29 01:55:49 +00:00
skarg 219a8b4e5b Added apdu-max in demo device object. 2013-07-20 19:25:13 +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 ba3242aafd indented using indent.sh script to get uniform looking code for release 2013-03-13 22:17:13 +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 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
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 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 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 4841262b03 Added ReadRange into function handling list. 2011-11-02 21:46:21 +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 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 3e1cb1847f Indented project. 2011-08-17 02:27:11 +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
k001a c61c096dc7 Intrinsic reporting for analog-input objects.
Print on output details of WritePropertyMultiple.
2011-07-11 21:29:51 +00:00
k001a 7f291e3041 Cosmetic changes to comments.
Print on output every change of Event_State for analog-value objects.
Added write_property_function for analog-input objects.
Created descriptor for analog-input objects.
Possible to write Present_Value for analog-inputs when Out_Of_Service is true.
2011-07-11 19:48:21 +00:00
k001a 90fcf9706d Ability to compile the project without INTRINSIC_REPORTING. 2011-07-07 20:06:43 +00:00
k001a 19a77ba46e Created descriptor for analog-value objects,
- writable Relinquish_Default and Units
- added properties required for intrinsic reporting.

Intrinsic reporting for analog-value. First commit. 
Not everything finished (inter alia Time_Delay, Event_Time_Stamps, ACK_Required doesn't work now).

Initialize all objects in Device_Init function.
Added function to read current time.
Defined enum BACNET_LIMIT_ENABLE.
Started cache address.
2011-07-05 19:44:36 +00:00
skarg 8da85f6c79 Moved COV object handling into Device object.
Fixed COV for multiple subscriptions to same object.
2011-05-25 20:18:56 +00:00