Commit Graph

84 Commits

Author SHA1 Message Date
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
skarg 19c5a20205 Converted C++ comments to C comments 2006-10-07 14:12:16 +00:00
skarg 011536b9c5 Added ethernet.c to ports/win32. Kevin Liao contributed the BACnet ethernet port which uses WinPcap. Thank you, Kevin! 2006-08-27 10:26:09 +00:00
skarg 52ee5a5619 Getting the RTOS-32 port working again. Also getting the MS/TP state machine working. Soon! 2006-08-23 21:32:16 +00:00
skarg 4d19c82f59 Created a demo Multi-state Output object, and added it to the demo applications. 2006-08-05 19:36:55 +00:00
skarg 376f210107 Updated the ports/win32 project so that it would compile under Visual C++ and Borland C++. 2006-08-02 14:58:16 +00:00
skarg f58b94efec Added a demo for Binary Value object and Analog Value object. 2006-08-02 11:17:42 +00:00
skarg 648af404d6 indented per coding standard using indent.sh 2006-05-24 19:57:35 +00:00
skarg a6cd9d3967 Updated ports/win32 demo for Visual C++ to compile and run with the latest example objects (BI, BO, and LSP). Cleaned up a couple of compile warnings, which corrected a bug in the Binary Output object. 2006-05-02 14:06:16 +00:00
skarg 69289f8f88 applied patch for ports/win32 Visual C++ build from Peter Gsellmann:
Use relative search-path instead of absolute ones
 Let you compile also the release configuration
 Insert file dcc.c into project
 define TSM_ENABLED in project settings
 reduce warnings
 Insert missing variable I_Am_Request
2006-03-01 17:49:05 +00:00