Click here to Skip to main content
15,892,809 members
Articles / Desktop Programming / MFC

A Great Protocol Analyser

Rate me:
Please Sign up or sign in to vote.
3.39/5 (12 votes)
16 Aug 2007CPOL2 min read 39.8K   2.9K   32  
A programmable, easy-to-use protocol decoder for parsing and displaying binary package
LOG BEGIN :  07-08-17 09:42:38

                                                   
 -Msg: Len=13  0.000s
       FA 00 3F 85 30 00 0B 01 FF 0B  01 36 00 01 10 21               ..?.0......6...!
 +------------+-----------------------------------------------------------+-----------------------------------------+
 |BITMASK     | Name                     Description                      |Comment or Value                         |
 +------------+-----------------------------------------------------------+-----------------------------------------+
  0             msg                                                        
  0  ***B1*** |   Header                 msg header                       |H' FA                                    |
  1  ***B2*** |   Length                                                  |63                                       |
  3  ***B1*** |   seqNo                  sequence number                  |H' 85                                    |
  4  ***B2*** |   MsgId                                                   |Play Annoument Request                   |
  6  ***B1*** |   Status                                                  |H' 0B                                    |
  7  ***B1*** |   Reserved                                                |H' 01                                    |
  8  ***B2*** |   PortLogicId            message unique identifier        |H' FF0B                                  |
  10              content                                                  
  10 ***B2*** |     Data                                                  |310                                      |
  12 ***B1*** |   Tail                   msg tail                         |H' 00                                    |

 $notice: leave 3 bytes not translated


LOG END   :  07-08-17 09:42:38

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
China China
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions