skarg
|
55e77695c8
|
Changed order of checking in MS/TP LostToken transition to handle case of OS that is really late.
|
2017-01-01 05:19:28 +00:00 |
|
skarg
|
cce0df1a7c
|
Removed max-master timeout in NO TOKEN state as this was causing issues and didn't have any basis in the standard. Thank you, Michael Hall.
|
2015-12-15 17:31:20 +00:00 |
|
skarg
|
252ffd934c
|
Enhanced mstpcap utility to show Device ID in statistics if any I-Am Requests were encountered in the MS/TP data stream.
|
2013-09-06 21:32:27 +00:00 |
|
skarg
|
ba3242aafd
|
indented using indent.sh script to get uniform looking code for release
|
2013-03-13 22:17:13 +00:00 |
|
skarg
|
79c37f7d09
|
Added a note to MS/TP FindNewSuccessor transition after BTL CR: if NS=TS-1, this node could send PFM to self!
|
2013-02-21 23:10:23 +00:00 |
|
skarg
|
cf882642a8
|
Changed Ringbuf API: Ringbuf_Pop_Front is now Ringbuf_Pop, and now it copies the buffer into parameter and returns boolean. Original method was not safe since it returned a pointer to the element but freed the buffer element. Changed Ringbuf_Get_Front to Ringbuf_Peek with no change in functionality, to make names more consistent.
Updated all the MS/TP datalink layer implementations that use Ringbuf library.
|
2013-01-08 20:48:34 +00:00 |
|
skarg
|
634ac556df
|
removed static variables to enable multithreading.
|
2012-12-15 21:55:40 +00:00 |
|
skarg
|
f8450f40bb
|
In WAIT_FOR_REPLY state of MS/TP, changed next state of frame type TEST_RESPONSE to be DONE_WITH_TOKEN to match standard. Thank you, Eric Xu!
|
2012-10-17 22:33:01 +00:00 |
|
vasyl-tkhir
|
2f73bcae44
|
BACnet router added.
|
2012-09-27 14:36:11 +00:00 |
|
skarg
|
48e2c60ce2
|
indented to standard from script
|
2012-05-13 15:07:12 +00:00 |
|
skarg
|
58691c16d6
|
Changed the Treply_delay wait to be smaller when the next message in the queue is does not match.
|
2011-08-24 12:48:33 +00:00 |
|
skarg
|
26b5fdd3d0
|
Returned Tusage_delay to the MS/TP state machines to fix excessive Reply-Posponed messages when received packet is decoupled from immediate handling. Some BACnet routers do not handle Reply-Postponed correctly and drop the subsequent valid reply.
Added Slave Node FSM to linux/win32 MS/TP layer.
Added PDU queue to Linux MS/TP datalink layer.
|
2011-08-24 12:33:20 +00:00 |
|
skarg
|
5f21d866f6
|
Changed MS/TP where the timing resolution is not met and the No Token time slot is missed. It will generate a token after the Max-Master time slot is passed, or it will see an event while waiting patiently and return to Idle.
|
2011-02-17 16:39:09 +00:00 |
|
skarg
|
3f22c7e5ff
|
Increased the default values for Tusage_timeout and Treply_timeout for testing on Linux.
|
2011-01-18 19:45:52 +00:00 |
|
skarg
|
2a0bf4926a
|
Performed standard indent script indent.sh on project files.
|
2010-12-15 19:02:40 +00:00 |
|
skarg
|
b54218939e
|
Added extra sub-state for MS/TP from Addendum 135-2008v. Tested with ports/bdk-atxx4-mstp/ code on the BACnet Development Kit. Clean compile on src/mstp.c, ports/at91sam7s and ports/atmega168, but untested. All other changes were not compiled or tested.
|
2010-10-07 15:52:45 +00:00 |
|
skarg
|
bb0c98a9c1
|
added MS/TP state skip data to MS/TP capture tool, and removed Lurking.
|
2010-09-12 16:08:31 +00:00 |
|
skarg
|
e268569c5c
|
Moved some constants from MS/TP source file to common header.
|
2010-08-06 22:01:48 +00:00 |
|
skarg
|
6c9ef7211d
|
Fixed indent script, and indented files.
|
2010-07-19 23:19:54 +00:00 |
|
skarg
|
99ec130371
|
Reverted the 135-2008v MS/TP changes, since they were not done correctly.
|
2010-06-28 00:45:27 +00:00 |
|
skarg
|
6f9ba36967
|
Added extra sub-state for MS/TP from Addendum 135-2008v.
|
2010-06-26 03:55:20 +00:00 |
|
petermcs
|
04e99f3671
|
Changes to reduce the number of warnings with Visual C++2008 warning level 4 to a minimum.
|
2010-05-14 14:21:48 +00:00 |
|
skarg
|
710cfccfef
|
Indented using indent script.
|
2010-05-04 21:06:26 +00:00 |
|
tbrennan3
|
cc20f225b9
|
The beginning of doxygenation:
As a first step, added an @file description for each file.
|
2010-02-14 05:29:43 +00:00 |
|
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 |
|