How to separate/eliminate CRC, MSB and LSB from response

Hi all

If I send the following command to RFID reader through TCP/IP.

byte[] buf = { 0x01, 0x04, 0x06, 0x22, (byte)0xA0, 0x69, 0x72 };

It returns the response packet as a byte stream including CRC, MSB and LSB . Besically i am not able to interpret the response packet so that I can separate/eliminate CRC, MSB and LSB and print this response in Hex. If anybody has any idea, or example please let me know.

Thanx

kvijai

[457 byte] By [kvijaia] at [2007-11-26 19:23:17]
# 1
I think you need to read the documentation of the RFID response and the Java tutorial.
sabre150a at 2007-7-9 21:44:43 > top of Java-index,Archived Forums,Socket Programming...
# 2
Thanx for your replyI have gone through the RFID documentation but my problem is that I did not get any java tutorial which deals with this kind of scenario. Could you please suggest me any related tutorials which deals about CRC, MSB and LSB?Thanx kvijai
kvijaia at 2007-7-9 21:44:43 > top of Java-index,Archived Forums,Socket Programming...
# 3
The CRC, MSB, and LSB of your RFID messages are part of the RFID specification, not part of Java. Why should there be a Java tutorial about them?Use the methods of DataInputStream to read and remove them from the stream, and then to get hold of the data you are interested in.
ejpa at 2007-7-9 21:44:43 > top of Java-index,Archived Forums,Socket Programming...