Commit Graph

73 Commits

Author SHA1 Message Date
skarg f5bc326061 Merged duplicate and different BACnet Renitialized Device State enumerations. 2010-02-18 17:25:58 +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 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 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 d9fea88227 Removed the unused state of MSTP_RECEIVE_STATE_HEADER_CRC. Hopefully this doesn't break too many implementations! 2009-07-17 15:41:37 +00:00
skarg e70dd3c7ba Added more objects to BDK port, and connected AI to ADC7, and BI0..BI4 to PINB0..PINB4. Fixed up some other objects and object API (header files). 2009-06-18 03:58:54 +00:00
skarg 0c4edb33d9 Fixed up file indent, comments, and eol-type. 2009-05-13 03:46:02 +00:00
skarg b194e2cd70 SourceForge.net bug ID: 2785704. Added case in demo device object to return the Location property. Corrected comment and value of UTC Offset. Thank you piotrek ( bacpack )! 2009-05-03 11:55:50 +00:00
skarg b85c4355d0 Indented according to standard indent rules for this project. 2009-04-18 20:50:04 +00:00
skarg 75bd715bd4 corrected possible overflow in dlmstp.c for PIC and RTOS-32. Thank you Martin! 2009-03-06 11:04:51 +00:00
skarg 93826be9e5 Fixed MS/TP state MSTP_MASTER_STATE_WAIT_FOR_REPLY in ports/pic18f6720/mstp.c that prevented receiving the responses of your command to the peer. Thank you, Sungjune Lee! 2009-01-22 05:19:14 +00:00
skarg bb39b745f3 Corrected compiler warning. 2008-12-05 21:50:14 +00:00
skarg 980f0145be Fixed line endings, and set EOL properties. 2008-12-05 21:26:24 +00:00
skarg 16ce2b615f updated (apparently). 2008-12-01 15:27:08 +00:00
skarg 0b490d5440 Updated the PIC port for MS/TP. Tested on my hardware. 2008-11-30 04:39:53 +00:00
skarg 1ad2da7895 Corrected compile errors in PIC port for MS/TP. Untested. 2008-11-28 22:05:46 +00:00
skarg 63f3f77552 Modified the PIC port MS/TP RS-485 handling to use an interrupt safe FIFO library (untested). 2008-11-28 13:37:42 +00:00
skarg cee436eb45 Cleaned up PIC18F6720 project to enable mostly clean compile and build with latest MPLab (8.x) and MCC18 compiler (3.x). 2008-11-26 13:57:38 +00:00
skarg c7a5c05ac7 Moved send I-Am to a send module and out of iam.c. 2008-11-12 15:38:43 +00:00
skarg 3a0f109d66 Added h_npdu to demo lib and example projects. 2008-09-07 04:23:44 +00:00
skarg 0ffbb64c13 Indented with standard indent rules. 2008-08-23 12:38:26 +00:00
skarg 9c316a65dc Moved APDU Timeout and Retries to apdu module. 2008-08-17 02:12:58 +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 d1ad21a4cc updated max header based on the 8 bytes that are used by MS/TP. 2007-12-27 02:55:00 +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 25902a751f Added makefile for sdcc and pic, but not working. 2007-10-26 20:28:11 +00:00
skarg 65b7dea8bf Reducing the memory required by ATmega168 port. 2007-10-14 02:01:18 +00:00
skarg 3d6158443c Changed API: encode_tagged is now encode_application since we are encoding an application tag. 2007-10-13 12:26:16 +00:00
skarg 8ceee148a5 Added fixme comment due to report of bug. Thank you John Taylor! 2007-10-03 16:19:51 +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 b41f8709d8 Updated vendor name and ID to use the one specified in config.h or DEFINED. 2007-08-24 00:33:34 +00:00
skarg f74d39558f Added more configuration information to config.h, including the default Vendor Id. This BACnet Stack at SourceForge has been assigned Vendor Id 260 by ASHRAE. We can now release binary utilities and tools with our own Vendor ID! 2007-08-21 17:50:01 +00:00
skarg b9e4602660 Corrected bug in all confirmed handlers: if a segmented message was received, the handler tried to decode it instead of immediately sending an abort. This caused lockup with WriteProperty. 2007-08-18 00:14:06 +00:00
skarg 1b9a00e238 Added version files. 2007-08-13 16:42:43 +00:00
skarg d86641224a Corrected count of objects for PIC port. 2007-08-08 17:39:22 +00:00
skarg 0dd6584952 Updated the version number. 2007-07-21 12:13:26 +00:00
skarg e53f38dd40 Changed the MSTP_MASTER_STATE_ANSWER_DATA_REQUEST state to always send a REPLY_POSTPONED by
commenting out the section that checks for new packets to send.  It was not the intent of the BACnet standard, but it makes the Master Node FSM compliant.  It's either that or re-parse the message for a matching apdu and invoke id, and then defer if the next message does not match.  The problem happens when an unconfirmed request (i.e. WhoIs) is followed immediated by a confirmed request (i.e. ReadProperty) before the device can respond to the unconfirmed request (i.e. the I-Am is queued in the Transmit buffer).
2007-07-14 00:09:16 +00:00
skarg e142d20f3a Updated the version number. 2007-06-18 17:02:51 +00:00
skarg a18d338f00 Set the EOL-style to native for most files using svn propset command. Some files also had inconsistent line endings. Seems that subversion doesn't set the eol-style automatically when files are created unless it is configured for autoprops. The autoprops setting is local to the subversion installation and not the project. 2007-06-18 16:22:24 +00:00
skarg 8833675ad8 Changed Firmware_Revision property to return 0.3.1 which is the version of the BACnet Stack at SourceForge. 2007-06-15 22:54:05 +00:00
skarg 9069c939da Fixing indent oops which removed the contents of all these files. 2007-06-14 05:33:15 +00:00
skarg ea4863ca25 Indented. 2007-06-14 05:14:26 +00:00
skarg 8d557718d2 2007-06-06 00:17:59 +00:00
skarg 8139ea6fa1 Fixed the BACnet/IP broadcast messages to send as BVLC_ORIGINAL_BROADCAST_NPDU. Corrected comments about Broadcasts. 2007-05-22 00:17:39 +00:00
skarg becfdc947d Adding more functionality to Lighting Output object. 2007-04-02 21:49:21 +00:00
skarg 0f53e4c9e9 Updated the pic18f6720 demo in the ports directory. Added EPICS for the pic18f6720. 2007-04-02 21:31:26 +00:00