Mifare Classic Value operations

Added increment value, decrement value via the supplied commands and set value via the normal write command.  Also added "get" to read a value block and decode/display.
This commit is contained in:
mwalker33 2022-06-05 16:58:53 +10:00
commit f5170f1d18
7 changed files with 317 additions and 11 deletions

View file

@ -1470,6 +1470,10 @@ static void PacketReceived(PacketCommandNG *packet) {
MifareWriteBlock(packet->oldarg[0], packet->oldarg[1], packet->data.asBytes);
break;
}
case CMD_HF_MIFARE_VALUE: {
MifareValue(packet->oldarg[0], packet->oldarg[1], packet->data.asBytes);
break;
}
case CMD_HF_MIFAREU_WRITEBL: {
MifareUWriteBlock(packet->oldarg[0], packet->oldarg[1], packet->data.asBytes);
break;