Commit Graph

82 Commits

Author SHA1 Message Date
skarg 52e0d00f4f Moved the exit until after the Ack or Error has returned for AtomicReadFile and AtomicWriteFile demo client applications. Thank you, Sergei! 2011-07-20 15:47:13 +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 d5b8dee34e Updated make to $(MAKE) as recommended best practice. 2010-12-12 05:42:13 +00:00
skarg 01d1d5bd77 Changed %zu back to %d since Borland C++ doesn't understand %zu. 2010-11-30 06:08:48 +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 22c14fccad Followed Steve's good recommendation, and made routed_get_my_address() be a variant of datalink_get_my_address() just when routing is in use. Haven't done anything about the sending functions yet.
Renamed Lookup_Routed_Device_Address() as Routed_Device_Address_Lookup(), and replaced it in the routed npdu handler with a function that finds the "next" gateway or routed device, as per the destination address.  (Less tied to the specifics of the gw_device.c implementation.)
Fixed a few build warnings (eg, %zu for size_t arguments).
Until we improve the makefile system, I've enabled BAC_ROUTING in config.h
2010-11-24 20:44:32 +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
brayra 15c5375196 More corrections to return value 2010-04-26 19:39:24 +00:00
brayra d4797f99d7 Fixed return value when error detected 2010-04-26 13:54:13 +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 b60af74651 Added optional 4th parameter to bacawf to control the number of bytes sent in each write of a file. 2010-02-16 22:47:13 +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 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 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 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
skarg 2338f3b3a3 Updated project files, makefiles, and the demo debug info. 2008-06-23 00:17:51 +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 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 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 b2bba84392 Fixed makefiles for ARM7 and ATmega ports. Fixed makefiles for Borland compiler. 2007-10-13 12:27:55 +00:00
skarg 4e3769b6b4 Updated demo make files for new directory layout. 2007-10-10 22:42:02 +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 34f090598d Modified the Borland compiler build to use a library for all the demos. 2007-08-24 00:31:38 +00:00
skarg e7a49d79ee Converted the linux build to use BACnet library. Moved some BACnet address functions to bacaddr.c/h. 2007-08-23 18:56:38 +00:00
skarg 6dc7399605 Since config.h is updated, the demo makefiles needed to be updated with the latest DEFINES. Also changed some of the demo projects built with CodeBlocks. 2007-08-21 23:00:56 +00:00
skarg fe7b8c0459 Added version.c to demos. 2007-08-14 16:00:16 +00:00
skarg ec3d065755 Updated bacint into Linux makefiles. 2007-07-26 00:43:42 +00:00
skarg 7e2d6ee881 Added bacint.c to all the project make files that needed it. We really need to make the code into a library and use the library in the demos since adding a file to all the make files and IDE projects is tedious at best. 2007-07-26 00:24:25 +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