-
Notifications
You must be signed in to change notification settings - Fork 3
Commands: RFID
BPI Services Dev edited this page Jul 30, 2020
·
6 revisions
The iMatch device contains the NXP PN7120 NFC controller.
- device:
nfcmethod:power_onparams:empty - device:
nfcmethod:power_offparams:empty - device:
nfcmethod:discoverparams:empty. Response:1if a type4 tag has been detected,0if not or timeout (20s). - device:
nfcmethod:c_apduparams: base64 encodedAPDU command. Response: base64 encodedAPDU response. - device:
nfcmethod:mrtdinitparams: string with the following options, comma separated:-
mrz codestring -
bypass pacestring with1for true,0for false- always use BAC, even if the document supports PACE
-
check MACstring with1for true,0for false- verify response APDU CC by computing MAC
-
include headersstring with1for true,0for false- include the first 2 - 4 header bytes of
SOD,DG1andDG2in the response notifications
- include the first 2 - 4 header bytes of
-
APDU loggingstring with1for true,0for false- send notifications containing the APDU transactions
-
chip authenticationstring with1for true,0for false- perform chip authentication
- Response:
1if BAC succeeded,0if BAC failed or timeout (20s) orerrorstring if an error occurred.
-
- device:
nfcmethod:readparams: string with the following options:-
EFCOMreturns a base64 encoded bytearray with the raw EFCOM data. -
SODreturns a base64 encoded bytearray with the raw SOD data. -
DG1returns a base64 encoded string with the raw DG1 data. -
DG2returns a base64 encoded bytearray with the raw DG2 data.
-
- device:
nfcmethod:mrtdreadparams: string with the following options, comma separated:-
mrz codestring -
bypass pacestring with1for true,0for false- always use BAC, even if the document supports PACE
-
check MACstring with1for true,0for false- verify response APDU CC by computing MAC
-
include headersstring with1for true,0for false- include the first 2 - 4 header bytes of
SOD,DG1andDG2in the response notifications
- include the first 2 - 4 header bytes of
-
APDU loggingstring with1for true,0for false- send notifications containing the APDU transactions
-
chip authenticationstring with1for true,0for false- perform chip authentication
- Response: notifications with
BAC result,EFCOM,SOD,DG1,DG2.
-