Remove support for 2k MIFARE tags, as it will be better to add this together with other variants of MIFARE Plus in the future

This commit is contained in:
Piotr Rzeszut 2024-12-02 22:43:05 +01:00
commit 416770c170

View file

@ -61,9 +61,9 @@ arguments = [[
9 = Mifare 4k S70 10-byte | 23 = NTAG I2C 2K PLUS
*** 10 = UL - NOT WORKING FULLY | 24 = NTAG 213F
*** 11 = UL-C - NOT WORKING FULLY | 25 = NTAG 216F
12 = UL EV1 48b | 26 = Mifare 2k S50 4-byte
13 = UL EV1 128b | 27 = Mifare 2k S50 7-byte
*** 14 = UL Plus - NOT WORKING YET | 28 = Mifare 2k S50 10-byte
12 = UL EV1 48b |
13 = UL EV1 128b |
*** 14 = UL Plus - NOT WORKING YET |
-p NTAG password (8 hexsymbols), set NTAG password on tag.
-a NTAG pack ( 4 hexsymbols), set NTAG pack on tag.
@ -717,30 +717,6 @@ local function set_type(tagtype)
lib14a.disconnect()
write_uid('04112233445566778899')
write_maxRWblk('3F')
-- Setting Mifare 2k S50 4-byte
elseif tagtype == 26 then
print('Setting: Ultimate Magic card to Mifare 2k S50 4-byte')
connect()
send("CF".._key.."F000000000000002000978009102DABC19101011121314151604000800")
lib14a.disconnect()
write_uid('04112233')
write_maxRWblk('7F')
-- Setting Mifare 2k S50 7-byte
elseif tagtype == 27 then
print('Setting: Ultimate Magic card to Mifare 2k S50 7-byte')
connect()
send("CF".._key.."F000010000000002000978009102DABC19101011121314151644000800")
lib14a.disconnect()
write_uid('04112233445566')
write_maxRWblk('7F')
-- Setting Mifare 2k S50 10-byte
elseif tagtype == 28 then
print('Setting: Ultimate Magic card to Mifare 2k S50 10-byte')
connect()
send("CF".._key.."F000020000000002000978009102DABC19101011121314151684000800")
lib14a.disconnect()
write_uid('04112233445566778899')
write_maxRWblk('7F')
-- Setting Mifare 4k S70 4-byte
elseif tagtype == 7 then
print('Setting: Ultimate Magic card to Mifare 4k S70 4-byte')