convert string to hex
-
Hi,
What exactly is your card reader expecting ?
-
Example: write to block 40: “00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F” //this is what i send but i want to send for example "hello world" or "data was written"
Successful operation:
REQUEST : HOST->READER: 02 1B 00 3E DF 78 12 A6 28 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 1C 03
ACKOWLEDGE : READER->HOST: 02 08 00 3E 00 00 34 03
RESPONSE : READER->HOST: 02 0D 00 3E FF 01 04 DF 78 01 A6 CB 03 -
when i want to read block of 40 i have to show that :
Example: read block 40 (0x28)
Successful read of “00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F”:
REQUEST : HOST->READER: 02 0B 00 3E DF 78 02 A5 28 1F 03
ACK : READER->HOST: 02 08 00 3E 00 00 34 03
RESPONSE : READER->HOST: 02 1D 00 3E FF 01 14 DF 78 11 A5 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F D8 03 //if i write hello worldworld i have to read that :
02 1D 00 3E FF 01 14 DF 78 11 A5 hello worldworld D8 03 of course D8 03 will be changed
-
Can you provide a link to the protocol you should use with that reader ?
-
This post is deleted!
-
can you send me your email adress from private message because there is no it on website, i have a pdf sorry i am late to reply because i have no reputation
-
@veysel.olgun Don't ask others for their email address!
You can upload the document to some sharing service (drop box for example) and post the link here. -
sorry for that, i will load dropbox
-
https://www.dropbox.com/s/xb5uus6j8cu8juf/HOST-READER PROTOCOL v1.8. 15.03.2016 .pdf?dl=0
page number 14-17
thank you
-
hello i solved the problem thank you all
-
What was it ?
-
it is about send to text data selected block and after take the text data selected block, actually if i show it it will be more understandable. i know it is easy to do but i was forced while converting.
(https://ddgobkiprc33d.cloudfront.net/2ff2c1a2-d1bd-4501-8519-8b81632ac359.png) i know ui is not good for now