Commit Graph

42 Commits

Author SHA1 Message Date
skarg e7d04a2379 Added --version and --help command line options to some demo applications. 2014-08-15 13:21:20 +00:00
skarg ba3242aafd indented using indent.sh script to get uniform looking code for release 2013-03-13 22:17:13 +00:00
netp 6bac1f18bc added type casts 2012-08-07 03:40:06 +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 a9e752d64d Fixed error print message. 2011-09-17 04:20:28 +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 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
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 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 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 f8926855bc Move datalink_receive to bottom of main loop to speed up communication when using address cache 2009-07-09 22:01:11 +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
kingdl802 a4c5bc45c3 For the bacwp command (demo/writeprop), the maximum number of
tag/value pairs you can pass from the command line defaults 
to 64 (in main.c.) This setting may be changed to any other 
value by setting MAX_PROPERTY_VALUES in either Makefile or 
makefile.b32 in the demo/writeprop directory.
2009-04-07 19:06:18 +00:00
skarg 075edab107 Made the error reporting consistent with ReadProperty demo. 2008-10-04 22:34:46 +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 241e877d23 indented. 2008-07-20 13:22:15 +00:00
skarg 8432c0087a For WriteProperty demo, added error messages when tag value pairs are missing or exceeding the internal limits. Increased the internal limits from 16 to 64 pairs. Thank you, Duane K.! 2008-07-14 20:49:11 +00:00
skarg 2338f3b3a3 Updated project files, makefiles, and the demo debug info. 2008-06-23 00:17:51 +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 dc5b3e63fe Updated documentation for WhoIs command line tool. Created a man page. 2008-05-20 04:33:01 +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 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 d330f2c7c8 Added MS/TP initialization functions to demo applications, along with BVLC initialization. 2008-02-14 19:16:24 +00:00
skarg 1477603af6 indented. 2007-11-29 16:39:48 +00:00
skarg 411d6c1b24 Indented. 2007-11-29 15:56:53 +00:00
skarg a6d1183bf6 Changed the demo applications to use BACNET_IFACE environment variable when configuring the datalink. Thank you to Tomas Zerolo for the patch! 2007-09-29 14:32:15 +00:00
skarg a18d338f00 Set the EOL-style to native for most files using svn propset command. Some files also had inconsistent line endings. Seems that subversion doesn't set the eol-style automatically when files are created unless it is configured for autoprops. The autoprops setting is local to the subversion installation and not the project. 2007-06-18 16:22:24 +00:00
skarg 9069c939da Fixing indent oops which removed the contents of all these files. 2007-06-14 05:33:15 +00:00
skarg ea4863ca25 Indented. 2007-06-14 05:14:26 +00:00
skarg 8026dc003b Combined the interface set into the datalink_init for all the datalink layers. Changed all the demo programs to use datalink_init instead of specific datalink functions. 2007-05-25 01:08:42 +00:00
skarg 1386b41f2d Ran the indent and comment script to standardize the source files. 2007-02-23 02:14:50 +00:00
skarg fa79a1b7ce removed unused variable. 2007-02-20 21:03:16 +00:00
skarg ef1e2f0b06 added missing include file. 2007-02-20 21:01:53 +00:00
skarg b3d15b1f37 Enhanced the WriteProperty service demo to allow multiple tagged data elements and to allow context data. 2007-02-20 20:56:08 +00:00