Commit Graph

120 Commits

Author SHA1 Message Date
skarg 2338f3b3a3 Updated project files, makefiles, and the demo debug info. 2008-06-23 00:17:51 +00:00
skarg 3728b74f85 Centralized the readme.txt from ports/win32 to doc/ directory. 2008-05-07 18:35:36 +00:00
skarg 800993aecc Updated files to be able to build under mingw32 for linux. 2008-04-25 19:35:04 +00:00
skarg 3d3d7e420d Ran the comment and indent tools on the source code. 2008-04-24 01:07:23 +00:00
skarg 2ed87c2e0c Corrected AdapterInfo subnet mask which was not correctly determined for IpAddresses that were assigned to second or one of the follow up network interfaces. Thank you Thomas! 2008-04-16 23:05:00 +00:00
skarg df310edca6 Updated Visual Studio ports project, cleaning up compile warnings. 2008-04-10 05:31:08 +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 1cabf2ce2f Added support for actual subnet mask in Windows port. Thanks to Thomas Neumann! 2008-03-08 15:11:32 +00:00
skarg cff20d7669 Cleaned up compiler warnings for Borland 5.5 compile. 2008-03-08 15:09:14 +00:00
skarg 1d7b1b4b03 Modified define in makefile. 2008-03-03 14:50:21 +00:00
skarg 004ffdc11d Enhanced the MS/TP packet sniffer to allow configurable baud rate. 2008-01-27 19:57:04 +00:00
skarg 5bef9a18e2 Modified the WhoIs demo to use BBMD if configured for BACnet/IP. Corrected the BVLC code. 2008-01-22 01:18:12 +00:00
skarg 89432a85c3 Applied standard indentation to files. 2008-01-08 23:13:51 +00:00
skarg e17cb0559e Converted C++ comments to C comments. 2008-01-08 21:30:50 +00:00
skarg c587fb201a updated. 2007-12-11 22:47:44 +00:00
skarg 92f16a443f Added casts to reduce compile warnings. 2007-12-11 22:47:23 +00:00
skarg b8b9e1719d Updated projects and comments. 2007-11-29 22:53:27 +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 1acdf37597 Updated the Visual C++ 6.0 project in the ports directory. 2007-11-27 23:27:57 +00:00
skarg dd3a3b289c Updated code::blocks projects. Added win32 project. 2007-11-27 23:13:25 +00:00
skarg a4e700bbee Fixed warnings from Win32 builds with MinGW. 2007-11-27 23:12:41 +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 8c0ed6f417 Added info about USB converters. 2007-10-25 02:00:04 +00:00
skarg 9881a1bb90 Fixed makefile for Borland compiler due to directory changes. 2007-10-13 12:31:16 +00:00
skarg e4d875c95f Modified the code blocks project. 2007-09-08 00:13:45 +00:00
skarg 23fbc1eee7 Updated ports client/server demo to use BACnet library. 2007-08-24 00:41:08 +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 e16ae6eded Updated dlmstp project on Win32. Added rx_fsm.mak for Borland. 2007-08-23 00:34:38 +00:00
skarg 4f42b20590 Modified the MS/TP Master Node state machine to handle Data Expecting Reply in a more appropriate manner. Updated the MS/TP monitor rx_fsm, and updated the linux and windows dlsmtp for new functionality. 2007-08-23 00:28:14 +00:00
skarg b37c58e0bf Updated stdint.h and stdbool.h which are used with compilers that are pre-C99 standard (i.e. borland). This also cleaned up warnings when built with codeblocks using MinGW. 2007-08-21 23:03:01 +00:00
skarg f74d39558f Added more configuration information to config.h, including the default Vendor Id. This BACnet Stack at SourceForge has been assigned Vendor Id 260 by ASHRAE. We can now release binary utilities and tools with our own Vendor ID! 2007-08-21 17:50:01 +00:00
skarg eabe6dee96 Converted SilenceTimer on MS/TP datalink to be a function so that it can be atomic on 8-bit microcontrollers. 2007-08-19 12:30:51 +00:00
skarg 53f2fc3f35 Updated the unit test make files. Fixed the init sections of MS/TP monitor (rx_fsm) modules. Corrected the rx_fsm code to check the correct return value of the read. Fixed the return value of the RS485 prototypes. 2007-08-18 16:14:06 +00:00
skarg fe7b8c0459 Added version.c to demos. 2007-08-14 16:00:16 +00:00
skarg 27f2b9960a Updated rx_fsm for Win32 port. Used for monitoring ms/tp stream from USB-RS485 dongle. 2007-08-10 00:21:27 +00:00
skarg 519e9fd31b Converted comments from c++ to c. 2007-07-26 14:25:25 +00:00
skarg 6d908d1ffe Updated for bacint. 2007-07-26 13:20:22 +00:00
skarg ef7344af89 Changed RS-485 buffers to be a factor of APDU size. Removed wait before transmit to speed up Win32 state machine. Speed seems to vary depending on how many USB devices are connected. 2007-07-24 23:21:44 +00:00
skarg 038f719a44 Corrected rx_fsm MS/TP monitor demo. 2007-07-24 23:15:23 +00:00
skarg 77e55bcbd4 Cleaned up compiler warnings on Win32 from Borland compiler. 2007-07-19 21:51:46 +00:00
skarg 5e68e165f5 removed unused stub function in unit test. 2007-07-16 18:08:30 +00:00
skarg d13b0ce854 Modified the Win32 datalink for MSTP to be more effecient by using semaphores for dataready signals. Also increased task priority. Still not fast enough - needs to respond to PFM and Token within 20ms to be compliant. 2007-07-16 17:03:08 +00:00
skarg 382766d7c4 Modified the API between mstp and dlmstp to better handler multiple MS/TP ports. 2007-07-16 14:19:49 +00:00
skarg b6324bce5b Moved the MS/TP state machine files to the root directory since they are common between Linux and Windows builds (and perhaps others as well). It was getting to be too much work to maintain a nearly identical version in each port. 2007-07-14 00:20:31 +00:00
skarg e53f38dd40 Changed the MSTP_MASTER_STATE_ANSWER_DATA_REQUEST state to always send a REPLY_POSTPONED by
commenting out the section that checks for new packets to send.  It was not the intent of the BACnet standard, but it makes the Master Node FSM compliant.  It's either that or re-parse the message for a matching apdu and invoke id, and then defer if the next message does not match.  The problem happens when an unconfirmed request (i.e. WhoIs) is followed immediated by a confirmed request (i.e. ReadProperty) before the device can respond to the unconfirmed request (i.e. the I-Am is queued in the Transmit buffer).
2007-07-14 00:09:16 +00:00
skarg 3869b55fea Updating Win32 MSTP datalink layer. Testing. 2007-07-03 00:44:48 +00:00
skarg d6851d7320 Updated the dlmstp and rx_fsm projects under Win32. Passing tokens and NPDU on MS/TP at 38400. 2007-07-02 23:09:22 +00:00