32
st= fw_anticall_ultralt (icdev, &nCard);
int fw_select_ultralt (int icdev, unsigned long _Snr);
Description
Select certain Card from several Ultralight cards.
Parameters
icdev: Value of Device Handle.
_ Snr: Card serial number.
Return Value
0 if successful; otherwise, Nonzero.
Example
int st;
st= fw_select_ultralt (icdev, nCard);
int fw_read_ultralt (int icdev, unsigned char iPage, unsigned char *redata);
Description
Read data from Ultralight card.
Parameters
icdev: Value of Device Handle.
iPage: Index number of page
redata: received Data
Return Value
0 if successful; otherwise, Nonzero.
Example
//read data of page 4
int st;
unsigned char ipage=4;
unsigned char rebuffer [8] = {0};
st= fw_read_ultralt (icdev,ipage,rebuffer);
int fw_write_ultralt(int icdev,unsigned char iPage,unsigned char *sdata);
Description
Write data to Ultralight card.
Parameters
icdev: Value of Device Handle.
iPage:Index number of page
sdata: Data for writing
Return Value
0 if successful; otherwise, Nonzero.
Example
//write data to page 4
int st;
unsigned char ipage=4;
unsigned char sendbuffer[8]={0x44,0x44,0x44,0x44};
st= fw_write_ultralt(icdev,ipage,sendbuffer);
Содержание E7
Страница 3: ...3 4 Appendix 68 4 1 Table 1 Mifare Plus card personalized structure 68 ...
Страница 5: ...5 ...