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
skarg
0a468dbb5a
Added recurring foreign device registration for server demo.
2010-07-02 12:20:51 +00:00
skarg
710cfccfef
Indented using indent script.
2010-05-04 21:06:26 +00:00
tbrennan3
8dd671d5a1
Sorry about the missing header; adding it in here.
...
Some comment tweaks for Doxygen.
2010-04-17 15:39:20 +00:00
tbrennan3
c5977b8933
Added some function documentation and a little more support for Structured Views.
2010-04-15 20:45:22 +00:00
tbrennan3
026a489fc5
Answered my own questions, after some thought:
...
Made the epics pretty-printing generate shorter lines by only decoding 4 bits per line (hurts my byte-centered soul, but does look better).
Moved the big comment section out of demo/server/main.c out to a new header, server.h.
Provided doxygen links to the functions called in the server demo.
2010-03-23 12:32:46 +00:00
tbrennan3
5a99f0662c
Commented the demo/server in a new module.
...
Embedded its PICS in the server documentation (hopefully a good idea).
Added a PrettyPrintPropertyValue() function to the epics program (hopefully OK format).
Added a function apdu_service_supported_to_index() to the apdu code to translate a SERVICE_SUPPORTED_ enum to its SERVICE_CONFIRMED_ or SERVICE_UNCONFIRMED_ index, and used it when PrettyPrinting services.
2010-03-23 04:55:11 +00:00
skarg
d4b39c6b59
Changed CC and AR in demo makefiles to make cross compiling the demo applications easier.
2010-03-01 19:01:40 +00:00
skarg
2a68202503
Updated GNU make Makefile for cross compile by changing CC=gcc to CC:=gcc.
2010-02-27 04:02:27 +00:00
tbrennan3
a911eea98f
The beginning of doxygenation:
...
As a first step, added an @file description for each file.
2010-02-14 05:41:45 +00:00
skarg
f0863c0238
Refactored RP, WP, RPM to reduce coupling with objects for Linux and Win32 ports.
2010-02-10 16:27:31 +00:00
skarg
c04e69da8c
Fixed EOL, indent.
2009-10-24 17:02:59 +00:00