Download MF RD700 Command Set User & Reference Manual
Transcript
Philips Semiconductors User Manual Rev. 3.0 June 2005 Command Set MF RD 700 3.1 Administration Command Set The Administration Command Set covers several Commands for reader IC administration and configuration. 3.1.1 INCLUDED FUNCTIONS Function name Function call PCDReset signed char PcdReset (void) PCDSetTmo signed char PcdSetTmo (unsigned long numberOfEtus) PCDGetSnr signed char PcdGetSnr (unsigned char *snr) PCDGetRICVersion signed char PcdGetRICVersion(unsigned char* version) PCDReadE2 signed char PcdReadE2 (unsigned short startaddr, unsigned char length, unsigned char *data) signed char PcdWriteE2 (unsigned short startaddr, unsigned char length, unsigned char *data) signed char PcdRfReset (unsigned short ms PCDWriteE2 PCDRFReset Table 3-2. Administration Commands Note: In case of an error, the appropriate error code is set. Nevertheless, all received data are returned. This feature helps to debug the errors. Even if all data seems to be received correctly (data is filled up with reasonable values), a CRC, parity or other error could be reported. 3.1.2 FUNCTION DESRIPTION 3.1.2.1 PcdGetRICVersion signed char PcdGetRICVersion (unsigned char * version) Cmd-Code: 0x64 IN OUT version (5) Parameters: snr (OUT) 5 bytes reader type ID Returns: MI_OK The reader type ID depends on the current used reader IC. Please refer to the reader ICs data sheet. 12