forked from MiczFlor/RPi-Jukebox-RFID
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix: re-enable Mifare Ultralight C support (MiczFlor#2214)
* Bugfix: reenable Mifare Ultralight C support Make use of read_id function from pirc552 package to reenable Mifare Ultralight C support. ATTENTION: Previously a non-standard representation of NFC card uid was returned by the Mfrc522Reader class. With this change a standard representation of the NFCs uid is return which breaks all currently stored links between cards and actions. * Add legacy mode option Add a legacy mode similar to 'future3' implementation. Use the legacy mode to allow correction of card uid read with Mfrc522 while keeping the class backward compatibil, cf. 'future3' handling. * Add error handling for missing `Mode_Legacy` file. * Change legacy mode to UID option for rc522 Modified general legacy mode to a specific option of the rc522 reader that allows to change between the read of the usual UID and the read of the previous custom implementation of card ID. * Changed error handling of non-existing `Rfidreader_Rc522_Readmode_UID` file. * Allow rc522 readmode UID setting during setup Extend rc522 setup script to question user for the usage of UID mode rather than the old custom card ID. * Bugfix: restart rfid service properly during setup of rc522. * add installation test parameter --------- Co-authored-by: Alvin Schiller <[email protected]>
- Loading branch information
1 parent
9bb656b
commit 01734de
Showing
4 changed files
with
44 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters