Commit Graph

39 Commits

Author SHA1 Message Date
skarg d65de8a69a added BACAPP_MINIMAL for defining some minimum appliacation encoding and decoding. 2014-06-15 00:25:13 +00:00
skarg 4d79c26a8c Updated Lighting Output object. Added Channel object. Not complete and not fully tested. 2013-11-11 22:27:55 +00:00
skarg 48e2c60ce2 indented to standard from script 2012-05-13 15:07:12 +00:00
skarg 23d03cb280 Added missing define to config.h to allow demo applications to compile. 2012-05-01 18:23:50 +00:00
petermcs 056f371f7f Tweaked config.h to reduce chances of breaking other peoples builds and explain the options better. 2012-04-30 10:19:51 +00:00
petermcs 2e51778790 Add facility to adjust the services and and other features supported via config.h. This is to reduce code size in embedded builds where the compiler does not do a great job in removing functions that are never called. This is particularly useful for simple server only applications where decoding of response packets and encoding of requests are not required for example.
Also added possibility for RMP of encoding large items in-line in the response packet so that the object RP handlers know how much space they really have without the need for a full APDU buffer being maintained.
2012-04-30 10:14:18 +00:00
skarg 2a0bf4926a Performed standard indent script indent.sh on project files. 2010-12-15 19:02:40 +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 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
petermcs c69ffaa4a5 Default BAC_ROUTING to 0 if not currently defined to maintain non routing behaviour. 2010-11-18 22:20:32 +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
skarg adee8fd74c Changed default state of PRINT_ENABLED to zero for embedded ports. 2010-05-22 12:47:34 +00:00
petermcs 04e99f3671 Changes to reduce the number of warnings with Visual C++2008 warning level 4 to a minimum. 2010-05-14 14:21:48 +00:00
petermcs 8fdc3b113a Oops didn't mean to commit this with print enabled set to 1 2010-03-03 21:45:11 +00:00
petermcs 1b5348ced7 Moved defines and structures into header file to allow use in decoding of trendlog responses.
.
2010-03-03 21:30:27 +00:00
skarg 1b4640c192 Changed default state of PRINT_ENABLED to zero for embedded ports. 2010-02-10 18:47:31 +00:00
petermcs bfa8936bf5 Changed a bunch of debug and information printfs so that they have a better chance of working on systems where int is smaller than 32 bits also fixed the signed/unsigned type of some to match the type of the arguments. 2010-01-26 21:30:38 +00:00
petermcs b8251f314f Implemented ReadRange functionality for the device "Device Address Binding" property and modified the ReadRange test app to use this real property for its target.
Implemented a framework for allowing the ReadRange handler determine which properties support ReadRange and which varients of ReadRange they support.
2009-11-10 15:37:11 +00:00
skarg 8bb5ccd804 Corrected BACnet/IP MAX APDU to have only a max of 1497 bytes. 2009-10-20 17:23:48 +00:00
skarg 1a2241a0eb Added ifndef to config.h latest changes to allow makefile configurations. 2009-08-07 14:11:39 +00:00
minack d5b455c742 Move the string type max length definition into the config header so that the user can set them independently of MAX_APDU.
Also, added new define MAX_OCTET_STRING_BYTES.
2009-08-06 07:11:31 +00:00
skarg 0e5a1cee0a Corrected comments. 2009-07-24 16:18:48 +00:00
skarg b3f87e54f2 Cleaned up headers and copyright text. 2009-04-18 12:31:59 +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 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 1cabf2ce2f Added support for actual subnet mask in Windows port. Thanks to Thomas Neumann! 2008-03-08 15:11:32 +00:00
skarg be9c36147e Change position of BBMD Enable. 2008-01-21 03:05:19 +00:00
skarg 2e3436cb9e Changed BVLC_READ_BROADCAST_DISTRIBUTION_TABLE* into ..._DIST_... to match bacenum.h changes.
bip_get_xxx() deliver address and port in host order. Used htonl,htons to marshal them into PDU.
Fixed the BVLC beheading in the Forwarded Message case - Usually the BVLC header is 4 octets long. It's 10 octets in this case.
Extracted source address from BVLC header for forwards since it contains the original MAC address we are supposed to talk to.  
Fixed the byte order of IP and port on unicast outgoing DA.
Added BBMD_ENABLED to config.h file to allow enable and disable of BBMD at compile time.
Thank you to Tomás Zerolo for the patch!
2008-01-17 23:19:03 +00:00
skarg 8b99c8c85b Updated output of whois demo. Began implementing the datalink-all concept. 2008-01-01 23:17:28 +00:00
skarg e1df93557f Adding COV support (in progress). 2007-12-08 16:21:47 +00:00
skarg 64e9b54dbd Adding a DOS port to run on x86 single board computer. 2007-12-06 22:31:14 +00:00
skarg 411d6c1b24 Indented. 2007-11-29 15:56:53 +00:00
skarg 33258675ff Added comment. 2007-11-06 17:55:22 +00:00
skarg cf5587c29d Correcting unit test makefiles. Corrected error in config.h for BACAPP NULL values. 2007-10-29 13:58:05 +00:00
skarg cf3f881f7a Changed BIP debug from define to variable since we are using a lib. Affects Win32 and Linux. 2007-10-25 02:13:02 +00:00
skarg 69ed8a16c5 2007-10-25 02:01:48 +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 a2506536ed Moved header files into the include directory. Moved source files into the src directory. Still need to updated the makefiles and projects. 2007-10-10 03:34:37 +00:00