9400 .NET Programming
ReadRfidData
Purpose
To read data from the RFID tag without intercepting WM_DECODEDATA.
Syntax
int ReadRfidData (int nType,
Parameters
nType
[in] A value that defines which part of RFID data is to be read.
szReadData
[in][out] Pointer to a buffer where the data is stored.
nStartByte
[in] A value that defines the start byte or start page (for a specific tag type).
nReadLen
[in] Actual number of bytes to read. As the number of pages that allow for read
operation may vary by different tags, when you pass a value greater than
allowed, it will be automatically adjusted to the maximum value allowed on a
tag.
nTimeout
[in] The elapsing time before the write operation is stopped, in the range of
1~60 (second).
loginKey
[in] Ignore this parameter for the RFID reader is ID_MOD_TI_RFID.
36
Guide
ref string szReadData,
int nStartByte,
int nReadLen,
int nTimeout,
string loginKey);
1
READ_UID
2
READ_DATA
3
-1
Start from the default page (see below) for all tags
3
Mifare Ultralight
4
SR176
3
ICODE SLI
0
LRI512
3
SRF55VxxP
0
EM4135
0
Tag-it
0
Others
5
ICODE
Read UID only.
Read data only.
Read UID as well as data.
(ISO 14443A)
(ISO 14443B)
(ISO 15693)
(ISO 15693)
(ISO 15693)
(ISO 15693)
(ISO 15693)
(ISO 15693)
(Phillips)