9400 .NET Programming
WriteRfidData
Purpose
To write data to the RFID tag upon pressing the trigger.
Syntax
int WriteRfidData (string szWriteData,
Parameters
szWriteData
[in] A string variable that stores the data.
nStartByte
[in] A value that defines the start byte or start page (for a specific tag type).
nWriteLen
[in] Maximum number of bytes to write. As the number of pages that allow for
write 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.
nWritten
[in][out] Pointer to a buffer where the actual number of bytes (of data written
to tag) is stored.
nTimeout
[in] The elapsing time before the write operation is stopped, in the range of
1~60 (second).
nMode
[in] A value that defines the operation mode.
38
Guide
int nStartByte,
int nWriteLen,
int nWritten,
int nTimeout,
int nMode,
string loginKey);
-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
The time each triggering takes must be counted in TimeOut.
0
Start to write immediately.
Non-zero
Press the trigger to start the write operation.
(ISO 14443A)
(ISO 14443B)
(ISO 15693)
(ISO 15693)
(ISO 15693)
(ISO 15693)
(ISO 15693)
(ISO 15693)
(Phillips)