Commit Graph

757 Commits

Author SHA1 Message Date
skarg ecc26d4590 Added some checks and balances to the indent script. Modified the standard indent slightly. 2007-07-25 20:54:23 +00:00
skarg 33113601fe updated astyle 2007-07-25 16:09:56 +00:00
skarg 09a8ac50b3 added astyle options file. 2007-07-25 15:33:14 +00:00
skarg 5dc0c4c86e Moved encoding and decoding of integers out of bacdcode.c, and now relying on bacint.c. This should also help Feature Request 1532291 for reducing code size. 2007-07-25 14:56:35 +00:00
skarg d527b1a509 updated the code-blocks project for the BACnet server demo. 2007-07-24 23:22:23 +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 9c09b1e25b Created a release script to tag the trunk into subversion, then create the archive files to upload to sourceforge.net. 2007-07-21 22:26:51 +00:00
skarg ac8ca3d6e5 Updated website files 2007-07-21 13:14:12 +00:00
skarg 0dd6584952 Updated the version number. 2007-07-21 12:13:26 +00:00
skarg d1ba1566e0 Corrected NPDU unit test. 2007-07-20 19:24:31 +00:00
skarg f4f83d2d49 Refactored ReadPropertyMultiple handler. 2007-07-20 18:46:02 +00:00
skarg f25766c185 Cleaned up device object and server demo for MS/TP properties and compiler warnings. 2007-07-20 00:42:49 +00:00
skarg a2c12b4d12 Corrected required list to remove max-master and max-info-frames when MSTP is not the datalink layer. Added property encoding for max-master and max-info-frames. 2007-07-19 21:53:35 +00:00
skarg 77e55bcbd4 Cleaned up compiler warnings on Win32 from Borland compiler. 2007-07-19 21:51:46 +00:00
skarg 30c186d730 Corrected ReadPropertyMultiple handler. Tested using VTS with demo/server running under linux. 2007-07-19 18:27:03 +00:00
skarg 032a78bb2a Removed polarity property from Binary Value demo, since polarity is not a standard property of a Binary Value. 2007-07-19 14:55:22 +00:00
skarg 5b07b5b920 Integrated ReadPropertyMultiple with the demo/server application. Compiles, but untested. 2007-07-19 00:21:38 +00:00
skarg a8555ef196 Integrating the ReadPropertyMultiple handler - not working yet. 2007-07-17 03:02:25 +00:00
skarg b952a54966 Adding ReadPropertyMultiple handler (thank you to John Stachler for this contribution!). Untested and not finished integrating with the demos. 2007-07-17 00:21:31 +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 d030b58c22 Moved the MS/TP text for enumerations and states to its own file, and integrated with indtext. 2007-07-16 15:07:24 +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 ed6c26e924 Modified the makefile for demo/server to work with BACnet MS/TP with a USB RS-485 from SerialGear. Still in testing, but it compiles, runs, and receives frames. Might be an issue with timing. 2007-07-14 00:41:35 +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 9c2118f2be Changed the make file references to be dependent on the Borland directory in case the make tool in the path is not Borlands. 2007-07-14 00:12:02 +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 27f84b2a85 Changed default build for server demo to BACnet/IP. 2007-07-01 01:26:11 +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