Commit Graph

107 Commits

Author SHA1 Message Date
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 432145b766 Updated device.c files of ports stm32f10x and at91sam7s to fix some problems and make them more similar. 2011-09-09 04:47:46 +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 e0b5b5b164 Corrected check for Device Name function. 2011-08-23 17:04:01 +00:00
tbrennan3 e7365ecaa5 Fixed up Device_Object_Name_Copy() for these ports. 2011-08-22 19:40:08 +00:00
skarg 3e1cb1847f Indented project. 2011-08-17 02:27:11 +00:00
skarg deab12a5e1 Changed WhoHas and I-Have to use CharacterString instead of forcing ANSI X34 and C Strings. Affected all demos and ports object name, so I changed the object name function name to make sure it was noticed. 2011-03-24 16:53:02 +00:00
skarg 1baab58598 Removed LED control from FIQ handler in assembler file. 2011-03-13 02:26:28 +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 4ef20d370a Fixed watchdog timer initialization value. 2010-12-11 21:38:52 +00:00
skarg 57781b40cb Changed Tturnaround time in MS/TP modules to be a minimum of 2ms, or use a dummy transmit of 4 bytes while the transceiver is disabled. 1ms delay will always give smaller than 1ms of delay due to silence timer tick. 2010-10-18 20:42:26 +00:00
skarg e9249b5b5e Added test for a decoding problem where the stack is unable to decode something, and retrofitted into WriteProperty for each of the demo objects by returning an Error, Out of Range. 2010-10-12 01:17:50 +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 7832ba11db Changed Object List in various ports to return Segementation Not Supported abort when it is too large to return in a single APDU. 2010-09-11 13:38:16 +00:00
skarg b769dcbe1d Indented. 2010-08-18 00:11:35 +00:00
skarg 6c9ef7211d Fixed indent script, and indented files. 2010-07-19 23:19:54 +00:00
skarg 0b5efa5be5 Changed -L=lib to -Llib in all GNU Make makefiles since it was wrong and causing problems on cross compilers. Thank you, Magno! 2010-07-14 12:55:37 +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 8a96963e8b Removed deprecated property. 2010-06-26 03:53:17 +00:00
skarg 70381c8b84 Updated BACnet protocol revision constants. 2010-06-14 15:56:29 +00:00
skarg 8bb844de36 Updated demo objects in ports to use new named constants for error return values. 2010-06-12 23:24:01 +00:00
skarg 710cfccfef Indented using indent script. 2010-05-04 21:06:26 +00:00
skarg 69e1121d66 Corrected return value of WriteProperty in device object. 2010-04-28 17:35:23 +00:00
skarg f5bc326061 Merged duplicate and different BACnet Renitialized Device State enumerations. 2010-02-18 17:25:58 +00:00
skarg 1f9c13d37b Got rid of the handler-set functions for RP,RPM,WP,RD. Just referencing the device object functions directly. 2010-02-18 03:06:03 +00:00
skarg 24b9e013be Fixed wildcard instance for RP. 2010-02-16 12:35:55 +00:00
skarg 5c439da7f2 Converted ports/at91sam7s to use demo handlers. Added RPM, WhoHas/I-Have. 2010-02-13 16:15:30 +00:00
skarg 8d85b05afd Corrected name that caused compiler error. 2010-02-11 16:54:11 +00:00
skarg f0863c0238 Refactored RP, WP, RPM to reduce coupling with objects for Linux and Win32 ports. 2010-02-10 16:27:31 +00:00
skarg e42abbf74b Corrected RPM and RP in ports projects to handle MAX APDU Accepted. 2010-01-11 04:39:22 +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 edc7c6c577 Added test for array options on RP and RPM to all object properties that are not arrays. 2009-11-05 15:39:46 +00:00
skarg c04e69da8c Fixed EOL, indent. 2009-10-24 17:02:59 +00:00
skarg 1c82dda7d6 Added unrecognized service handler to ports demos. 2009-10-07 21:46:36 +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 c304b8b330 Added a parameter to Device_Encode_Property_APDU so that it matched all the ther objects, which required all the demo and ports to modify their device and h_rp files. 2009-08-23 03:48:27 +00:00
skarg 3dc3da5735 Changing handlers to register objects so that handlers can remain unchanged. In Progress! 2009-08-22 19:27:18 +00:00
skarg f3bc8a5baf Cleaned up compiler errors generated on Linux. 2009-08-21 20:22:19 +00:00
skarg 1c5a011d52 Changed filename to name expected in Makefile. 2009-08-21 19:28:55 +00:00
skarg f6fd5da66b Changed case sensitive filename. 2009-08-21 19:25:12 +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 3e84cce6d1 Fixing makefile for ports. 2009-07-18 11:55:46 +00:00