mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-25 03:29:58 -07:00
Move FeliCa IDm/PMm display to the new NFC-F info screen
The goal is to gradually split out NfcWorkerEventReadFelica into more specific decoders, and have the generic NFC-F info screen display info for tags that don't have a specific decoder, similar to how NFC-A works currently.
This commit is contained in:
@@ -8,13 +8,15 @@
|
||||
#define TAG "FeliCa"
|
||||
|
||||
bool felica_check_ic_type(uint8_t* PMm) {
|
||||
uint8_t ic_type = PMm[0];
|
||||
uint8_t rom_type = PMm[1];
|
||||
uint8_t rom_type = PMm[0];
|
||||
uint8_t ic_type = PMm[1];
|
||||
|
||||
bool is_valid_ic = false;
|
||||
if(ic_type == 0xff) { // RC-S967 in nfc-dep
|
||||
is_valid_ic = true;
|
||||
} else if(ic_type == 0xf0 || ic_type == 0xf2) { // Lite(S)
|
||||
} else if(ic_type == 0xf2) { // RC-S732?
|
||||
is_valid_ic = true;
|
||||
} else if(ic_type == 0xf0 || ic_type == 0xf1) { // Lite(S)
|
||||
is_valid_ic = true;
|
||||
} else if(ic_type == 0xe1) { // RC-S967 in plug mode
|
||||
is_valid_ic = true;
|
||||
|
||||
Reference in New Issue
Block a user