34
0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f};
unsigned char pnewkey[17] = {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,
0x18,0x19,0x1a,0x1b, 0x1c,0x1d,0x1e,0x1f};
st= fw_ultralt_C_authen (icdev, poldkey,pnewkey);
int
fw_ultralt_C_setSafePage(int icdev, int ipage, BOOL readSec);
Description:
Set secure page
Parameters:
icdev:handle of the device
ipage:the old password(16 bytes)
readSec:read permission,if need to verify password before reading, 1,need;
0,no need
Return:
0 if successful; otherwise, Nonzero.
Example:int st;
st= fw_ultralt_C_authen (icdev, 8, 0);//set page 8 as secure page,do not 设
need to verify password when reading
int
fw_ultralt_C_lockPage(int icdev, int flag);
Description:
Lock page,once locked,can
’
t rewrite
Parameters:
icdev:handle of the device
flag:the page
’
s sign,
3~15 coreespond 3~15
41~43 coreespond 41~43
PAGE16_19 (value is 16):coreesponding page 16~19
PAGE20_23 (value is 20):coreesponding page 20~23
PAGE24_27 (value is 24):coreesponding page 24~27
PAGE28_31 (value is 28):coreesponding page 28~31
PAGE32_35 (value is 32):coreesponding page 32~35
PAGE36_39 (value is 36):coreesponding page 36~39
PAGE44_47 (value is 44):coreesponding page 44~47
Return:
0 if successful; otherwise, Nonzero.
Example:int st;
st= fw_ultralt_C_lockPage (icdev, 4);//Lock page 4
2.8 Mifare Pro card specific function
Int fw_reset_mifarepro(int icdev,unsigned char *rlen, unsigned char *rbuff);
Description
Reset
Mifare Pro Card.
Parameters
Содержание E7
Страница 3: ...3 4 Appendix 68 4 1 Table 1 Mifare Plus card personalized structure 68 ...
Страница 5: ...5 ...