Skip to content
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

How do I update the key of the buffer #21

Open
chcmq opened this issue May 24, 2023 · 1 comment
Open

How do I update the key of the buffer #21

chcmq opened this issue May 24, 2023 · 1 comment

Comments

@chcmq
Copy link

chcmq commented May 24, 2023

// Use the manufacturer default key...
uint8_t FFkey[6] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};

  mfrc630_cmd_load_key(FFkey);  // load into the key buffer

FFkey I need to validate the first key before I update it, but I keep calling mfrc630_cmd_load_key(FFkey); This function will fail to verify success, please tell me how to correctly repeat call it

@iwanders
Copy link
Owner

I'm not sure I understand, the mrfc630_cmd_load_key function is pretty boring, it just writes the key to the fifo and then sends a command, if you need to send another key you just do that again?

You could also modify the example function to accept another key if you need something else than the 0xFF default key?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants