Commit Graph

98 Commits

Author SHA1 Message Date
skarg e9a2bfcbef Merged revision(s) 3046 from branches/releases/bacnet-stack-0-8-0:
Inhibited prints to stdout when called from Wireshark as it limits capturing with Wireshark 2.2
........
2016-09-29 16:01:06 +00:00
skarg 415475ba1f Backout revision 3029 which waited for a byte before checking if FSM is back to idle, but that misses timeouts. 2016-09-08 13:54:38 +00:00
skarg fef2943df5 Added a check for a new byte when moving back to IDLE for MS/TP capture utility. 2016-08-12 22:13:40 +00:00
skarg fecbbcb0f2 Fixed some comments. 2016-07-07 00:12:47 +00:00
skarg 57bb0d6d70 Added better invalid packet detection in MS/TP capture utility. [bugs:#42] mstpcap buffer-length/content is wrong. 2016-06-03 22:39:01 +00:00
skarg fcb8c0b86a Fixed Invalid Packets count when using "--scan" option with mstpcap utility. Thank you, Tyler Long! 2016-04-05 18:55:10 +00:00
skarg 6903953890 Fixed mstpcap for legacy Linux command line port selection. 2016-03-04 16:23:49 +00:00
skarg ca5a9bff94 Added support for Visual Studio 2015.
Fixed some WIN32 specific compile issues.
Changed MinGW build to use _NO_OLDNAMES so that it compatible with MSVC.
Thank you John LaFontaine for the contribution!
2015-11-10 21:08:05 +00:00
skarg da0476d881 Added Self/TT to statistics (was just Self for Tokens to Self) to track Tardy Tokens. Tardy Tokens (TT) are Token Frames that are send out of order, from a MAC to was not the previous Token Frame MAC destination. 2015-10-14 19:15:21 +00:00
skarg ca0092d4ee Fixed the scan command line option to mstpcap demo utility. 2015-09-24 21:43:24 +00:00
skarg 8f1741751d Added the legacy command line options for COM and baud rate to mstpcap demo utility. 2015-09-14 18:17:53 +00:00
skarg 9d595fd00d Fixed Wireshark extcap command line parameter interface to mstpcap utility on Windows (Thank you Roland!).
Tested with Wireshark 1.99.7 on Windows.
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.
Start or stop the capture directly from the interface.
2015-07-27 18:56:06 +00:00
skarg 0255d4b665 Updated Wireshark extcap command line parameter interface to mstpcap utility in the mstpcap.txt file. 2015-07-14 20:32:38 +00:00
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 6ff62a6cd7 Updated mstpcap documentation. 2013-09-23 19:28:45 +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
skarg d1f4e78cba fixed svn EOL and MIME settings. 2012-04-06 23:24:43 +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 7e503510c7 Updated documentation for mstpcap utility. 2011-08-15 17:15:20 +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 32096fe226 Added step-by-step to mstpcap for handling 76800 baud on FTDI chip devices. 2011-07-05 19:59:46 +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 6cfdde92d7 Updated readme file for mstpcap utility with new scan feature and additional statistics. 2011-04-13 20:17:50 +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 e095715cec Moved include files for demo objects into demo/object, and updated makefiles to accommodate the move. This allows developers to create and maintain their own objects and the interfaces to them. 2011-03-22 20:53:13 +00:00
bacpack 6a523e4d23 First attempt to clean-up Makefiles.
1. Top (main) makefile defines build configuration variables and export them for sub-makes to use. BAC_ROUTING is defined here - is has been removed from config.h.
2. A new makefile has been added in demo subdirectory. It builds the demo applications. NOTE: the 'ports' target is not build.
2010-11-25 04:17:58 +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 1bafe2ed98 Added all standard baud rates for Windows serial ports. Updated mstpcap readme file. 2010-05-20 23:31:50 +00:00
skarg 286c372d2c Updated ToDo list.
Added more info to MS/TP capture utility readme file.
Changed silence timer in BDK to compile smaller.
2010-05-14 12:14:09 +00:00
skarg 54ff09468e renamed file so that it is easily added to binary release. 2010-05-05 15:03:25 +00:00