Commit Graph

168 Commits

Author SHA1 Message Date
skarg 03de7f191e Added TimeSynchronization server example. 2016-07-26 21:27:34 +00:00
skarg 1302c1be7b Nikola Jelić implemented the Access Objects for BACnet (Access Door, Access Point, Access Credential, Access Rights, Access User, Access Zone, and Credential Data Input). 2016-07-17 19:23:19 +00:00
ekh 4f0efc6d75 A couple of bugfixes and Microsoft cleanups by Ed 2016-03-15 07:49:22 +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 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 ef91dbb6ea Added Command object to the server demo. Thank you, Nikola Jelic. 2014-03-05 17:02:38 +00:00
skarg 8c20db621e updated server demo PICS, but still needs proofed. 2013-11-18 13:33:50 +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 cbe6439fd2 Removed the BACnet objects from the library Makefile, and added them to the demo/server/Makefile to enable compiling with GCC 2.95.3 under QNX. 2013-07-20 22:30:47 +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 486e81dfea Added address initialization to the simulated server demo to be able to load the device-address-binding property with some static addresses. 2013-01-18 03:10:21 +00:00
netp 6bac1f18bc added type casts 2012-08-07 03:40:06 +00:00
skarg 149fcd829c Shortened datalink timeout from 100ms to 1ms so that COV handler task, which has by default 255 subscriptions and 5 states (almost 2 minutes to process all subscriptions at 100ms per task cycle), would get through the states quickly. Doesn't appear to negatively impact any performance (as tested on Win32 XP and Linux). 2012-05-23 13:28:25 +00:00
skarg 48e2c60ce2 indented to standard from script 2012-05-13 15:07:12 +00:00
skarg 7a24c03c8a updated some code::blocks projects 2012-04-16 14:59:45 +00:00
skarg 4d02e66634 Updated Code::Blocks projects to compile correctly. 2012-02-23 22:15:49 +00:00
skarg 9e8c2b0927 Added explicit datalink_cleanup to all demo applications.
Moved bip_cleanup() to port specific files.
This works better for bacnet-stack DLLs.
2012-02-10 22:12:15 +00:00
skarg 0d5c57b149 Moved the DCC of the COV handler into the handler. 2011-10-03 21:49:10 +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
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
k001a c40b355694 Handling of GetAlarmSummary service. 2011-08-23 21:22:06 +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 8199008092 Acknowledge Alarm for Analog-Input and Analog-Value objects.
Moved initialization of handlers to GetEventInformations to specific init object.
2011-07-21 20:44:57 +00:00
k001a 536438d23e Get_Event_Informations returns analog-input and analog-value objects when Event_stane is not equal to NORMAL. 2011-07-13 20:36:21 +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 ea05c15ce2 Implemented Time_Delay and Event_Time_Stamp for analog-value object. 2011-07-06 20:55:45 +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
k001a ccf1335979 Added Notification Class object. I will use it to intrinsic reporting.
Notification Class objects can be disabled when define INTRINSIC_REPORTING (bacdef.h) will be removed.
2011-06-17 16:23:47 +00:00
k001a a16a8f041b - Added handling to WritePropertyMultiple.
- Added encode_tagged_enumerated function.
2011-06-08 21:51:15 +00:00
skarg 05ddcf93c5 Corrected device function list NULL functions. 2011-05-25 21:34:19 +00:00
skarg deab12a5e1 Changed WhoHas and I-Have to use CharacterString instead of forcing ANSI X34 and C Strings. Affected all demos and ports object name, so I changed the object name function name to make sure it was noticed. 2011-03-24 16:53:02 +00:00
skarg e095715cec Moved include files for demo objects into demo/object, and updated makefiles to accommodate the move. This allows developers to create and maintain their own objects and the interfaces to them. 2011-03-22 20:53:13 +00:00
skarg 1c560c27b9 Refactored the DCC code in APDU for clarity. Added DCC check in demo server to prevend COV when DCC is not enabled. 2010-12-22 03:09:42 +00:00
skarg 2a0bf4926a Performed standard indent script indent.sh on project files. 2010-12-15 19:02:40 +00:00
skarg 8f1e8d82cd Changed Object Table from a global to a local variable and added a Device function to initialize it. 2010-12-13 03:41:55 +00:00
skarg d5b8dee34e Updated make to $(MAKE) as recommended best practice. 2010-12-12 05:42:13 +00:00
petermcs 072640f887 Added in call to trend_log_timer so Trendlogs are updated and changed stop time on initial setup of logs to the year 2020 instead of 2009 so they would accumulate some more records. 2010-11-26 13:16:55 +00:00
bacpack 6a523e4d23 First attempt to clean-up Makefiles.
1. Top (main) makefile defines build configuration variables and export them for sub-makes to use. BAC_ROUTING is defined here - is has been removed from config.h.
2. A new makefile has been added in demo subdirectory. It builds the demo applications. NOTE: the 'ports' target is not build.
2010-11-25 04:17:58 +00:00
petermcs dbb8997b4d Added routing support for virtual network to more of the handlers and fixed up a couple of typos from the previous changes.
Added ReadRange service handler so that trendlogs can be read.
2010-11-18 21:29:11 +00:00
bacpack 502cbcc2e6 1. In device.c, the Object_Table[] is now extern; it has to be defined by the user application (see demos); only the required BACnet objects have to be included.
2. Objects' .h files define macro to be used to initialize Object_Table[].
2010-11-13 19:57:29 +00:00
tbrennan3 44b7e02721 Tweaked the debug building and printing a little - I hope this works OK for everyone. Let me know if not.
Tamped down a few warnings.
For the demo/server Makefile, made an either/or choice between executable size optimization (normal) or gdb debug info and no optimization.
2010-09-27 20:27:29 +00:00
tbrennan3 a29bf3fecc Cleanup ugliness and fix build in bactext.c 2010-08-30 13:10:13 +00:00
skarg b769dcbe1d Indented. 2010-08-18 00:11:35 +00:00
skarg 6c9ef7211d Fixed indent script, and indented files. 2010-07-19 23:19:54 +00:00
skarg 0b5efa5be5 Changed -L=lib to -Llib in all GNU Make makefiles since it was wrong and causing problems on cross compilers. Thank you, Magno! 2010-07-14 12:55:37 +00:00