Commit Graph

25 Commits

Author SHA1 Message Date
petermcs bfa8936bf5 Changed a bunch of debug and information printfs so that they have a better chance of working on systems where int is smaller than 32 bits also fixed the signed/unsigned type of some to match the type of the arguments. 2010-01-26 21:30:38 +00:00
skarg b95b01772d Ran SPLINT (secure programming LINT) and fixed warnings. 2009-11-10 03:41:22 +00:00
skarg 2c2fbdeeef Clarified some comments. 2009-11-03 20:15:49 +00:00
skarg c04e69da8c Fixed EOL, indent. 2009-10-24 17:02:59 +00:00
skarg 69fad0502a Changed MS/TP idle state: when no-token timeout occurs, clear the receive frame flags in case a message was received and timeout occurred, which may cause MS/TP to stop working in optimized dlmstp loops which don't check for new events when either of those flags are set. Thank you, Jason! 2009-09-17 03:38:20 +00:00
skarg 2417a843d2 updated comment in init. 2009-08-19 20:29:23 +00:00
kingdl802 fae41b3524 Use shifts and masking to place the length in the MSTP header. Add comments for the length and for the CRC16 to make the byte order clear. 2009-08-19 14:17:23 +00:00
skarg d9fea88227 Removed the unused state of MSTP_RECEIVE_STATE_HEADER_CRC. Hopefully this doesn't break too many implementations! 2009-07-17 15:41:37 +00:00
skarg a32af783cb Moved the MS/TP defines into mstpdef.h file. 2009-07-17 15:15:46 +00:00
skarg 134bbade5d Removed extra debug printf in MS/TP module. 2009-02-27 22:36:49 +00:00
skarg 0ffbb64c13 Indented with standard indent rules. 2008-08-23 12:38:26 +00:00
skarg 2328f0fe59 Updated makefiles and build scripts for Borland tools. 2008-08-14 16:35:26 +00:00
skarg b310bd055a Indented with indent.sh script. 2008-08-05 13:53:57 +00:00
skarg 10e74470a5 Updated the MS/TP Capture tool, and cleaned up the net.h defines. 2008-08-02 16:23:29 +00:00
skarg 6328b51cbc Merging the dlmstp for Windows and Linux, so that a common module can be used for building. Untested. 2008-08-02 15:41:51 +00:00
skarg 2b55f1aabf Testing MS/TP on Linux. Queues not working yet... 2008-07-27 17:29:37 +00:00
skarg a8c36762db Converted the MS/TP FSM src module to use the debug printf. 2008-07-21 16:05:55 +00:00
skarg cf9d15631a Indented using indent script. Corrected any C++ comments using the comment script. 2008-03-10 21:00:48 +00:00
skarg eb7196668c Corrected the MS/TP TEST REQUEST state such that it now returns the data from the request per BACnet 9.3.5 which says "The data, if present, shall be that which was present in the initiating Test_Request." Thank you to Martin Labbe! 2008-03-09 13:52:48 +00:00
skarg 004ffdc11d Enhanced the MS/TP packet sniffer to allow configurable baud rate. 2008-01-27 19:57:04 +00:00
skarg 83da7c5b3b Added back 2 bytes in MS/TP header size for CRC16 since it failed unit testing. 2008-01-09 15:41:46 +00:00
skarg 1eabcd091e indenting. 2007-11-29 16:22:33 +00:00
skarg 411d6c1b24 Indented. 2007-11-29 15:56:53 +00:00
skarg 35f2aaed00 Corrected race condition where the MS/TP Master Node FSM may miss the first packet since it may not run until after the first packet has arrived if the ReceivedValidFrame flag is set to false during MSTP_MASTER_STATE_INITIALIZE. Thank you to anand! 2007-11-16 13:27:51 +00:00
skarg a2506536ed Moved header files into the include directory. Moved source files into the src directory. Still need to updated the makefiles and projects. 2007-10-10 03:34:37 +00:00