kr403 sdk java sendAndWaitForResponse

Hello,

 

usb.sendAndWaitForResponse("~HQES".getBytes(), 1000, 1000,null);

 

When I run this command line, sometimes answer is empty or length is double (message is double but right).

 

Do you know why ? do I need reset buffer before run ?

 

thanks

 

Didier