+ switch(cardSTATE){
+ case MFEMUL_NOFIELD:
+ case MFEMUL_HALTED:
+ case MFEMUL_IDLE:{
+ LogTrace(receivedCmd, len, 0, 0, NULL, TRUE);
+ break;
+ }
+ case MFEMUL_SELECT1:
+ TransmitFor14443b_AsTag( resp1Code, resp1CodeLen );
+ LogTrace(response1, sizeof(response1), 0, 0, NULL, FALSE);
+ cardSTATE = MFEMUL_WORK;
+ break;
+ case MFEMUL_SELECT2:
+ TransmitFor14443b_AsTag( resp2Code, resp2CodeLen );
+ LogTrace(response2, sizeof(response2), 0, 0, NULL, FALSE);
+ cardSTATE = MFEMUL_HALTED;
+ break;
+ case MFEMUL_WORK:
+ break;
+ }
+