Commit Graph

24 Commits

Author SHA1 Message Date
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