Commit Graph

27 Commits

Author SHA1 Message Date
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 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 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 0e9a805f75 Moved the iam_send to demo/handler/s_iam.c to keep application code out of the core encode/decode library. 2008-11-14 14:41:28 +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 72abef8e1d Corrected atmega port MS/TP code where APDU size > 255 caused APDU layer to not process packets. 2008-01-03 18:49:38 +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 1f8a8b6f84 Slimming down the Atmel AVR port. 2007-10-19 03:26:43 +00:00
skarg 194c6d17ac Slimming down the Atmel AVR port. 2007-10-19 03:21:45 +00:00
skarg bfefe8cd62 Slimming down... 2007-10-19 01:33:28 +00:00
skarg f70e80f146 Tuned the ATmega168 port demo project that runs a Device Object and 9 Analog Inputs, and uses ReadProperty service. Uses 16158 bytes of flash, 624 bytes of RAM with an APDU of 128. 2007-10-16 01:22:12 +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 3fa42d3df6 2007-09-28 23:16:36 +00:00
skarg da79c3826b Updated AVR port to work on actual hardware. 2007-09-25 22:08:14 +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 17ceb11d3c Rewrote MS/TP to minimize memory usage. Compiles, but untested. 2007-09-05 23:13:15 +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 07816a3fd5 Updated atmega168 project files. 2007-08-16 22:13:57 +00:00
skarg 62d557a58d Added files for minimal compile. 2007-08-16 18:54:17 +00:00