ADD: 'hf felica reader' - added pm3 as FeliCa reader

ADD:  raw commands -  added the basis for sending RAW commands to FeliCa.
CHG: CRC16 rework,  uses table based implementation.  This will change more functions as I go on.
This commit is contained in:
iceman1001 2018-01-29 13:42:02 +01:00
commit c04ac4f9ac
13 changed files with 682 additions and 454 deletions

View file

@ -779,14 +779,17 @@ void UsbPacketReceived(uint8_t *packet, int len) {
#endif
#ifdef WITH_FELICA
case CMD_FELICA_COMMAND:
felica_sendraw(c);
break;
case CMD_FELICA_LITE_SIM:
HfSimLite(c->arg[0]);
felica_sim_lite(c->arg[0]);
break;
case CMD_FELICA_SNOOP:
HfSnoopISO18(c->arg[0], c->arg[1]);
felica_sniff(c->arg[0], c->arg[1]);
break;
case CMD_FELICA_LITE_DUMP:
HfDumpFelicaLiteS();
felica_dump_lite_s();
break;
#endif