Commit Graph

1840 Commits

Author SHA1 Message Date
skarg fca0e87ca7 Changed version to 0.5.9 for a stable release. 2011-02-25 15:19:30 +00:00
skarg 59823dde09 Corrected Abort or Reject code that is generated during ReadPropertyMultiple (seen during reading Object_List). 2011-02-24 18:07:38 +00:00
skarg 5f21d866f6 Changed MS/TP where the timing resolution is not met and the No Token time slot is missed. It will generate a token after the Max-Master time slot is passed, or it will see an event while waiting patiently and return to Idle. 2011-02-17 16:39:09 +00:00
skarg 694d56ba1f Fixed APDU handler again after discussion on BACNet-L showed the errors of my ways regarding the DeviceCommunicationControl limiting processing of APDUs. 2011-01-28 03:04:09 +00:00
rhoeye ab62b37814 Add build folders and files (projects and solution) for MS Visual Studio 2005 to ports/win32. 2011-01-27 16:41:11 +00:00
rhoeye 4591c00feb Added static Object_Table[], moved device_init() from main to Init_Service_Handlers() and added call to Device_Initialize_Object_Functions(). Modeled after revision 1890 of demo/server/main.c. 2011-01-26 20:32:06 +00:00
skarg 6b83f182a7 Added blocking ADC driver for AVR to complement the non-blocking driver. 2011-01-26 16:28:23 +00:00
skarg 3f22c7e5ff Increased the default values for Tusage_timeout and Treply_timeout for testing on Linux. 2011-01-18 19:45:52 +00:00
skarg d6e74ba51b Fixed compiler warnings when compiled MS/TP datalink on Linux. 2011-01-14 15:34:28 +00:00
skarg 624de45fc8 Cleaned up compiler warnings when compiled with Win32 MS/TP datalink. 2011-01-14 15:23:03 +00:00
skarg 2f9d601178 Removed BACnet/IP explicit calls in demo epics (with ifdef) to allow to compile for MS/TP or Ethernet. Thank you, 55792882! 2011-01-14 15:22:16 +00:00
skarg 46cdade038 Corrected error response service type. Thank you, Martin! 2011-01-12 19:51:52 +00:00
skarg 9492b49c15 Added test to wrap head and tail of ringbuffer to silence naysayers. 2011-01-08 13:16:03 +00:00
skarg d8ce33b9bf Changed MAX_APDU to 50 to reduce size of C Stack required for unit tests. 2010-12-27 00:11:01 +00:00
skarg 2f5d6fbaa1 Updated unit tests for objects and services, and corrected some portability problems. Thanks, Sergei! Didn't fix mstp or load control unit test results. 2010-12-27 00:04:38 +00:00
skarg c13c5f9c7b Corrected non-portable constructs. Thank you, Sergei! 2010-12-24 02:50:15 +00:00
skarg 4fa4a79b6c Changed testBitstring to use the bitstring library compare function. 2010-12-24 02:39:21 +00:00
skarg db686a4984 Corrected ReadPropertyAck unit test found on Big Endian architecture. Thank you,Sergei! 2010-12-23 15:11:23 +00:00
skarg aa045effaa Corrected RPM Handler for max APDU size. 2010-12-23 05:59:09 +00:00
skarg 1c560c27b9 Refactored the DCC code in APDU for clarity. Added DCC check in demo server to prevend COV when DCC is not enabled. 2010-12-22 03:09:42 +00:00
skarg 350736f6bb Corrected DeviceCommunicationControl (DCC) for DISABLE_INITIATION state, which now allows I-Am in response to Who-Is. Did not add keep out for other initiated services like COV (to do). 2010-12-18 17:30:58 +00:00
skarg 5293f63da0 Incremented version to 0.6.0 on 20101215 after release. 2010-12-15 20:18:54 +00:00
skarg 2a0bf4926a Performed standard indent script indent.sh on project files. 2010-12-15 19:02:40 +00:00
skarg f820697464 Converted C++ comments to ifdef for testing. 2010-12-15 18:59:03 +00:00
skarg 706e0221b6 Changed the client functions to be defined only when BBMD_CLIENT_ENABLED=1, which cleaned up the warnings. 2010-12-15 18:51:03 +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 20ca252a8d Fixed compiler warning messages. 2010-12-12 05:42:42 +00:00
skarg d5b8dee34e Updated make to $(MAKE) as recommended best practice. 2010-12-12 05:42:13 +00:00
skarg fc9be7814e Updated IAR project files for BDK port on AVR. Added main loop I/O toggle to monitor timing. 2010-12-11 21:40:13 +00:00
skarg 4ef20d370a Fixed watchdog timer initialization value. 2010-12-11 21:38:52 +00:00
petermcs d1db062db8 Updated project files so release build works 2010-12-11 15:30:18 +00:00
petermcs 6cec4b3cdb Adding in missing extern "c" so it works when called from C++ 2010-12-11 15:09:35 +00:00
skarg 75249e0330 Added byte sized timer that can be used inside an 8-bit microcontroller ISR for up to 255mS of elapsed timing. 2010-12-10 23:16:02 +00:00
skarg f5829ea483 Added interrupt disable protection, and enable interrupts early in the ISR. 2010-12-10 23:14:43 +00:00
skarg 794e2ea9d4 Changed timers on AVR to only disable the timer interrupt, not global interrupts. 2010-12-10 23:13:50 +00:00
skarg 68a2f83638 Changed object functions to use a local name and smaller structure so it wouldn't name collide with the one defined in device.h. 2010-12-10 23:12:13 +00:00
tbrennan3 2f424e038d Touched up some of the Doxygen tags. 2010-12-03 07:25:34 +00:00
tbrennan3 b768518a9d Now using Who-Is-Remote() to get the address binding if targeting a routed Device.
Eliminated empty braces for the Device object in its own list of objects.
2010-12-03 06:54:02 +00:00
tbrennan3 de4ead47c6 Improvements to bacepics for the routing case; can now specify a DNET on the command line.
Not all there yet, however, for the routed case.
Added null tests and dummy string defaults in Add_Routed_Device().
2010-12-02 22:05:59 +00:00
tbrennan3 31f440e070 Implemented separate Who-Is and Who-Has handlers for the routed case, where we loop through all the Devices looking for matches.
Tested and improved the routing code.
Gateway demo now sends I-Am as each Device is added.
Added test for valid Network number when routing, and only send Reject message if this fails (and not if we just can't find a Device match).
Test the hop_count and discard the packet if would reach 0 and a destination Network is called for.
2010-12-02 20:33:43 +00:00
skarg e850469da8 Added character string helper to test for printable. Added to WP checks. 2010-12-02 19:33:22 +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
skarg a39bf392bd Fixed Makefile for MinGW build. Testing with MinGW 20101030 and MSYS. gcc (GCC) 4.5.0 (MinGW), GNU Make 3.81 (MSYS). 2010-11-30 17:50:24 +00:00
skarg 4ef8209fed Added some text to the coding standard about variable names. 2010-11-30 06:32:42 +00:00
skarg 01d1d5bd77 Changed %zu back to %d since Borland C++ doesn't understand %zu. 2010-11-30 06:08:48 +00:00
tbrennan3 dd92901aa1 I like Piotr's new make structure a lot. I've tweaked it a little here: made the most important defines conditional, so if they're set before the call to make, those external definitions will not be overriden, but defaults can be supplied here in the Makefile if they have not been defined.
This is really handy for my use of the stack (and probably yours, too): I can take the distribution right out-of-the-box and yet tailor it to my needs by the way I invoke make.

Also, can somebody add a comment about what WEAK_FUNC is defined for?  I couldn't see any reference to it in the code.
If it's really special, it could be removed from the general case here and included by the external definition of BACNET_DEFINES
2010-11-29 15:37:13 +00:00
skarg 0e34c5ce5c Moved ports back into root Makefile. 2010-11-29 04:18:53 +00:00
skarg 8041006068 Corrected splint warning. 2010-11-28 21:04:53 +00:00
petermcs 072640f887 Added in call to trend_log_timer so Trendlogs are updated and changed stop time on initial setup of logs to the year 2020 instead of 2009 so they would accumulate some more records. 2010-11-26 13:16:55 +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