13.11 IDTechEMV Class Reference
Returns
Instance of
IDTechEMV
13.11.2.22 - (void) startEMVTransaction: (float) amount timeout:(int) timeout transactionType:(int) type
additionalTags:(NSMutableDictionary ) tags
Start EMV Transaction Request
Authorizes the EMV transaction amounts for an ICC card
The tags will be returned in the emvTransactionData delegate protocol.
Parameters
amount
Transaction amount value (tag value 9F02)
timeout
Timeout value in seconds.
type
Transaction Type.
tags
Any other optional tags to be included in the request. Passed as a mutable dictionary.
Converting TLV to NSMutableDictionary
EMV data is received in TLV (Tag, Length, value) format:
A339F26080C552B9364D55CE5
This data contains the following EMV tags/values:
An example how to create an NSMutableDictionary with these values follows.
-(NSMutableDictionary * ) createTLVDict{
NSMutableDictionary * emvTags = [[NSMutableDictionary alloc] initWithCapacity:0];
[emvTags
setObject:@"0000008000"
[emvTags
setObject:@"E800"
[emvTags
setObject:@"01"
[emvTags
setObject:@"5A33"
[emvTags
setObject:@"0C552B9364D55CE5"
return
emvTags;
}
13.11.3 Property Documentation
13.11.3.1 - (id
IDTechEMV_Delegate
• Reference to IDTechEMV_Delegate.
The documentation for this class was generated from the following file:
IDTech iOS SDK Guide for NEO2 #80152802-001
Tag
Length
95
05
9B
02
9F27
01
8A
02
9F26
08
forKey:@"95"];
forKey:@"9B"];
forKey:@"9F27"];
forKey:@"8A"];
forKey:@"9F26"];
) delegate
950500000080009B02E8009F2701018A025
Value
0000008000
E800
01
5A33
0C552B9364D55CE5
,
,
[read]
[write]
[atomic]
,
[strong]
129
Need help?
Do you have a question about the NEO2 and is the answer not in the manual?