tatus!=0) { status=PcdRequest(RevBuffer[1],&RevBuffer[2]); if(status!=0) { RevBuffer[0]=1; RevBuffer[1]=status; break; } } RevBuffer[0]=3; RevBuffer[1]=status; break; case3://防冲突读卡的系列号MLastSelectedSnr status=PcdAnticoll(&RevBuffer[2]); if(status!=0) { RevBuffer[0]=1; RevBuffer[1]=status; break; } //memcpy(MLastSelectedSnr,&RevBuffer[2],4); RevBuffer[0]=5; RevBuffer[1]=status; break; case4: //选择卡SelectCard //status=PcdSelect(MLastSelectedSnr); if(status!=MI_OK) { RevBuffer[0]=1; RevBuffer[1]=status; break; } RevBuffer[0]=3; RevBuffer[1]=status; break; case5:?//KeyloadingintotheMFRC500'sEEPROM//status=PcdAuthState(RevBuffer[1],RevBuffer[3],DefaultKey,MLastSelectedSnr);//校验卡密码 RevBuffer[0]=1; RevBuffer[1]=status; break; case6: RevBuffer[0]=1; RevBuffer[1]=status; break; case7: RevBuffer[0]=1;