brayra
9a2f058623
Added usleep(30) to RS485_Check_UART_Data allowing the process to give up time to the system,
...
rather than hogging the processor.
2009-02-27 16:33:16 +00:00
skarg
c23b6c2742
Corrected grammar.
2009-02-20 16:00:19 +00:00
skarg
552fe5e717
Added Added "--help" command line option to mstsnap.
2009-02-20 15:58:30 +00:00
skarg
209f63b1dc
Adding time stamp to mstpcap file name. Untested.
2009-02-15 13:27:41 +00:00
skarg
eb5838c3d5
Cleaned up some makefiles.
2009-01-17 12:49:47 +00:00
skarg
a4cd23761c
Added optional local print for mstp monitor.
2008-11-29 14:37:49 +00:00
skarg
d1a1c1c8a6
Indented.
2008-11-24 12:48:09 +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
23d2cd6592
Corrected compilation on linux - added conditional min macros.
2008-10-29 03:49:43 +00:00
skarg
2797764d65
Corrected the MS/TP capture to limit data to the input buffer. (again)
2008-10-28 18:14:00 +00:00
skarg
4dd074630b
Corrected the MS/TP capture to limit data to the input buffer.
2008-10-27 19:53:11 +00:00
skarg
0ffbb64c13
Indented with standard indent rules.
2008-08-23 12:38:26 +00:00
skarg
0326112c68
Created MS/TP capture tool that captures from USB->RS485 converter and sends data to SNAP Protocol for Wireshark capture.
2008-08-17 00:35:18 +00:00
skarg
1142eb7202
Converted the Linux MS/TP datalink module to use semaphores (pthread conditions) instead of sockets or queues. Copied module from Win32. Untested.
2008-08-10 13:51:32 +00:00
skarg
b310bd055a
Indented with indent.sh script.
2008-08-05 13:53:57 +00:00
skarg
6328b51cbc
Merging the dlmstp for Windows and Linux, so that a common module can be used for building. Untested.
2008-08-02 15:41:51 +00:00
skarg
a81814147a
Added some print info the mstpcap demo like packet count, baud rate, and interface.
2008-07-30 20:33:00 +00:00
skarg
96c140eda2
Added PCAP file saving for MS/TP captures, which can use a USB->RS485 converter.and be viewed in Wireshark.
2008-07-30 01:35:33 +00:00
skarg
2b55f1aabf
Testing MS/TP on Linux. Queues not working yet...
2008-07-27 17:29:37 +00:00
skarg
c6b60cc676
Testing MS/TP on Linux.
2008-07-27 15:27:17 +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
9daa40131d
Corrected the MS/TP monitor on Linux.
2008-02-28 02:08:40 +00:00
skarg
e208feedae
Corrected a couple of comparisons, and made the socket init more complete.
2008-02-20 22:35:20 +00:00
skarg
5bef9a18e2
Modified the WhoIs demo to use BBMD if configured for BACnet/IP. Corrected the BVLC code.
2008-01-22 01:18:12 +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
cf3f881f7a
Changed BIP debug from define to variable since we are using a lib. Affects Win32 and Linux.
2007-10-25 02:13:02 +00:00
skarg
69ed8a16c5
2007-10-25 02:01:48 +00:00
skarg
46ab0030c8
Fiddling with the MAX_MDPU and datalink stuff.
2007-09-01 00:42:12 +00:00
skarg
e7a49d79ee
Converted the linux build to use BACnet library. Moved some BACnet address functions to bacaddr.c/h.
2007-08-23 18:56:38 +00:00
skarg
e16ae6eded
Updated dlmstp project on Win32. Added rx_fsm.mak for Borland.
2007-08-23 00:34:38 +00:00
skarg
4f42b20590
Modified the MS/TP Master Node state machine to handle Data Expecting Reply in a more appropriate manner. Updated the MS/TP monitor rx_fsm, and updated the linux and windows dlsmtp for new functionality.
2007-08-23 00:28:14 +00:00
skarg
eabe6dee96
Converted SilenceTimer on MS/TP datalink to be a function so that it can be atomic on 8-bit microcontrollers.
2007-08-19 12:30:51 +00:00
skarg
53f2fc3f35
Updated the unit test make files. Fixed the init sections of MS/TP monitor (rx_fsm) modules. Corrected the rx_fsm code to check the correct return value of the read. Fixed the return value of the RS485 prototypes.
2007-08-18 16:14:06 +00:00
skarg
f2e0bbe834
Fixed makefile for atmega168.
2007-08-15 22:41:53 +00:00
skarg
722b183f98
Updated handling of port without IP address.
2007-08-11 17:16:22 +00:00
skarg
910acca133
Updated to allow command line passed device interface.
2007-08-08 23:11:28 +00:00
skarg
519e9fd31b
Converted comments from c++ to c.
2007-07-26 14:25:25 +00:00
skarg
ec3d065755
Updated bacint into Linux makefiles.
2007-07-26 00:43:42 +00:00
skarg
038f719a44
Corrected rx_fsm MS/TP monitor demo.
2007-07-24 23:15:23 +00:00
skarg
382766d7c4
Modified the API between mstp and dlmstp to better handler multiple MS/TP ports.
2007-07-16 14:19:49 +00:00
skarg
d9e1af4b2e
Added buffers for MSTP port structure.
2007-07-14 01:07:48 +00:00
skarg
39ef0b2af8
Fixing the linux port to use the common MS/TP state machine files.
2007-07-14 01:03:29 +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
3d54a5cd50
Corrected compiler warning.
2007-07-03 05:18:36 +00:00
skarg
3869b55fea
Updating Win32 MSTP datalink layer. Testing.
2007-07-03 00:44:48 +00:00
skarg
e839aad46c
Updated MS/TP Lurker program that monitors packets using the USB->RS485 adapter.
2007-07-02 22:07:48 +00:00
skarg
c1be9b7adf
Compiled MS/TP for server demo using sockets. Doesn't seem to keep up with token passing. Still investigating.
2007-07-02 16:47:16 +00:00
skarg
5435d46621
Rewriting the dlmstp for Linux to use sockets. In progress, not compiling.
2007-07-02 14:41:59 +00:00
skarg
63300e86bd
MSTP on Linux appears to be function for the server demo, but dlmstp needs to be rewritten to use posix queues or sockets, and multiple threads for the state machines.
2007-07-01 01:23:12 +00:00