Commit Graph

85 Commits

Author SHA1 Message Date
skarg d09657474c fixed whois demo to be compatible with address_cache ability which parses the text of the whois output. 2012-09-27 19:25:24 +00:00
skarg 6386dc8cd8 minor code cleanup to Who-Is demo. 2012-09-06 12:21:11 +00:00
netp b44645ad12 correction for single argument 2012-08-25 20:26:42 +00:00
skarg f93b08e1bb Fixed compiler warnings. 2012-08-22 19:48:21 +00:00
netp b620b33e1b Updated Demo Who-Is to work with remote networks and report duplicate device-identifiers 2012-08-08 01:46:18 +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 3e1cb1847f Indented project. 2011-08-17 02:27:11 +00:00
skarg 05ddcf93c5 Corrected device function list NULL functions. 2011-05-25 21:34:19 +00:00
petermcs f5234050ea Added bactext.h to includes 2011-04-02 09:59:04 +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
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 0dff7c85eb Improved reporting in demo WhoIs and mstpcap. 2010-07-01 16:36:05 +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 e36e38cbe6 Added BIP_DEBUG configuration. 2009-12-31 15:35:37 +00:00
skarg d6c4b11854 Corrected spacing on WhoIs demo output. 2009-10-28 21:07:53 +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 db61a1122f Ran indent script. 2009-07-29 18:06:33 +00:00
skarg 0e5a1cee0a Corrected comments. 2009-07-24 16:18:48 +00:00
brayra 16f7508fac Reorder items of whois addresses to be compatible with address_cache file format
Also put comment (;) tag at the beginning of header lines on the report
2009-07-15 19:01:17 +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 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 29df527ec1 Removed WhoIs handling from the WhoIs demo to keep from responding to WhoIs with my internal device instance since this was confusing. 2008-11-12 15:45:53 +00:00
skarg 63ca977553 Testing with MS/TP. 2008-10-21 22:44:39 +00:00
skarg e27d2abff2 Updated the who-is-router-to-network demo. 2008-09-06 13:56:25 +00:00
skarg 4d4b7a1904 Updated to compile with current code base. 2008-08-28 17:35:49 +00:00
skarg 9c316a65dc Moved APDU Timeout and Retries to apdu module. 2008-08-17 02:12:58 +00:00
skarg 2328f0fe59 Updated makefiles and build scripts for Borland tools. 2008-08-14 16:35:26 +00:00
skarg 241e877d23 indented. 2008-07-20 13:22:15 +00:00
skarg fb614330c9 Added library depencies to the target binary so that they would get built when the library changed. 2008-07-17 20:56:39 +00:00
skarg dc5b3e63fe Updated documentation for WhoIs command line tool. Created a man page. 2008-05-20 04:33:01 +00:00
skarg c8eb5cb012 Updated documentation. Moved built files to bin directory, and removed the utils directory. 2008-03-11 15:43:20 +00:00
skarg cf9d15631a Indented using indent script. Corrected any C++ comments using the comment script. 2008-03-10 21:00:48 +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 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 928c9fbbe1 Corrected compiler warnings. 2008-02-20 22:36:59 +00:00
skarg b72da0bc4a Added BBMD environment setting for demo applications epics, server. 2008-01-27 19:56:05 +00:00