Document Version 1.2
Last revised on
2017-09-26
Page 52 of 92
Reference Manual for uTrust 4701F and uTrust 4711F Readers
6.3.3.6.
READER_LED_CONTROL_BY_FW
This Escape command is used to enable/disable LED control by firmware.
Input:
The first byte of the input buffer contains the escape code. The second byte specifies if LED control by
firmware should be disabled or enabled. The output buffer is NULL.
Byte0
Byte1
Value
Description
Escape
code(0xB2)
0
Enable LED Control by firmware
1
Disable LED Control by firmware
FF
Get State:
0 -- LED control by firmware enabled
1 -- LED control by firmware disabled
Output:
No response is returned for set state. For Get State 1 byte response is received.
Output buffer
NULL or current state
6.3.3.7.
READER_RD_WR_USER_AREA
This Escape command is used to access the user data area in the reader. The user area is located in
the non-volatile memory of the reader and hence data will be retained even after power cycle.
Note:
Frequent writes should be avoided (The non-volatile memory supports only 100K writing cycles).
A maximum of 249 bytes can be read and written. The sector can be read and written only as a
whole.
If complete data (249 bytes) is not given during write operation then random data will be padded
to the given data and then written. If you want to modify only part of the data, read the entire
249 bytes, modify the data you want to change and then write it back to the reader.
Input:
The first byte of the input buffer contains the escape code. The second byte specifies if user area is to
be read or written as described below.
Byte0
Byte1
Byte2 to Byte251
Value
Description
Escape
code(0xF0)
1
Read 249 bytes of user data None
2
Write 249 bytes of user data Data to be written
Output:
Operation
Data (Byte0-BYTE248)
Read
249 bytes of user data
Write
No bytes returned