SCR331-DI Product Technical Manual
bytes, the second byte will be set to 0xFF and on success of the command, the first byte of output
buffer contains the current state.
Following table gives the value of second byte of input buffer as interpreted by firmware
S.No. PUPI
Value
Remarks
1
Disable PUPI
0x00
Disable PUPI bytes in ATR
2
Enable PUPI
0x01
Enable PUPI bytes in ATR
3 GET_PUPI_STATE 0xFF Get
Current state PUPI enabled/disabled
Following table gives the value of PUPI bytes state returned for GET_PUPI_STATE
S.No. PUPI
Value
Remarks
1 Disabled
0x00 PUPI
bytes
currently disabled in ATR
2
Enabled
0x01
PUPI bytes currently enabled in ATR
5.13
READER_SWITCH_RF_ON_OFF
This escape message ID can be used to retrieve/switch the condition of RF state (ON/OFF) when
CONTACT card is inserted. The first byte of the input buffer shall contain the escape function value. If
the application needs to switch ON or OFF the field, the second byte contains the value for switching
ON/OFF. If the application needs to get the current state of the “RF field when the CONTACT card is
present”, the second byte in the command should contain 0xFF.The first byte of output buffer will
contain the current state.
Following table gives the value of second byte of input buffer as interpreted by firmware
S.No.
Field state
Value
Remarks
1
OFF
0x00
Switch RF Field off in presence of CONTACT
card
2
ON
0x01
Switch RF- Field on in presence of
CONTACT card
3
GET_STATE
0xFF
Get Current Field state in presence of
CONTACT card
6.0 Appendix
A
6.1 Status Words Table
SW1
SW2
Description
0x90 00
NO ERROR
0x67 00 LENGTH
INCORRECT
0x6D
00
INVALID INSTRUCTION BYTE
0x6E 00
CLASS
NOT
SUPPORTED
0x6F 00 UNKNOWN
COMMAND
0x63 00 AUTHENTICATION
ERROR
0x65 0x81 STATUS_COMMAND_FAILED
0x65 0x91 STATUS_SECUIRTY_STATUS_NOT_MET
IND.SCR331-DI.MANUAL.VER.1.8
VER1.8
Page 31 of 36