skarg
e7d04a2379
Added --version and --help command line options to some demo applications.
2014-08-15 13:21:20 +00:00
skarg
d1f4e78cba
fixed svn EOL and MIME settings.
2012-04-06 23:24:43 +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
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
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
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
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
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
48411b8dbf
Routing functionality complete, and working. (Have not done extensive testing, though.)
...
For building, made it possible to include or exclude the routing functionality with simple changes in the main Makefile and enables in lib/Makefile and include/config.h
The Device object (device.c and .h) was extended to support the virtually routed Devices, with most of the new functions in new file gw_device.c to replace their simpler cousins in device.c.
2010-10-13 15:59:39 +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
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
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
skarg
a28760bf56
Added init functions to object header files. Finished refactoring the demo read and write property handlers to use function tables.
2009-08-23 03:26:30 +00:00
skarg
7032168ff5
Ran the fixup, indent, and comment scripts to standardize the source code.
2009-05-24 01:49:21 +00:00
skarg
7916c7a6de
Consolodated the datalink environment variable for building demos on Linux and Windows into a single module (dlenv). Adjusted most demo makefiles.
2009-05-22 01:45:38 +00:00
skarg
0c4edb33d9
Fixed up file indent, comments, and eol-type.
2009-05-13 03:46:02 +00:00
skarg
94d55e0294
Cleaned up Borland build files (whitespace) and subtle bug in lib makefile.
2009-04-19 14:39:20 +00:00
skarg
b85c4355d0
Indented according to standard indent rules for this project.
2009-04-18 20:50:04 +00:00
skarg
4490d4a086
Added and updated a few Borland C++ makefiles for building the demo applications on Windows. Thank you Martin!
2009-02-20 15:21:35 +00:00
skarg
eb5838c3d5
Cleaned up some makefiles.
2009-01-17 12:49:47 +00:00
skarg
d1a1c1c8a6
Indented.
2008-11-24 12:48:09 +00:00
skarg
e6f683a43b
Added BUILD=debug to linux/mingw makefiles.
2008-11-20 16:26:39 +00:00
skarg
5df087c88c
Simplified the WhoIsRouterToNetwork and InitializeRouter demo.
2008-09-14 16:12:59 +00:00
skarg
224d74f417
Moved npdu_handler from npdu.c to demo/handler/h_npdu.c file, since this will change for routers and gateways.
2008-09-07 04:13:58 +00:00
skarg
7c0116b54a
Improved Initialize Router to Network demo to print results.
2008-09-06 14:24:25 +00:00
skarg
61759224a6
Changed Init Router message to have DER = true.
2008-08-29 16:47:30 +00:00
skarg
0ffbb64c13
Indented with standard indent rules.
2008-08-23 12:38:26 +00:00
skarg
2b38e1ec77
Adding Init Routing Table message client.
2008-08-23 11:40:14 +00:00
skarg
e75eaf0973
Adding router inquiry demos.
2008-08-21 22:30:27 +00:00