Commit Graph

58 Commits

Author SHA1 Message Date
skarg a39bf392bd Fixed Makefile for MinGW build. Testing with MinGW 20101030 and MSYS. gcc (GCC) 4.5.0 (MinGW), GNU Make 3.81 (MSYS). 2010-11-30 17:50:24 +00:00
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
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 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
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 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
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 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 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 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 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
skarg b8ee7d6b9c Added ability to use static address binding in file address_cache. Useful for client applications binding to MS/TP slave devices. 2008-03-01 06:42:46 +00:00
skarg bf353b0c56 Added MS/TP define for optional compile. 2008-02-20 22:47:48 +00:00
skarg 1c4ac15cb0 Updated svn eol style. 2008-01-20 21:55:59 +00:00
skarg f92a6b10f0 Updated demo library to include BVLC file and functionality. 2008-01-20 21:34:40 +00:00
skarg 5eb6c9bc4d Added optional standards flag for c99 2008-01-09 13:30:17 +00:00
skarg af373fbbfe Prepping for COV. 2007-12-05 22:57:45 +00:00
skarg 4d2f46b395 Added defines for each BACAPP datatype so that the developer could only use the ones they need for their WriteProperty applications. 2007-10-19 17:11:31 +00:00
skarg a4d9a2eb69 Moved bacdcode.c and bacreal.c back to src, and removed the separate bacdcode directory. Since gcc linker can remove unused functions, this was wasted effort. Added bacreal unit test. 2007-10-18 12:13:46 +00:00
skarg 625ff40d71 Moved bacstr.c back to src. Since gcc and others tool linkers can remove unused functions, this turned out to be a wasted effort. 2007-10-18 11:50:14 +00:00
skarg 89ddbbe2a0 Moved iam.c back to src, and removed the separate iam directory. Since gcc and others tool linkers can remove unused functions, this turned out to be a wasted effort. 2007-10-18 11:41:18 +00:00
skarg 9b304596c9 Moved rp.c back to src, and removed the separate readprop directory. Since gcc linker can remove unused functions, this was wasted effort. 2007-10-18 11:29:05 +00:00
skarg 947756fa0d MovedMoved ReadProperty to subdirectory for library splitting. Split client, server, test for ReadProperty. 2007-10-14 02:19:24 +00:00
skarg b290c71bd7 Split out Real encoding and decoding. 2007-10-14 00:03:23 +00:00
skarg 45c179c14c Split out bacnet string modules. 2007-10-13 23:40:47 +00:00
skarg eb8f959c73 Moved bacdcode files into src subdirectory in preperation for breakout of functions for a lean library. 2007-10-13 22:39:11 +00:00