skarg
79af8b60df
Merged revision(s) 3102 from branches/releases/bacnet-stack-0-8-0:
...
Changed info prints to go to stdout rather than stderr to clean up Wireshark extcap usage.
........
2017-01-04 18:55:24 +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
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
c0b54d06bd
Moved around some print statements to be more useful.
2012-11-12 23:16:15 +00:00
skarg
969bd471c0
Corrected rs-485 silence time function calls to match recent changes in API.
2012-09-27 19:53:12 +00:00
skarg
5111b9fb4e
Modified code to clean up some compiler warnings.
2012-05-18 23:34:45 +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
ef80e662b3
Cleaned up compile on Win32 for MS/TP datalink. Still not reliable yet.
2011-07-26 22:11:20 +00:00
skarg
624de45fc8
Cleaned up compiler warnings when compiled with Win32 MS/TP datalink.
2011-01-14 15:23:03 +00:00
skarg
57781b40cb
Changed Tturnaround time in MS/TP modules to be a minimum of 2ms, or use a dummy transmit of 4 bytes while the transceiver is disabled. 1ms delay will always give smaller than 1ms of delay due to silence timer tick.
2010-10-18 20:42:26 +00:00
skarg
6c9ef7211d
Fixed indent script, and indented files.
2010-07-19 23:19:54 +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
petermcs
04e99f3671
Changes to reduce the number of warnings with Visual C++2008 warning level 4 to a minimum.
2010-05-14 14:21:48 +00:00
skarg
c04e69da8c
Fixed EOL, indent.
2009-10-24 17:02:59 +00:00
skarg
fdeb2f3f0f
Changed RS485 interface to allow lower/upper case for Win32.
2009-10-20 17:25:17 +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
d1f167c539
Added unit test to rs485 windows port to allow sending a string of ascii hex out the rs485 port to inject messages onto the wire.
2009-09-18 18:35:30 +00:00
skarg
a32af783cb
Moved the MS/TP defines into mstpdef.h file.
2009-07-17 15:15:46 +00:00
skarg
7916c7a6de
Consolodated the datalink environment variable for building demos on Linux and Windows into a single module (dlenv). Adjusted most demo makefiles.
2009-05-22 01:45:38 +00:00
skarg
0c4edb33d9
Fixed up file indent, comments, and eol-type.
2009-05-13 03:46:02 +00:00
skarg
be4b33c099
Updated error message to work correctly.
...
Updated COM port to work with COM ports higher than COM9.
2009-05-11 20:17:30 +00:00
skarg
b310bd055a
Indented with indent.sh script.
2008-08-05 13:53:57 +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
89432a85c3
Applied standard indentation to files.
2008-01-08 23:13:51 +00:00
skarg
92f16a443f
Added casts to reduce compile warnings.
2007-12-11 22:47:23 +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
8c0ed6f417
Added info about USB converters.
2007-10-25 02:00:04 +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
27f2b9960a
Updated rx_fsm for Win32 port. Used for monitoring ms/tp stream from USB-RS485 dongle.
2007-08-10 00:21:27 +00:00
skarg
519e9fd31b
Converted comments from c++ to c.
2007-07-26 14:25:25 +00:00
skarg
ef7344af89
Changed RS-485 buffers to be a factor of APDU size. Removed wait before transmit to speed up Win32 state machine. Speed seems to vary depending on how many USB devices are connected.
2007-07-24 23:21:44 +00:00
skarg
038f719a44
Corrected rx_fsm MS/TP monitor demo.
2007-07-24 23:15:23 +00:00
skarg
d13b0ce854
Modified the Win32 datalink for MSTP to be more effecient by using semaphores for dataready signals. Also increased task priority. Still not fast enough - needs to respond to PFM and Token within 20ms to be compliant.
2007-07-16 17:03:08 +00:00
skarg
3869b55fea
Updating Win32 MSTP datalink layer. Testing.
2007-07-03 00:44:48 +00:00
skarg
d6851d7320
Updated the dlmstp and rx_fsm projects under Win32. Passing tokens and NPDU on MS/TP at 38400.
2007-07-02 23:09:22 +00:00
skarg
b3fda233cf
Added MS/TP on Win32 port using external USB RS-485 device from SerialGear. Only completed RS-485 and dlmst unit testing. It is communicating but not nicely.
2007-06-26 22:32:43 +00:00
skarg
f2166c14c7
Created RS-485 file for Win32 to work with USBGear USB to RS-485 converter.
2007-06-21 00:27:52 +00:00