<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Steve's Software Trek</title>
	<atom:link href="http://steve.kargs.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://steve.kargs.net</link>
	<description>Open Source Software Haven</description>
	<lastBuildDate>Tue, 16 Feb 2010 19:56:09 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Wireshark and BACnet MS/TP by skarg</title>
		<link>http://steve.kargs.net/bacnet/wireshark-and-bacnet-mstp/comment-page-1/#comment-41164</link>
		<dc:creator>skarg</dc:creator>
		<pubDate>Tue, 16 Feb 2010 19:56:09 +0000</pubDate>
		<guid isPermaLink="false">http://steve.kargs.net/?p=139#comment-41164</guid>
		<description>David asks &quot;Hi, anyone know by chance where I can find information about the protocol Bacnet? I want to know is how to send packets as encoding and decoding, the format has, etc..&quot;.

The official information is the ASHRAE 135-2008 BACnet standard, available from &lt;a href=&quot;http://ashrae.org/&quot; rel=&quot;nofollow&quot;&gt;ashrae.org&lt;/a&gt; bookstore.  You can use the &lt;a href=&quot;http://bacnet.sourceforge.net/&quot; rel=&quot;nofollow&quot;&gt;open source BACnet stack&lt;/a&gt; or &lt;a href=&quot;http://wireshark.org/&quot; rel=&quot;nofollow&quot;&gt;Wireshark&lt;/a&gt; to see how we have encoded and decoded the various services and data in BACnet.</description>
		<content:encoded><![CDATA[<p>David asks &#8220;Hi, anyone know by chance where I can find information about the protocol Bacnet? I want to know is how to send packets as encoding and decoding, the format has, etc..&#8221;.</p>
<p>The official information is the ASHRAE 135-2008 BACnet standard, available from <a href="http://ashrae.org/" rel="nofollow">ashrae.org</a> bookstore.  You can use the <a href="http://bacnet.sourceforge.net/" rel="nofollow">open source BACnet stack</a> or <a href="http://wireshark.org/" rel="nofollow">Wireshark</a> to see how we have encoded and decoded the various services and data in BACnet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wireshark and BACnet MS/TP by David</title>
		<link>http://steve.kargs.net/bacnet/wireshark-and-bacnet-mstp/comment-page-1/#comment-41141</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 16 Feb 2010 18:42:49 +0000</pubDate>
		<guid isPermaLink="false">http://steve.kargs.net/?p=139#comment-41141</guid>
		<description>Hola, alguien sabe de casualidad donde puedo encontrar informacion sobre el protocolo Bacnet? lo que quiero saber es como se envian los paquetes, como codificarlos y decodificarlos, el formato que tiene, etc.

Gracias.</description>
		<content:encoded><![CDATA[<p>Hola, alguien sabe de casualidad donde puedo encontrar informacion sobre el protocolo Bacnet? lo que quiero saber es como se envian los paquetes, como codificarlos y decodificarlos, el formato que tiene, etc.</p>
<p>Gracias.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wireshark and BACnet MS/TP by skarg</title>
		<link>http://steve.kargs.net/bacnet/wireshark-and-bacnet-mstp/comment-page-1/#comment-21692</link>
		<dc:creator>skarg</dc:creator>
		<pubDate>Thu, 17 Sep 2009 16:02:08 +0000</pubDate>
		<guid isPermaLink="false">http://steve.kargs.net/?p=139#comment-21692</guid>
		<description>from the demo/mstpcap/readme.txt file in the source code:

BACnet MS/TP Capture Tool

This tool captures BACnet MS/TP packets on an RS485 serial interface,
and saves the packets to a file in Wireshark PCAP format for
the BACnet MS/TP dissector to read.  The filename has a date and time
code in it, and will contain up to 65535 packets.  A new file
will be created at each 65535 packet interval.  The tool can
be stopped by using Control-C.

Here is a sample of the tool running (use CTRL-C to quit).
D:\code\bacnet-stack\bin&gt;mstpcap COM3 38400
Adjusted interface name to \\.\COM3
mstpcap: Using \\.\COM3 for capture at 38400 bps.
mstpcap: saving capture to mstp_20090729123548.cap
1400 packets
MAC     MaxMstr Tokens  Retries Treply  Tusage  Trpfm   Tder    Tpostpd
0       0       525     0       32      0       0       0       0
1       127     525     0       16      79      0       0       0

The BACnet MS/TP capture tool also includes statistics which are
listed for any MAC addresses found passing a token,
or any MAC address replying to a DER message.
The statistics are emitted when Control-C is pressed, or when
65535 packets are captured and the new file is created.
The statistics are cleared when the new file is created.

MaxMstr = highest destination MAC address during PFM

Tokens = number of tokens transmitted by this MAC address.

Retries = number of second tokens sent to this MAC address.

Treply = maximum number of milliseconds it took to reply with
a token after receiving a token. Treply is required to be less
than 25ms (but the mstpcap tool may not have that good of
resolution on Windows).

Tusage = the maximum number of milliseconds the
device waits for a ReplyToPollForMaster or Token retry.
Tusage is required to be between 20ms and 100ms.

Trpfm = maximum number of milliseconds to respond to PFM with RPFM.  It is
required to be less than 25ms.

Tder = maximum number of milliseconds that a device takes to
respond to a DataExpectingReply request.  Tder is required to be less
than 250ms.

Tpostpd = maximum number of milliseconds to respond to
DataExpectingReply request with ReplyPostponed.  Tpostpd is
required to be less than 250ms.

Note that the mstpcap tool may not have that good of
resolution on Windows, so timing under 50ms may not be accurate.</description>
		<content:encoded><![CDATA[<p>from the demo/mstpcap/readme.txt file in the source code:</p>
<p>BACnet MS/TP Capture Tool</p>
<p>This tool captures BACnet MS/TP packets on an RS485 serial interface,<br />
and saves the packets to a file in Wireshark PCAP format for<br />
the BACnet MS/TP dissector to read.  The filename has a date and time<br />
code in it, and will contain up to 65535 packets.  A new file<br />
will be created at each 65535 packet interval.  The tool can<br />
be stopped by using Control-C.</p>
<p>Here is a sample of the tool running (use CTRL-C to quit).<br />
D:\code\bacnet-stack\bin>mstpcap COM3 38400<br />
Adjusted interface name to \\.\COM3<br />
mstpcap: Using \\.\COM3 for capture at 38400 bps.<br />
mstpcap: saving capture to mstp_20090729123548.cap<br />
1400 packets<br />
MAC     MaxMstr Tokens  Retries Treply  Tusage  Trpfm   Tder    Tpostpd<br />
0       0       525     0       32      0       0       0       0<br />
1       127     525     0       16      79      0       0       0</p>
<p>The BACnet MS/TP capture tool also includes statistics which are<br />
listed for any MAC addresses found passing a token,<br />
or any MAC address replying to a DER message.<br />
The statistics are emitted when Control-C is pressed, or when<br />
65535 packets are captured and the new file is created.<br />
The statistics are cleared when the new file is created.</p>
<p>MaxMstr = highest destination MAC address during PFM</p>
<p>Tokens = number of tokens transmitted by this MAC address.</p>
<p>Retries = number of second tokens sent to this MAC address.</p>
<p>Treply = maximum number of milliseconds it took to reply with<br />
a token after receiving a token. Treply is required to be less<br />
than 25ms (but the mstpcap tool may not have that good of<br />
resolution on Windows).</p>
<p>Tusage = the maximum number of milliseconds the<br />
device waits for a ReplyToPollForMaster or Token retry.<br />
Tusage is required to be between 20ms and 100ms.</p>
<p>Trpfm = maximum number of milliseconds to respond to PFM with RPFM.  It is<br />
required to be less than 25ms.</p>
<p>Tder = maximum number of milliseconds that a device takes to<br />
respond to a DataExpectingReply request.  Tder is required to be less<br />
than 250ms.</p>
<p>Tpostpd = maximum number of milliseconds to respond to<br />
DataExpectingReply request with ReplyPostponed.  Tpostpd is<br />
required to be less than 250ms.</p>
<p>Note that the mstpcap tool may not have that good of<br />
resolution on Windows, so timing under 50ms may not be accurate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wireshark and BACnet MS/TP by Kevin Edison</title>
		<link>http://steve.kargs.net/bacnet/wireshark-and-bacnet-mstp/comment-page-1/#comment-21653</link>
		<dc:creator>Kevin Edison</dc:creator>
		<pubDate>Thu, 17 Sep 2009 14:35:56 +0000</pubDate>
		<guid isPermaLink="false">http://steve.kargs.net/?p=139#comment-21653</guid>
		<description>It looks like it is a great tool, but when I run mstpcap in Windows, I receive an error: &quot;Unable to open COM4&quot;.  Is there a way to specify the COM port?  Is there some documentation that I am missing?  Thanks!</description>
		<content:encoded><![CDATA[<p>It looks like it is a great tool, but when I run mstpcap in Windows, I receive an error: &#8220;Unable to open COM4&#8243;.  Is there a way to specify the COM port?  Is there some documentation that I am missing?  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wireshark and BACnet MS/TP by Controls-Man</title>
		<link>http://steve.kargs.net/bacnet/wireshark-and-bacnet-mstp/comment-page-1/#comment-17408</link>
		<dc:creator>Controls-Man</dc:creator>
		<pubDate>Sun, 09 Aug 2009 18:54:14 +0000</pubDate>
		<guid isPermaLink="false">http://steve.kargs.net/?p=139#comment-17408</guid>
		<description>Steve-

I have to give you a big THANKS for the mstpcap-Wireshark 1.1.x development combo.  It works GREAT!  Using Wireshark filters work wonderful with your mstpcap tool.

Thanks again!</description>
		<content:encoded><![CDATA[<p>Steve-</p>
<p>I have to give you a big THANKS for the mstpcap-Wireshark 1.1.x development combo.  It works GREAT!  Using Wireshark filters work wonderful with your mstpcap tool.</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Giving: Spread the Sharing by click to give</title>
		<link>http://steve.kargs.net/charity/giving-spread-the-sharing/comment-page-1/#comment-16799</link>
		<dc:creator>click to give</dc:creator>
		<pubDate>Fri, 17 Jul 2009 01:00:26 +0000</pubDate>
		<guid isPermaLink="false">http://steve.kargs.net/charity/giving-spread-the-sharing/#comment-16799</guid>
		<description>Awesome post!  Thanks.</description>
		<content:encoded><![CDATA[<p>Awesome post!  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wireshark and BACnet MS/TP by skarg</title>
		<link>http://steve.kargs.net/bacnet/wireshark-and-bacnet-mstp/comment-page-1/#comment-16719</link>
		<dc:creator>skarg</dc:creator>
		<pubDate>Wed, 15 Jul 2009 20:36:07 +0000</pubDate>
		<guid isPermaLink="false">http://steve.kargs.net/?p=139#comment-16719</guid>
		<description>Hello Andrej,

To decode the serial port directly under Wireshark requires a driver that packetizes the serial stream, and makes the packets available as a network interface.  I have not done any drivers like that for Linux (line discipline driver) or Windows.

However, it is still possible to use mstpcap to capture the Serial Port stream, which packetize it into a file.  Then open that file with Wireshark to view the MS/TP messages.  It is also possible (at least under Linux currently) to use mstpsnap to capture the Serial Port stream and send it out on an Ethernet port and monitor the capture in realtime with Wireshark.

Perhaps there will be better solutions (i.e. Wireshark Remote) for serial packet captures in the future that work on all platforms.</description>
		<content:encoded><![CDATA[<p>Hello Andrej,</p>
<p>To decode the serial port directly under Wireshark requires a driver that packetizes the serial stream, and makes the packets available as a network interface.  I have not done any drivers like that for Linux (line discipline driver) or Windows.</p>
<p>However, it is still possible to use mstpcap to capture the Serial Port stream, which packetize it into a file.  Then open that file with Wireshark to view the MS/TP messages.  It is also possible (at least under Linux currently) to use mstpsnap to capture the Serial Port stream and send it out on an Ethernet port and monitor the capture in realtime with Wireshark.</p>
<p>Perhaps there will be better solutions (i.e. Wireshark Remote) for serial packet captures in the future that work on all platforms.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wireshark and BACnet MS/TP by Andrej</title>
		<link>http://steve.kargs.net/bacnet/wireshark-and-bacnet-mstp/comment-page-1/#comment-16715</link>
		<dc:creator>Andrej</dc:creator>
		<pubDate>Tue, 14 Jul 2009 07:08:43 +0000</pubDate>
		<guid isPermaLink="false">http://steve.kargs.net/?p=139#comment-16715</guid>
		<description>Hello Mr. Karg.

I have ICP CON 7561 USB to RS485 converter.
http://www.inovis-group.ch/d/artikel_ausgabe.asp?ID=2949&amp;form=7
This converter uses the USB interface to conect with PC.

And other converter to connect mstp-bus to serial interface.

I can see the beatstream over HyperTerminal  (serail interface (COMx)).

It is possible to connect Wireshark on Serial Port an decode the beatsream?</description>
		<content:encoded><![CDATA[<p>Hello Mr. Karg.</p>
<p>I have ICP CON 7561 USB to RS485 converter.<br />
<a href="http://www.inovis-group.ch/d/artikel_ausgabe.asp?ID=2949&amp;form=7" rel="nofollow">http://www.inovis-group.ch/d/artikel_ausgabe.asp?ID=2949&amp;form=7</a><br />
This converter uses the USB interface to conect with PC.</p>
<p>And other converter to connect mstp-bus to serial interface.</p>
<p>I can see the beatstream over HyperTerminal  (serail interface (COMx)).</p>
<p>It is possible to connect Wireshark on Serial Port an decode the beatsream?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wireshark and BACnet MS/TP by skarg</title>
		<link>http://steve.kargs.net/bacnet/wireshark-and-bacnet-mstp/comment-page-1/#comment-16651</link>
		<dc:creator>skarg</dc:creator>
		<pubDate>Mon, 13 Jul 2009 14:29:59 +0000</pubDate>
		<guid isPermaLink="false">http://steve.kargs.net/?p=139#comment-16651</guid>
		<description>I don&#039;t know of a way to read the BACnet MS/TP frames through that router.  BACnet routers usually just &quot;route&quot; packets, and most of the MS/TP frames don&#039;t get routed (token, poll-for-master, reply-to-poll-for-master, test-request, test-response, reply-postponed)  You will need to add an RS485 card/converter to use the mstpcap utility and see the BACnet MS/TP frames.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know of a way to read the BACnet MS/TP frames through that router.  BACnet routers usually just &#8220;route&#8221; packets, and most of the MS/TP frames don&#8217;t get routed (token, poll-for-master, reply-to-poll-for-master, test-request, test-response, reply-postponed)  You will need to add an RS485 card/converter to use the mstpcap utility and see the BACnet MS/TP frames.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wireshark and BACnet MS/TP by Andrej</title>
		<link>http://steve.kargs.net/bacnet/wireshark-and-bacnet-mstp/comment-page-1/#comment-16634</link>
		<dc:creator>Andrej</dc:creator>
		<pubDate>Mon, 13 Jul 2009 11:31:07 +0000</pubDate>
		<guid isPermaLink="false">http://steve.kargs.net/?p=139#comment-16634</guid>
		<description>I used BACnet/IP to BACnet MS/TP Router (cimetrics e+ series), wich I conected with PC. On Router. I has connected mstp master deviece with this router. I wont use Wireshark to read BACnet MS/TP-Frames.
Is it possible?How?</description>
		<content:encoded><![CDATA[<p>I used BACnet/IP to BACnet MS/TP Router (cimetrics e+ series), wich I conected with PC. On Router. I has connected mstp master deviece with this router. I wont use Wireshark to read BACnet MS/TP-Frames.<br />
Is it possible?How?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wireshark and BACnet MS/TP by skarg</title>
		<link>http://steve.kargs.net/bacnet/wireshark-and-bacnet-mstp/comment-page-1/#comment-14493</link>
		<dc:creator>skarg</dc:creator>
		<pubDate>Thu, 18 Jun 2009 15:52:55 +0000</pubDate>
		<guid isPermaLink="false">http://steve.kargs.net/?p=139#comment-14493</guid>
		<description>Today I added Win32 binary releases of mstpcap (along with the other BACnet/IP tools) to the BACnet Protocol Stack project hosted on SourceForge.net.  

The mstpcap tool stores the packets to a file (named with the current date and time), and puts up to 65535 packets into a single file.  A new file is created when the file is full, or when mstpcap is first started.
http://prdownloads.sourceforge.net/bacnet/bacnet-tools-0.5.1.zip?download

I have not tried to create an mstpsnap for Win32 with WinPcap.</description>
		<content:encoded><![CDATA[<p>Today I added Win32 binary releases of mstpcap (along with the other BACnet/IP tools) to the BACnet Protocol Stack project hosted on SourceForge.net.  </p>
<p>The mstpcap tool stores the packets to a file (named with the current date and time), and puts up to 65535 packets into a single file.  A new file is created when the file is full, or when mstpcap is first started.<br />
<a href="http://prdownloads.sourceforge.net/bacnet/bacnet-tools-0.5.1.zip?download" rel="nofollow">http://prdownloads.sourceforge.net/bacnet/bacnet-tools-0.5.1.zip?download</a></p>
<p>I have not tried to create an mstpsnap for Win32 with WinPcap.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wireshark and BACnet MS/TP by Controls-Man</title>
		<link>http://steve.kargs.net/bacnet/wireshark-and-bacnet-mstp/comment-page-1/#comment-14481</link>
		<dc:creator>Controls-Man</dc:creator>
		<pubDate>Thu, 18 Jun 2009 14:53:09 +0000</pubDate>
		<guid isPermaLink="false">http://steve.kargs.net/?p=139#comment-14481</guid>
		<description>From what I understand, to get WireShark 1.1.x to recieve the MS/TP data, a separate application needs to be built to packetize the data to get them on Ethernet.  It looks like you made one for Linux.  Do you have one for Windows using WinPcap or know where I could find one?

Thanks in advance!</description>
		<content:encoded><![CDATA[<p>From what I understand, to get WireShark 1.1.x to recieve the MS/TP data, a separate application needs to be built to packetize the data to get them on Ethernet.  It looks like you made one for Linux.  Do you have one for Windows using WinPcap or know where I could find one?</p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wireshark and BACnet MS/TP by skarg</title>
		<link>http://steve.kargs.net/bacnet/wireshark-and-bacnet-mstp/comment-page-1/#comment-14244</link>
		<dc:creator>skarg</dc:creator>
		<pubDate>Sat, 13 Jun 2009 20:43:37 +0000</pubDate>
		<guid isPermaLink="false">http://steve.kargs.net/?p=139#comment-14244</guid>
		<description>The 1.0.x is the stable release of Wireshark, and the Wireshark team only wants bug fixes, not new features in it.  

So the new BACnet MS/TP decoding feature is still in the 1.1.x development branch until 1.1.x becomes the stable release.
http://www.wireshark.org/download/
or specifically for Windows:
http://www.wireshark.org/download/win32/wireshark-win32-1.1.3.exe</description>
		<content:encoded><![CDATA[<p>The 1.0.x is the stable release of Wireshark, and the Wireshark team only wants bug fixes, not new features in it.  </p>
<p>So the new BACnet MS/TP decoding feature is still in the 1.1.x development branch until 1.1.x becomes the stable release.<br />
<a href="http://www.wireshark.org/download/" rel="nofollow">http://www.wireshark.org/download/</a><br />
or specifically for Windows:<br />
<a href="http://www.wireshark.org/download/win32/wireshark-win32-1.1.3.exe" rel="nofollow">http://www.wireshark.org/download/win32/wireshark-win32-1.1.3.exe</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wireshark and BACnet MS/TP by Langstein</title>
		<link>http://steve.kargs.net/bacnet/wireshark-and-bacnet-mstp/comment-page-1/#comment-13960</link>
		<dc:creator>Langstein</dc:creator>
		<pubDate>Fri, 12 Jun 2009 08:56:36 +0000</pubDate>
		<guid isPermaLink="false">http://steve.kargs.net/?p=139#comment-13960</guid>
		<description>Is a super idea mstp-way communication in wireshark. I find on the internet but so far only the version 1.0.8. In Sourceforge, however, is the speech of 1.1.0. Why is this getting?</description>
		<content:encoded><![CDATA[<p>Is a super idea mstp-way communication in wireshark. I find on the internet but so far only the version 1.0.8. In Sourceforge, however, is the speech of 1.1.0. Why is this getting?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Interrupt Safe Ring Buffer Library by Joaquim Torres</title>
		<link>http://steve.kargs.net/software/interrupt-safe-ring-buffer-library/comment-page-1/#comment-10991</link>
		<dc:creator>Joaquim Torres</dc:creator>
		<pubDate>Mon, 27 Apr 2009 16:16:05 +0000</pubDate>
		<guid isPermaLink="false">http://steve.kargs.net/?p=116#comment-10991</guid>
		<description>What happens when head reaches the max value of an int and returns to zero? I think inuse() will return a wrong value.</description>
		<content:encoded><![CDATA[<p>What happens when head reaches the max value of an int and returns to zero? I think inuse() will return a wrong value.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
