Commit Graph

230 Commits

Author SHA1 Message Date
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 d9e1af4b2e Added buffers for MSTP port structure. 2007-07-14 01:07:48 +00:00
skarg 39ef0b2af8 Fixing the linux port to use the common MS/TP state machine files. 2007-07-14 01:03:29 +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 3d54a5cd50 Corrected compiler warning. 2007-07-03 05:18:36 +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 ea7893efe2 Removed reference to Borland. 2007-07-02 22:20:18 +00:00
skarg e839aad46c Updated MS/TP Lurker program that monitors packets using the USB->RS485 adapter. 2007-07-02 22:07:48 +00:00
skarg c1be9b7adf Compiled MS/TP for server demo using sockets. Doesn't seem to keep up with token passing. Still investigating. 2007-07-02 16:47:16 +00:00
skarg 5435d46621 Rewriting the dlmstp for Linux to use sockets. In progress, not compiling. 2007-07-02 14:41:59 +00:00
skarg 63300e86bd MSTP on Linux appears to be function for the server demo, but dlmstp needs to be rewritten to use posix queues or sockets, and multiple threads for the state machines. 2007-07-01 01:23:12 +00:00
skarg 758b32de29 Modified the server to work with MSTP datalink. Still in progress. 2007-06-30 23:36:54 +00:00
skarg 0e3c2e01af Updated dlmstp to be consistent with other datalink layers. 2007-06-30 23:11:58 +00:00
skarg ade401f44b Modified the MS/TP datalink on Linux to be able to run correctly as a datalink layer when built with the demos. 2007-06-30 22:47:23 +00:00
skarg 3ceed4535e Corrected the RS485 initialization for MS/TP on Linux. Added args to functional unit tests. 2007-06-30 22:30:13 +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 d0ea78178a Tested MS/TP using alternate CRC table method. 2007-06-29 21:45:07 +00:00
skarg 0543daa828 comparing CRC with table driven CRC. 2007-06-29 21:39:24 +00:00
skarg 250cc92e00 Added MS/TP to Linux using the USB->RS485 from SerialGear. Tested Receive only using the rx_fsm.c and rx_fsm.mak functional test. Works as an MS/TP network monitor. 2007-06-29 21:22:46 +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
s3rock e6c21e9bb7 Inital ARM7 code. Still needs work 2007-06-21 20:19:27 +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 e142d20f3a Updated the version number. 2007-06-18 17:02:51 +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 8833675ad8 Changed Firmware_Revision property to return 0.3.1 which is the version of the BACnet Stack at SourceForge. 2007-06-15 22:54:05 +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 8d557718d2 2007-06-06 00:17:59 +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 5084d3f50d Consolidated the debug print information for the linux server demo. 2007-06-01 17:48:34 +00:00
skarg f618f21715 Corrected default ethernet interface for Linux port. 2007-06-01 16:15:00 +00:00
skarg f1ac491f5b Fixed BACnet/IP debug message for Win32 port. 2007-05-30 23:29:17 +00:00
skarg 57af6b6551 fixed the default interface for Linux to be eth0. 2007-05-30 21:48:12 +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 8139ea6fa1 Fixed the BACnet/IP broadcast messages to send as BVLC_ORIGINAL_BROADCAST_NPDU. Corrected comments about Broadcasts. 2007-05-22 00:17:39 +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