Commit Graph

99 Commits

Author SHA1 Message Date
skarg 1422f00f96 Added mac, dadr, and dnet options to ReadProperty demo application for reading without using WhoIs for binding. 2015-12-11 05:24:40 +00:00
skarg cf738fea8f Optimize printing usage for command line demo. 2014-08-15 15:09:56 +00:00
skarg e7d04a2379 Added --version and --help command line options to some demo applications. 2014-08-15 13:21:20 +00:00
skarg 62ff9fb1de Added error message to read-property demo print. 2013-09-27 22:15:40 +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 0fa3fb5a76 Modified read-property demo to allow passing an object type larger than 1023 and a property larger than 4194303 to allow for negative testing (to elicit a reject missing required parameter message). 2013-03-12 12:45:24 +00:00
netp 6bac1f18bc added type casts 2012-08-07 03:40:06 +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 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
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 f26997a367 Changed make to $(MAKE). Not sure if this is still needed, since MSYS has make.exe (in lieu of MinGW). Lots of demo makefiles still have make in them... 2010-11-30 18:04:27 +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 bc0de6b71f Cleaning up code by adding prototypes or include files where required. 2010-08-17 13:51:56 +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 987e28d515 Modified the ReadProperty, ReadPropertyMultiple, and WriteProperty demo applications to check source address and invoke ID on the returning acknowledge to prevent printing responses not intended for this client. 2010-06-15 14:58:27 +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 63d7a8018d Changed value of MAX OBJECT type to be consistent with other MAX values, and fixed places that relied on this value (most had a hack in place). 2010-02-11 04:30:20 +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 db61a1122f Ran indent script. 2009-07-29 18:06:33 +00:00
brayra 84ad4fe8a5 moved datalink_recieve to bottom of main loop to improve speed when using address cache 2009-07-09 21:09:23 +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 469627a6cf Updated port for BACnet Development Kit. 2009-05-11 22:32:06 +00:00
skarg 522ab83064 Corrected whitespace issues. 2009-04-19 13:00:55 +00:00
skarg b85c4355d0 Indented according to standard indent rules for this project. 2009-04-18 20:50:04 +00:00
brayra c6501b901e Added check for environment variable BACNET_APDU_TIMEOUT.
Added printing of BACNET_MSTP_BAUD when overridden by evnironment variable.
2009-02-27 16:30:54 +00:00
skarg eb5838c3d5 Cleaned up some makefiles. 2009-01-17 12:49:47 +00:00
skarg fdfd6a9f9f Fixed checkin of subversion where I had copied the .svn file when creating the new directory. 2008-11-24 04:52:37 +00:00
skarg e3f91b3916 Added ReadPropertyMultiple client demo bacrpm. 2008-11-23 22:41:57 +00:00
skarg e6f683a43b Added BUILD=debug to linux/mingw makefiles. 2008-11-20 16:26:39 +00:00
skarg 0ffbb64c13 Indented with standard indent rules. 2008-08-23 12:38:26 +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
brayra 24e7c4c908 Added check at end of function main for Error_Detected and return 1 if there were errors.
Added "Error_Detected=true" to TSM Timeout and ADPU Timeout error conditions.
2008-06-17 18:18:30 +00:00
skarg f006765c94 Fixed print name. 2008-06-06 11:48:09 +00:00
skarg dc5b3e63fe Updated documentation for WhoIs command line tool. Created a man page. 2008-05-20 04:33:01 +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