Help me figure out an ASCII Protocol
Help me figure out an ASCII Protocol
Help me figure out an ASCII Protocol
Help me figure out an ASCII Protocol
Help me figure out an ASCII Protocol
Help me figure out an ASCII Protocol Help me figure out an ASCII Protocol Help me figure out an ASCII Protocol Help me figure out an ASCII Protocol Help me figure out an ASCII Protocol Help me figure out an ASCII Protocol Help me figure out an ASCII Protocol Help me figure out an ASCII Protocol
Help me figure out an ASCII Protocol Help me figure out an ASCII Protocol
Help me figure out an ASCII Protocol
Go Back  Xtreme Visual Basic Talk > > > Help me figure out an ASCII Protocol


Reply
 
Thread Tools Display Modes
  #1  
Old 07-20-2010, 07:44 AM
SteveNutt SteveNutt is offline
Freshman
 
Join Date: Jun 2005
Location: Thailand
Posts: 35
Default Help me figure out an ASCII Protocol


I am trying to work out an ASCII protocol and I have managed to parse everything I need from the transmission, but have not been able to figure out bytes 14-17 and byte 20 of the response. Here is a transmission packet in Hex...
00000012827E00303004000000000000009D0709B400034F027CF90140000201042331 323832D1084E7269302F59583030BC40308F

...and here is a valid response...
00000012827e001e3005000000004c44dcc207056e00034f1103df02210001000038c7

Byte 14 = 4c, 15 = 44, 16 = dc, 17 = c2, 20 = 6e

Can anyone work out if any of those response values may represent a checksum, length or anything else that may have been taken from or based on the transmission?

The transmission changes with every packet and I need to know how to respond correctly otherwise the next packet will not get sent.
__________________
IP Alarms - built with VB and ASP.net with a SQL Server back end.
Alarm Monitoring - built with ASP.Net web services.
Reply With Quote
  #2  
Old 07-20-2010, 06:16 PM
mkaras's Avatar
mkarasHelp me figure out an ASCII Protocol mkaras is offline
Ultimate Contributor

Retired Leader
* Expert *
 
Join Date: Mar 2004
Location: Beaverton, OR
Posts: 1,874
Default

SteveNutt:

It will be almost impossible for anyone to derive the protocol meaning from just one packet and response type data. You have not provided any details of the type of device or software that you are talking to so it is unlikely that anyone can look at that string of Hex digits and say "Oh, that is such and such wizz-gidget!"

What you really need to do is get hold of the manufacturer of the device or software and get the the description of the protocol document from them. Often device manufacturers may have this type of information available for download from the support section of their web site. They may also even offer sample code of some type or another that illustrates an implementation of the device protocol.

If you are in reverse engineering mode then - good luck. This can be a huge puzzle and challenge for you to solve.

Michael Karas
Reply With Quote
  #3  
Old 07-20-2010, 07:53 PM
SteveNutt SteveNutt is offline
Freshman
 
Join Date: Jun 2005
Location: Thailand
Posts: 35
Default

LOL - no help from the manufacturer I'm afraid.
__________________
IP Alarms - built with VB and ASP.net with a SQL Server back end.
Alarm Monitoring - built with ASP.Net web services.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Help me figure out an ASCII Protocol
Help me figure out an ASCII Protocol
Help me figure out an ASCII Protocol Help me figure out an ASCII Protocol
Help me figure out an ASCII Protocol
Help me figure out an ASCII Protocol
Help me figure out an ASCII Protocol Help me figure out an ASCII Protocol Help me figure out an ASCII Protocol Help me figure out an ASCII Protocol Help me figure out an ASCII Protocol Help me figure out an ASCII Protocol Help me figure out an ASCII Protocol
Help me figure out an ASCII Protocol
Help me figure out an ASCII Protocol
 
Help me figure out an ASCII Protocol
Help me figure out an ASCII Protocol
 
-->