Writing to RFID tags
807603Oct 28 2004 — edited Jan 29 2008I am working on an RFID project. I have been able to read from the tags successfully using javax.comm API, but writing has become an issue.
All the communication part with the RFID reader has to be done in binary format.
The RFID readers protocol specifies that if I want to get the version of the Reader, then the request has to be sent like this..
Request: 0x02 0x00 0x01 0x00
and the response will be
Response: 0x02 0x00 0x01 0xnn 0xXX 0xYY 0xZZ 0xvv 0x0D 0x0A (name of
reader) 0x0D 0x0A (Version string) 0x0D 0x0A
I am sure sure how I can implement this...what type of outputStream would be the best choice.
Should I write the command individually in byte or send a byteArray.
Please Suggest.
Thanks in advance...