merbanan / rfid_app

Linux version for China 125kHz rfid reader/writer (RFID_APP_EN)
144 stars 27 forks source link

Speed up read times? #9

Closed scottlee closed 5 years ago

scottlee commented 5 years ago

Is it possible to speed up the read times? I'm looking to run the rfid_app in a loop via Bash and I've noticed that there's quite a bit of delay while trying to read a card.

Thanks for this app, btw! It's the only way I've been able to successfully use my RFID reader.

merbanan commented 5 years ago

Hi, change sleep(1) to something lower usleep(500) or something else.

https://github.com/merbanan/rfid_app/blob/master/rfid_app.c#L120

scottlee commented 5 years ago

Very cool. Thanks again, @merbanan.

merbanan commented 5 years ago

For some good karma report back what values are fine for you.