Added MS/TP crc calculating demo application to use when writing articles that include example MS/TP code.

This commit is contained in:
skarg
2012-02-07 23:54:15 +00:00
parent 6c5fe45769
commit 9226159c5d
5 changed files with 409 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
BACnet MS/TP CRC Calculator
This tool receives MS/TP bytes and generates a CRC for those bytes
mstpcrc [options] <00 00 00 00...>
perform MS/TP CRC on data bytes.
options:
[-x] interprete the arguments as ascii hex (default)
[-d] interprete the argument as ascii decimal
[-8] calculate the MS/TP 8-bit Header CRC (default)
[-16] calculate the MS/TP 16-bit Data CRC
Here is a sample of the tool running (use CTRL-C to quit):
D:\code\bacnet-stack\demo\mstpcrc>mstpcrc 06 ff 01 00 15
0x06
0xFF
0x01
0x00
0x15
0x8E Header CRC