This function allows adding Configuration Data for each Reader Combination {AID - Kernel ID} to be supported by the Payment Terminal:
tOLAError ola_contactless_add_aid_supported( const uint8_t *aid, uint8_t aidLength, int partial, uint8_t kernelId, const uint8_t *tlv, uint16_t tlvLength );
Parameters
Name | in/out | Description |
---|---|---|
aid | in | Application Identifier (AID) |
aidLength | in | Length of AID (5 to 16) |
partial | in | Partial AID match allowed (Combination versus ADF Entry) |
kernelId | in | Kernel Identifier of Contactless Application |
tlv | in | Kernel Configuration Data (in BER-TLV Format) |
tlvLength | in | Length of Kernel Configuration Data |
Return Values
Name | Value | Description |
---|---|---|
OLA_OK | 0 | Operation Successful |
OLA_MAX_REACHED | 3 | Maximum Number of Combination has been reached |
OLA_CONDITIONS_NOT_SATISFIED | 7 | Kernel ID is not supported |
OLA_MISSING_DATA | 14 | Error occurred during TLV Parsing |
OLA_PARAM_ERROR | 16 | Invalid Parameter |
Kernel Configuration Data
KernelId | Name | Link |
---|---|---|
02h | C-2/Mastercard | |
03h | C-3/Visa | |
04h | C-4/Amex | |
05h | C-5/JCB | |
06h | C-6/DPAS | |
07h | C-7/UPI | |
42h | EFTPOS |