Commit Graph

21 Commits

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