em4x70: Add write pin convenience function to write and verify a new pin

This commit is contained in:
Christian Molson 2020-12-15 11:22:43 -05:00
commit dc35f79bd2
7 changed files with 118 additions and 10 deletions

View file

@ -1182,6 +1182,10 @@ static void PacketReceived(PacketCommandNG *packet) {
em4x70_auth((em4x70_data_t *)packet->data.asBytes);
break;
}
case CMD_LF_EM4X70_WRITEPIN: {
em4x70_write_pin((em4x70_data_t *)packet->data.asBytes);
break;
}
#endif
#ifdef WITH_ISO15693