skarg
b4ad2c2729
Added Wireshark extcap command line parameter interface to mstpcap utility.
...
Tested with Wireshark on Windows (mostly working).
To use extcap, run Wireshark and go to the About-dialog. Find a tab located there named "Folders". Locate the extcap search path. Copy the mstpcap.exe to that folder, which may not exist.
Restart Wireshark, and look for "BACnet MS/TP on COMx" interfaces.
Configure the interface to change baud rate.
Capture directly from the interface.
2015-07-14 20:31:32 +00:00
skarg
31b8373520
corrected invalid frame handling for mstpcap scan feature
2013-12-02 16:24:24 +00:00
skarg
56b65e9694
indented using indent.sh script.
2013-10-29 01:55:49 +00:00
skarg
35a8ef1ba2
Modified MS/TP capture utility to emit the list of available COM ports on Windows when no command line argument is given.
2013-10-07 17:35:44 +00:00
skarg
6a22a2b89c
Fixed mstpcap ctrl-c on Linux. Fixed mstpcap makefile on linux, while excluding cygwin.
2013-09-16 18:23:18 +00:00
skarg
4b21f62f38
Modified Ctrl-C exit handling of mstpcap to make exit cleaner on Win7.
2013-09-16 16:55:54 +00:00
skarg
252ffd934c
Enhanced mstpcap utility to show Device ID in statistics if any I-Am Requests were encountered in the MS/TP data stream.
2013-09-06 21:32:27 +00:00
skarg
ba3242aafd
indented using indent.sh script to get uniform looking code for release
2013-03-13 22:17:13 +00:00
skarg
c5e477c73a
fixed SilenceTimer to match new API
2012-09-28 02:18:04 +00:00
skarg
6013b2dc19
Fixed MS/TP capture utility to scan files created by other capture utilities (i.e. Johnson Controls) that don't have the fixed 65535 SNAP length in the global header.
2012-07-23 16:56:19 +00:00
petermcs
8d50bacbde
Changed output of current packet to stderr when using the --scan option so that the scan result can be piped to a file. Makes checking batches of captures easier.
2012-04-30 08:03:13 +00:00
petermcs
52ea59f446
Removed MS C specific gettimeofday function from mstpcap.c as there is one in the timer.c in the Win32 port.
...
Changed the conditional compilation in the Win32 timer.cto allow gettimeofday compile with MS C
2012-01-17 07:46:53 +00:00
petermcs
e0cf05f74a
Added in 76800 baud rate as it works on Win 7 with the B&B Electronics USOPTL4 USB adaptor that I have, YMMV.
...
Added gettimeofday() function to allow me build with VS2008 C++ Express Edition
2012-01-14 12:28:44 +00:00
skarg
087584e85e
Corrected baud rate setting for mstpcap demo utility. Thank you, Michael D!
2011-11-26 16:32:17 +00:00
skarg
3e1cb1847f
Indented project.
2011-08-17 02:27:11 +00:00
skarg
ef80e662b3
Cleaned up compile on Win32 for MS/TP datalink. Still not reliable yet.
2011-07-26 22:11:20 +00:00
skarg
dc209f7ffb
Enhanced the statistics and usage reporting of mstpcap utility. Now counts each frame type emitted by a node, calculates Npoll, checks for tokens sent to self, and still all the existing timing statistics.
2011-07-22 22:34:23 +00:00
skarg
17def5b2ac
Fixed compiler warning for timer size.
2011-07-05 19:58:42 +00:00
skarg
d07e319b5c
Corrected MS/TP cap statistics. Fixed build for Linux.
2011-05-25 00:45:46 +00:00
skarg
061dc251a5
Added ability in mstpcap utility to parse an MS/TP capture file and produce statistics using the --scan filename option.
...
Added PFM to statistics printout.
Added --version to command line options.
2011-04-12 20:48:40 +00:00
skarg
2c3e03256d
Added missing initialization for PFM count.
2010-10-13 00:06:07 +00:00
skarg
9569f2c536
Fixed EOL and performed standard indentation.
2010-09-16 22:00:47 +00:00
skarg
5524cab7cd
Corrected MS/TP capture statistics after converversion of FSM.
2010-09-13 14:08:28 +00:00
skarg
bb0c98a9c1
added MS/TP state skip data to MS/TP capture tool, and removed Lurking.
2010-09-12 16:08:31 +00:00
skarg
298038c0d8
Corrected compile error.
2010-08-20 21:56:18 +00:00
skarg
6c9ef7211d
Fixed indent script, and indented files.
2010-07-19 23:19:54 +00:00
skarg
0dff7c85eb
Improved reporting in demo WhoIs and mstpcap.
2010-07-01 16:36:05 +00:00
skarg
710cfccfef
Indented using indent script.
2010-05-04 21:06:26 +00:00
skarg
4163cac4cb
Corrected statistics when used with a single MS/TP device.
2010-04-23 18:09:39 +00:00
skarg
d5e0ac54d5
Changed MS/TP capture to capture beyond 65535 packets when sending to a named pipe.
2010-01-12 20:05:50 +00:00
skarg
c04e69da8c
Fixed EOL, indent.
2009-10-24 17:02:59 +00:00
skarg
857d0c185d
Added named pipe to linux port of mstpcap.
2009-10-24 16:24:33 +00:00
skarg
2917c9abf0
Converted C++ comments to C comments
2009-10-24 15:49:00 +00:00
skarg
e10e1f2614
Fixed compile for Linux.
2009-10-16 14:11:58 +00:00
skarg
deba2aab3e
Added a Named Pipe to MS/TP Capture utility so that Wireshark can capture MS/TP packets in realtime using the named pipe as the interface name. Thank you Lori!
2009-10-14 21:15:10 +00:00
skarg
db61a1122f
Ran indent script.
2009-07-29 18:06:33 +00:00
skarg
6adf97553f
Updated code to handle Borland 5.5 Compile.
2009-07-29 17:53:32 +00:00
skarg
a503aca204
Added another method to monitor Tusage_delay. Changed output order.
2009-07-28 17:24:46 +00:00
skarg
f27f95c435
Added ctrl-c trap so that the statistics will print at the end.
2009-07-28 16:35:39 +00:00
skarg
502a25ba91
Improved the MS/TP statistics gathering and display.
2009-07-28 15:17:48 +00:00
skarg
53fb6ee291
Added MS/TP statistics. Work in progress.
2009-07-27 22:37:04 +00:00
skarg
f30a21a032
Converted mstpcap to use timer rather than sleep for timing.
2009-07-27 17:50:09 +00:00
skarg
a32af783cb
Moved the MS/TP defines into mstpdef.h file.
2009-07-17 15:15:46 +00:00
skarg
95b94f75fd
removed process.h which causes mingw to fail from command line build.
2009-06-05 19:34:08 +00:00
skarg
2bf1e66ace
Corrected demo mstpcap when building with Borland compiler. Thank you Martin!
2009-05-27 20:25:11 +00:00
skarg
b85c4355d0
Indented according to standard indent rules for this project.
2009-04-18 20:50:04 +00:00
skarg
f9d6bd8ed2
Cleaned up some compiler warnings.
2009-02-27 22:39:10 +00:00
skarg
aae481d245
Removed the extra threading on the MS/TP capture tool since it didn't capture very well (perhaps it needed some tuning).
2009-02-23 16:01:56 +00:00
skarg
c23b6c2742
Corrected grammar.
2009-02-20 16:00:19 +00:00
skarg
d304e64743
Added "--help" command line option to mstpcap.
2009-02-20 15:51:08 +00:00