Commit Graph

38 Commits

Author SHA1 Message Date
skarg 48e2c60ce2 indented to standard from script 2012-05-13 15:07:12 +00:00
skarg 2a51a1db7c Added MS/TP tweak to improve byte reception and processing at higher baud rates and larger packet sizes. Thank you Peter Mc Shane! 2012-03-12 21:26:53 +00:00
skarg ad74c6d4ac Corrected missing packet initialization in DLMSTP for several ports that may result in unusual REPLY-POSTPONED frames emitted for a DATA-EXPECTING-REPLY frame. 2011-12-29 03:37:38 +00:00
skarg 5f86e70352 Corrected linker error. 2011-08-31 16:47:01 +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 3e1cb1847f Indented project. 2011-08-17 02:27:11 +00:00
skarg db95a8d1dc Added test in MS/TP datalink for MAC Address in the Master Node range (0-127). 2011-03-01 23:06:24 +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 6826688777 Fixed merge problem. 2010-09-24 19:37:43 +00:00
skarg b1c9870989 Refactoring some BDK code. Updating Skip Data state for AT91 port. 2010-09-22 01:13:42 +00:00
skarg 9569f2c536 Fixed EOL and performed standard indentation. 2010-09-16 22:00:47 +00:00
skarg d7ad075c7a UpdAdded new MS/TP skip data state.
Added ring buffer for incoming PDU to fix WhoIs followed by ReadProperty situation.
2010-09-16 17:57:51 +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
skarg 38d944d6c9 Removed forever loop on MS/TP receive for fast processors since the incoming character wait is significantly slower than the processor speed. 2009-12-02 17:54:24 +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 4b422d6c1c Changed modulo and division operations on 256 to bit shift using include/bytes.h macro to improve code size on architectures that don't do division natively. 2009-08-20 14:38:25 +00:00
skarg a42b63d5c7 Changed the data type of the MS/TP index for the receiving byte to allow an APDU of 480 bytes. 2009-02-16 18:53:15 +00:00
skarg f0ae21f367 Corrected uninitialized variable. 2008-06-23 00:18:38 +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 b6d4723ca2 Corrected at91sam7s port MS/TP code where APDU size > 255 caused APDU layer to not process packets. 2008-01-03 18:46:17 +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 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 b35b6409dd Simplified code. 2007-11-12 16:10:51 +00:00
skarg ba20c1cc03 Corrected problem in MS/TP state machine where device was sending PFM frames to itself (destination address same as source address) when solemaster is true (Thank you to John Stachler!). 2007-09-28 23:38:54 +00:00
skarg 8fb328ce23 Modified the AT91SAM7S port and the ATmega168 port to use a slimmed down MS/TP state machine and datalink layer. Tested on AT91SAM7S-EK board. 2007-09-07 01:34:19 +00:00
skarg 686030e197 Updated the Datalink Data-Expecting-Reply for the at91sam7s and atmega168 projects. 2007-08-24 00:34:32 +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 4980eb8b2e Corrected Atmel ARM7 AT91SAM7S port by fixing some problems in the dlmstp.c functions. Validated. 2007-08-20 15:57:13 +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 2cdf64ab90 Testing the Atmel ARM7 port with an actual UART attached. Fixed several problems, but still not responding. 2007-08-18 00:03:11 +00:00
skarg 75302f4843 Updated make file, and testing compile with DLMSTP datalink. 2007-08-16 00:37:56 +00:00
skarg f1deb0b1fe Tweaked the Atmel ARM7 MS/TP settings. 2007-08-09 23:53:18 +00:00
skarg ed5562126e Added port for Atmel AT91SAM7S-EK ARM7 board using the YAGARTO GNU ARM tool suite. Still testing. 2007-08-08 23:33:30 +00:00