-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed card save from slot #403
Fixed card save from slot #403
Conversation
Also I noticed, the function mfClassicGetBlockCount has a parameter isEV1 which is currently not set. |
c6a50e1
to
207395a
Compare
When you load 1k EV1 save into Chameleon, it becomes Mifare Classic 2k, as firmware doesn't support signatures with 1k |
I've pushed fix to write-card branch with commit (cc7e2a2). As your fix will lose speed that is critical on mobile. Can you retest it on write-card branch? |
Your implementation still has the same problem. |
Are you sure there is issue on last changes in write-card branch? |
Some fixes are in next commit, so only this commit won't work |
yeah including the fixes in the next commit it works. |
my version now checks for block counts not power of 32 .. for example mifare mini with 20 blocks |
Why do you want to copy these changes into your PR? The PR should only contain changes regarding its scope... (my opinion) |
Forgot about Mifare Mini actually |
Can you move down count of blocks back to 16, not 32? |
sure. any specific reason for this? |
I don't remember, but I had problems with that, probably unstable via BLE |
Thank you for fixing this |
According to https://github.com/RfidResearchGroup/ChameleonUltra/blob/main/docs/protocol.md the command MF1_READ_EMU_BLOCK_DATA accepts 2 arguments: block_start and block_count