Commit Graph

93 Commits

Author SHA1 Message Date
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
skarg 8c3ddc8a06 Updated rx_fsm lurking RS-485 monitor application for Win32. 2007-07-02 22:47:25 +00:00
skarg 8d46d06c1e Copy mstp file from Linux port as starter files for Win32 via subversion. 2007-07-02 22:41:49 +00:00
skarg 0a125a187a Copy mstp file from Linux port as starter files for Win32 via subversion. 2007-07-02 22:41:15 +00:00
skarg 746c81f48e Removed these mstp files so that we can copy the files from Linux port as starter files via subversion. 2007-07-02 22:40:02 +00:00
skarg 43dd774602 Removed the local dlmstp.h file from the Win32 ports directory since we should be using the common dlmstp.h at the root of the project. 2007-07-02 22:33:24 +00:00
skarg cbb7596570 made a copy 2007-07-02 22:21:37 +00:00
skarg 17eb5d9789 Testing MS/TP on Windows. 2007-06-29 23:11:57 +00:00
skarg 1824d4a95e Testing the MS/TP datalink layer on Linux. 2007-06-29 22:46:19 +00:00
skarg b3fda233cf Added MS/TP on Win32 port using external USB RS-485 device from SerialGear. Only completed RS-485 and dlmst unit testing. It is communicating but not nicely. 2007-06-26 22:32:43 +00:00
skarg bddafd3c86 Cleaned up duplicate defines. 2007-06-21 00:28:24 +00:00
skarg f2166c14c7 Created RS-485 file for Win32 to work with USBGear USB to RS-485 converter. 2007-06-21 00:27:52 +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 3656c352ce Cleaned up compile warnings. 2007-06-15 22:50: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
skarg d144039df7 Added Winsock error text. 2007-06-01 18:51:33 +00:00
skarg f02edb879e 2007-06-01 18:31:47 +00:00
skarg f1ac491f5b Fixed BACnet/IP debug message for Win32 port. 2007-05-30 23:29:17 +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 78cec1d8c4 Added ability to specify the BACnet/IP interface on multi-homed machines from the command line demo for demo/epics on a Win32 platform. 2007-05-22 00:19:05 +00:00
skarg 6140afa5c3 tested win32 build. 2007-04-17 13:29:56 +00:00
skarg 09c774418a Added improved debug for Win32 BIP init (CN) 2007-04-04 12:42:08 +00:00
skarg 6c5b409dcf Tested Win32 port projects. 2007-02-23 13:05:19 +00:00
skarg b03a5416e6 Corrected warnings generated from the Visual C++ 6.0 compiler. Updated the Visual C++ 6.0 ports demo project. Updated the Borland C++ ports demo project. 2007-02-13 20:41:22 +00:00
skarg 0f5f00e15b Added pre-compile defines to Win32 build using Visual C++ 6.0. Documented the defines in readme file. 2006-12-12 15:46:16 +00:00
skarg 6c41adb560 Updated the ports/win32/bacnet demo application for Visual C++. 2006-12-07 22:02:49 +00:00
skarg 5dd8c6da91 Converted to standard indent style. 2006-10-07 14:13:34 +00:00