Commit Graph

109 Commits

Author SHA1 Message Date
skarg 9daa40131d Corrected the MS/TP monitor on Linux. 2008-02-28 02:08:40 +00:00
skarg e208feedae Corrected a couple of comparisons, and made the socket init more complete. 2008-02-20 22:35:20 +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 1477603af6 indented. 2007-11-29 16:39:48 +00:00
skarg 411d6c1b24 Indented. 2007-11-29 15:56:53 +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 46ab0030c8 Fiddling with the MAX_MDPU and datalink stuff. 2007-09-01 00:42:12 +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 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 f2e0bbe834 Fixed makefile for atmega168. 2007-08-15 22:41:53 +00:00
skarg 722b183f98 Updated handling of port without IP address. 2007-08-11 17:16:22 +00:00
skarg 910acca133 Updated to allow command line passed device interface. 2007-08-08 23:11:28 +00:00
skarg 519e9fd31b Converted comments from c++ to c. 2007-07-26 14:25:25 +00:00
skarg ec3d065755 Updated bacint into Linux makefiles. 2007-07-26 00:43:42 +00:00
skarg 038f719a44 Corrected rx_fsm MS/TP monitor demo. 2007-07-24 23:15:23 +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 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 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 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 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 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 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 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 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 5dd8c6da91 Converted to standard indent style. 2006-10-07 14:13:34 +00:00
skarg 337bc5ab4e Corrected the NPDU encoding for the demo handlers. 2006-09-23 22:02:04 +00:00
skarg 07a1077b2d correcting the npdu encoding for handlers. 2006-09-22 21:16:20 +00:00
skarg 3d0abf778a indented 2006-08-29 10:48:04 +00:00
skarg 05abf5be23 included ethernet and arcnet in demo for readprop and server on Linux. Corrected the ethernet length. Corrected warnings in s_rp and s_whois. 2006-08-13 16:53:15 +00:00
skarg 3560e3d06f updated the linux data link layers for changed apdu that passes npdu. 2006-08-13 11:19:42 +00:00