Commit Graph

123 Commits

Author SHA1 Message Date
skarg 81d69f910d Updated some ARM and AVR ports projects which needed changes to API for some BACnet objects. Compiled with IAR ARM and AVR compiler. 2013-05-22 17:44:57 +00:00
skarg 0c963ecc30 Fixed MS/TP where double messages were send on Data-expecting-reply frames. Thank you, Simone Tolotti. 2013-04-13 16:18:07 +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 a576c29ae4 Added some porting to AT91SAM7S while playing with IAR compiler. 2013-01-08 20:51:29 +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 934fcbf012 A function in example device.c, Device_Object_List_Identifier, uses an array index, which starts at 1, not 0. Fixes WhoHas for last name in object list. Thank you, Peter van der Stok! 2012-12-07 16:28:01 +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
skarg b6b852ef08 Removed wildcard match for Device Instance since it is only done for ReadProperty and ReadPropertyMultiple services, and the match is done by substitution in those service handlers. 2012-07-09 21:52:19 +00:00
skarg 7578b4ef06 Added check in each example object WriteProperty handler to pass test:
9.22.2.1 Writing Non-Array Properties with an Array Index
Thank you Kamalathas!
2012-07-09 19:49:27 +00:00
skarg f12db96ab3 Changed prefix for ARM compiler when using later Yagarto tools. 2012-06-01 16:39:59 +00:00
skarg 2455774afd changed characterstring and octetstring default capacity in microcontroller ports to be 64 bytes to prevent C-Stack overflow. 2012-05-27 02:14:21 +00:00
skarg 48e2c60ce2 indented to standard from script 2012-05-13 15:07:12 +00:00
skarg d1f4e78cba fixed svn EOL and MIME settings. 2012-04-06 23:24:43 +00:00
skarg 6b544c0ec4 Changed service error ERROR_CODE_UNSUPPORTED_OBJECT_TYPE to ERROR_CODE_UNKNOWN_OBJECT to since ERROR_CODE_UNSUPPORTED_OBJECT_TYPE seems to only be acceptable to return from CreateObject service. 2012-03-16 20:09:20 +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 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