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
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
dcd6cbed52
Updated Removed the unused state of MSTP_RECEIVE_STATE_HEADER_CRC. Hopefully this doesn't break too many implementations!
2009-07-17 16:02:31 +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
b85c4355d0
Indented according to standard indent rules for this project.
2009-04-18 20:50:04 +00:00
kingdl802
04d7ea9672
the list of include directories had to be updated because the
...
paths have changed.
2009-04-09 19:41:48 +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
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
10191b70de
Changed _Bool to be int8_t type rather than enum type. This should fix size compatibility with C++.
2008-08-25 15:34:16 +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
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
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