Commit Graph

31 Commits

Author SHA1 Message Date
skarg 48e2c60ce2 indented to standard from script 2012-05-13 15:07:12 +00:00
skarg b80039cf9b aligned max-info-frames with PDU queue 2012-04-16 14:44:34 +00:00
skarg fdf387ed1d Changed MS/TP receive to read more bytes from UART queue if they are available during each cycle. This fixes high baud rate issues on slower processors if the main loop cycle time is not fast enough. 2012-03-10 20:18:14 +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 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 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 d5822ac53a Add clear of MCU status registers at initialization. 2010-09-24 19:38:32 +00:00
skarg 64c28c32ad corrected MS/TP new Skip Data states 2010-09-22 01:12:14 +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 6e739e06d5 Added new MS/TP skip data state.
Added ring buffer for incoming PDU to fix WhoIs followed by ReadProperty situation.
2010-09-16 16:08:10 +00:00
skarg bb7237e38d Updated prototypes and include as required and found by compile with extra checking. 2010-08-20 19:27:28 +00:00
skarg 6fd0d9e13a Changed Max_info_frames to be constant. 2010-07-16 16:09:45 +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 44da26484d Fixed EEPROM macro. Added Max_Master get/save from EEPROM. 2010-06-01 19:58:52 +00:00
skarg d5c542fd22 Converted timer to a more useful and easily used timer library. 2010-03-05 05:01:26 +00:00
skarg cabe973354 Removed forever loop on MS/TP receive for fast processors since the incoming character wait is significantly slower than the processor speed. Thank you Paul! 2009-12-02 17:59:36 +00:00
skarg c04e69da8c Fixed EOL, indent. 2009-10-24 17:02:59 +00:00
skarg 6f254401c0 Removed debugging changes. 2009-09-18 18:39:41 +00:00
skarg d1f167c539 Added unit test to rs485 windows port to allow sending a string of ascii hex out the rs485 port to inject messages onto the wire. 2009-09-18 18:35:30 +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 6cfc2b805f Added MS/TP debugging to serial port test. 2009-09-11 23:13:45 +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 0293a2e6a2 Updated bdk port for version 2, along with test. 2009-07-14 15:47:58 +00:00
skarg 0c4edb33d9 Fixed up file indent, comments, and eol-type. 2009-05-13 03:46:02 +00:00
skarg 469627a6cf Updated port for BACnet Development Kit. 2009-05-11 22:32:06 +00:00
skarg eb06ee919a Added demo port for BACnetDevelopmentKit.com board. 2009-05-04 22:14:45 +00:00