AnsweredAssumed Answered

How To Use CR95HFlib Write And Read ?

Question asked by T Z on Mar 20, 2018

Hello, when i test the CR95HF C++ LIb on Linux machine, i meet some problems

CR95HF C++ Library for Linux User

I use TestApp to test the Lib functions

only the   

  • CR95HFlib_Read_Block()
  • CR95HFlib_Write_Block() 

return error (communicate error)

i don't know how to use 

when i use CR95HFlib_Write_Block()

please enter the Block address in hex
12

enter first byte
25

enter second byte
A6

enter third byte
7C

enter fourth byte
F0


--> Library function call : CR95HFlib_Write_Block(WriteAdd, strTagAnswer,strBytestowrite)

<-- Return from Library function : 0X4

ERROR : data write on block is failed

when i use CR95HFlib_Read_Block()

 

This option will read 4 byte data of the block entered by user


please enter the Block address in hex

12

--> Library function call : CR95HFlib_Read_Block(RegAdd, strTagAnswer)

<-- Return from Library function : 0X4

ERROR : No tag answer received

is my usage wrong?

can someone help me?Thanks!

Outcomes