Commit Graph

51 Commits

Author SHA1 Message Date
skarg 522d9f4f7d Corrected poll station for sole master PFM transition. 2007-09-29 14:24:28 +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 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 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 8026dc003b Combined the interface set into the datalink_init for all the datalink layers. Changed all the demo programs to use datalink_init instead of specific datalink functions. 2007-05-25 01:08:42 +00:00
skarg 5dd8c6da91 Converted to standard indent style. 2006-10-07 14:13:34 +00:00
skarg 19c5a20205 Converted C++ comments to C comments 2006-10-07 14:12:16 +00:00
skarg 07a1077b2d correcting the npdu encoding for handlers. 2006-09-22 21:16:20 +00:00
skarg dd9b726b5e corrected state transition in WAIT FOR REPLY state. 2006-09-21 11:17:10 +00:00
skarg bb9351fa9f moved rs485.h into ports. 2006-09-16 19:49:44 +00:00
skarg 310b4c1479 moved the mstp state machines into the ports directories since they will be custom for each port. Some ports will be single threaded while some will use an RTOS. 2006-09-16 17:48:52 +00:00
skarg b632f158f4 Changed the MS/TP state machine to cheat a little in order to make the timing contraints. 2006-09-05 20:28:59 +00:00
skarg 42e0033c98 Fixed a few more bugs in MS/TP, and leaned it out some more. 2006-08-29 20:42:26 +00:00
skarg 3d0abf778a indented 2006-08-29 10:48:04 +00:00
skarg 0f851d57f0 changed delays to yields. 2006-08-29 10:32:32 +00:00
skarg 23a8636b90 Added reset of SilenceTimer in the SendFrame part of MS/TP that had been missing. Refactored more master state machine states. 2006-08-28 21:13:37 +00:00
skarg 6b18bb8935 Finally got MS/TP communicating on ports/rtos32. I still need to verify that it is doing things correctly since it seems a little slow to respond to service requests. Still more work to do refactoring the state machine. 2006-08-25 21:36:56 +00:00
skarg 52ee5a5619 Getting the RTOS-32 port working again. Also getting the MS/TP state machine working. Soon! 2006-08-23 21:32:16 +00:00
skarg b686fa7ca7 changed c++ comments to c comments using comment.sh script. 2006-02-19 01:33:30 +00:00
skarg d6a891f0d1 running the indent on the files. 2006-02-18 23:11:25 +00:00
skarg 89e1d3cd70 Adjusted RTOS-32 port for common demo programs. 2006-02-05 03:02:49 +00:00
skarg d7ed1480fe Moved the demo objects into demo/object directory, and updated the makefiles and unit tests to handle the move. 2006-01-10 20:36:30 +00:00
skarg 1cc71f8d14 changed the modules to use the new BACNet string types.
Modified the device object to handle having the string properties changed via WriteProperty service.
Updated the unit tests.
Updated the demo objects.
2005-12-23 17:39:36 +00:00
skarg 705a04b92f fixed compile errors 2005-08-15 17:53:13 +00:00
skarg 2e87236e9b Added externs declarations to header files to handle C++ compilation.
Cleaned up BACnet/IP API a little.
2005-08-13 14:10:21 +00:00
skarg fdbe2eab1e fixing the RTOS-32 port for BACnet/IP. 2005-08-12 21:22:50 +00:00
skarg bc21625461 refactored the BACnet/IP for each of the ports 2005-08-12 15:44:42 +00:00
skarg 81ce0fef85 Added check to keep us from getting BACnet/IP messages from ourselves 2005-07-03 11:17:36 +00:00
skarg 68f7e4bc8a corrected BIP for the Win32 and RTOS32 builds. Compiled and tested under Borland C++ 5.02and Visual C++ 6 SP5. 2005-05-31 17:31:30 +00:00
skarg 7e952b0912 refactored the binding process. 2005-05-27 17:16:55 +00:00
skarg 58746c2182 corrected for warnings from Borland. 2005-05-26 18:53:16 +00:00
skarg 7a6ef736c5 Updated to work with RTOS-32 port; found that Ethernet PACKET does not work, but BACnet/IP works. 2005-05-10 16:09:00 +00:00
skarg 9c51ec2cd0 Adding MS/TP support to rtos32 port. 2005-05-06 21:11:36 +00:00
skarg 6470db6f66 Made the BACnet/IP use the same socket as the receive so that the src port number would be 0XBAC0 so that the MAC address of the I-Am message would resolve to the correct port. 2005-05-05 18:47:40 +00:00
skarg 830dad8752 corrected API for sending to return the number of bytes sent. 2005-05-05 18:16:34 +00:00
skarg 2162f8814a Added method for setting the broadcast address 2005-05-05 17:15:16 +00:00
skarg 3fb559b60a corrected data link receive of large packets that were reporting a actual PDU length but not loading the PDU. 2005-05-05 10:39:07 +00:00
skarg 4a98496478 cleaned up compiler warnings 2005-05-04 20:56:27 +00:00
skarg 05645df358 modified to make generic 2005-05-04 15:53:09 +00:00
skarg d972d88b5d added for rtos32 port 2005-05-04 15:40:39 +00:00
skarg b699a56f52 changed error wording 2005-05-04 13:54:26 +00:00
skarg 19be50d367 moving BACnet/IP module to handle quirks on each port 2005-05-04 13:49:50 +00:00
skarg 0ad7f97df4 moved the data link layer define into the makefile. 2005-05-04 13:38:07 +00:00
skarg 156b2f143d modified while refactoring the handlers 2005-05-04 13:27:27 +00:00
skarg 5b87d09c94 modified while adding rtos-32 support 2005-05-03 21:04:16 +00:00
skarg 7fc0c082f1 added from RTOS-32 distribution 2005-05-03 21:03:30 +00:00
skarg d2cf369938 adding rtos-32 support 2005-05-02 21:03:54 +00:00
skarg 4c5d314f4a adding rtos-32 support 2005-04-22 17:53:19 +00:00
skarg cde1d1e021 Ooops! Imported SVN records... 2004-09-22 19:31:25 +00:00