bacpack
47ecaeabaa
To build the Routing demo define BAC_ROUTING in the top Makefile. The value is not important - the symbol has to be defined.
2010-11-25 05:10:01 +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
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
tbrennan3
9f4b8e5f19
Adding a handler for routed NPDUs (ie, Network Layer Message handling).
...
The work is not complete yet; this is an interim checkin.
2010-09-29 20:52:51 +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
skarg
bc0de6b71f
Cleaning up code by adding prototypes or include files where required.
2010-08-17 13:51:56 +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
42c01e92f6
Our cross-compiled builds were failing when they tried to link in the library built with the native linux compiler and archiver; this fixes that without changing the intent.
...
GNU-based make will handle this syntax correctly; if other makes have trouble with it, we'll have to do something different.
2010-02-26 15:43:18 +00:00
skarg
ccb5323721
Fixed Borland compiler warnings and errors.
2010-02-15 20:20:11 +00:00
tbrennan3
825181c4e8
Added missing file references to fix the build.
2010-02-15 15:32:03 +00:00
tbrennan3
4cc1ce9c62
Added @file description to bacnet.h and lib/main.cpp
...
Fixed a build issue for the linux+MS/TP combination in trendlog.h
Setup library build to define BIP_DEBUG if it is a Debug build and if it is a BIP build.
2010-02-14 05:53:09 +00:00
skarg
eb791ae681
Updated code::blocks workspace and BACnet Library project.
2010-02-11 17:15:44 +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
ba795a3d2e
Moved key.c and keylist.c into library for better management. Thanks Piotr!
2010-01-13 18:06:42 +00:00
skarg
46c78db995
Added Alarm and event source files to default library makefile to get better testing and visibility.
2009-11-19 16:03:57 +00:00
skarg
d8b6557641
Added UnconfirmedPrivateTransfer client send function.
2009-10-20 21:48:38 +00:00
skarg
af30d31a6c
Added UnconfirmedPrivateTransfer encoding and demo handler.
2009-10-20 17:26:06 +00:00
skarg
c4e56abcea
Added send for ConfirmedEventNotification.
2009-09-12 18:00:42 +00:00
petermcs
8d80d25322
Added sample Confirmed Private Transfer implementation files and demo for same.
2009-09-04 11:25:47 +00:00
skarg
6adf97553f
Updated code to handle Borland 5.5 Compile.
2009-07-29 17:53:32 +00:00
skarg
aa4f9a88e7
Changed the delete rule to delete only one file at a time since the Borland Make (or DOS del) only takes up to 255 characters per command.
2009-06-01 13:13:32 +00:00
skarg
a060c88896
Corrected Borland build when building for MS/TP. Thank you Martin!
2009-05-27 20:24:42 +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
94d55e0294
Cleaned up Borland build files (whitespace) and subtle bug in lib makefile.
2009-04-19 14:39:20 +00:00
skarg
8c34dfeb72
Corrected usage of temporary file in Borland Makefile. Terminator must be in first column.
2009-04-19 12:32:26 +00:00
skarg
b85c4355d0
Indented according to standard indent rules for this project.
2009-04-18 20:50:04 +00:00
skarg
4530915459
Moved send_uevent to demo/handler/s_uevent.c. Cleaned up event.c after splint review.
2009-04-18 15:28:35 +00:00
kingdl802
71a4a52f1b
Add work-around that allows "make clean" to work with long
...
command lines for Borland.
2009-04-13 15:56:49 +00:00
kingdl802
6a2ca24857
remove the c++ comment instead of converting it because it
...
violates the coding style for header files - the enclosing
endif is not commented.
2009-04-09 15:47:47 +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
f901d9b595
Added Confirmed Private Transfer module to library.
2009-01-25 22:57:32 +00:00
skarg
fa1d2b4fdc
Moved ucov_notify_send to handler/s_ucov.c file, and refactored PDU encoding.
2008-12-05 20:18:03 +00:00
skarg
d1a1c1c8a6
Indented.
2008-11-24 12:48:09 +00:00
skarg
7921d2f811
added ReadPropertyMultiple client demo application, bacrpm.
2008-11-23 22:25:08 +00:00
skarg
6072b98f1f
Added UCovNotification handler to demo server application.
2008-11-20 16:27:40 +00:00
skarg
c7a5c05ac7
Moved send I-Am to a send module and out of iam.c.
2008-11-12 15:38:43 +00:00
skarg
3a0f109d66
Added h_npdu to demo lib and example projects.
2008-09-07 04:23:44 +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
2e6dc739a6
changed router functions filename.
2008-08-20 13:37:19 +00:00
skarg
b7305f3da8
Added Who-Is-Router-To-Network client application.
2008-08-19 22:40:47 +00:00
skarg
2328f0fe59
Updated makefiles and build scripts for Borland tools.
2008-08-14 16:35:26 +00:00
skarg
1142eb7202
Converted the Linux MS/TP datalink module to use semaphores (pthread conditions) instead of sockets or queues. Copied module from Win32. Untested.
2008-08-10 13:51:32 +00:00
skarg
73fcc6f88b
Changed default makefile back to BACnet/IP datalink.
2008-07-28 13:40:18 +00:00
skarg
c6b60cc676
Testing MS/TP on Linux.
2008-07-27 15:27:17 +00:00
skarg
2338f3b3a3
Updated project files, makefiles, and the demo debug info.
2008-06-23 00:17:51 +00:00
skarg
45d2c6247f
Updated the demo application Code::Blocks projects to include iphlpapi library for Win32 builds. Thank you to Upside Down for reporting it!
2008-05-02 21:28:35 +00:00
skarg
e2f7234e7d
Modified the linux makefiles to work with MinGW by passing in BACNET_PORT=win32 from the make command. Corrected the AdapterInfo patch, and tested it.
2008-03-10 20:44:18 +00:00
skarg
a3e2d61f56
Modified linux makefiles for compiling with MinGW. Not successful yet (except under codeblocks).
2008-03-08 15:08:27 +00:00
skarg
cc9377ae13
Corrected.
2008-03-03 20:27:06 +00:00