iceman1001 / ChameleonMini-rebootedGUI

Windows based GUI for Chameleon Mini, the contactless smartcard emulator (NFC/RFID)
GNU General Public License v3.0
293 stars 72 forks source link

Increase Performance of SendCommand #64

Closed Vrumfondel closed 5 years ago

Vrumfondel commented 5 years ago

Current implementation with waiting static 100ms for a response from Chameleon is slowing down especially the startup of the tool. Proposal: After sending Command, wait for response until timeout occurs.

iceman1001 commented 5 years ago

100ms is slowing down? 1/10 of a second... hm.. you must be in a hurry

Vrumfondel commented 5 years ago

Well, during startup I counted 128 calls to SendCommand, that's allready 12.8 seconds. That's what I would call "long" for a program to silently startup ....

The difference is really noticable ...

iceman1001 commented 5 years ago

128 calls to SendCommand, now that will do a difference. Make PR and I'll merge it