Allocate/Initialize Idt_Neo2 Object; Sample Project Tutorial - IDTECH NEO2 Manual

Apple ios sdk guide
Hide thumbs Also See for NEO2:
Table of Contents

Advertisement

7.7 Allocate/Initialize IDT_NEO2 Object

func lcdDisplay(mode: Int32, lines: [AnyObject]!)
func pinpadData(_ value: Data, keySN KSN: Data, event: EVENT_PINPAD_Types)
func emvTransactionData(emvData: IDTEMVData!, errorCode error: Int32)
7.7 Allocate/Initialize IDT_NEO2 Object
A Singleton instance has been established in the
would be to initialize the connection by setting the delegate with the singleton instance.
override
func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
IDT_NEO2.sharedController().delegate
}

7.8 Sample Project Tutorial

Using Xcode 7.3.1, we will create a sample project that will interface with the NEO2 and will perform the following
activities:
• Auto-Connect and display connection status
• Get Device Firmware
• Start/Stop Transaction Request for CTLS/MSR (tap/swipe)
• Start/Complete/Cancel EMV Transaction
• Show LCD Display for EMV transaction
• Automatically select first AID or first Language if prompted
Protocol Delegates:
• Delegate to receive card swipes
• Delegate to detect headphone plug changes
• Delegate to detect device connected
• Delegate to detect device disconnected
• Delegate to receive EMV/CTLS tag data
IDTech iOS SDK Guide for NEO2 #80152802-001
IDT_NEO2
class. To utilize the delegate protocols, best practices
=
self
45

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NEO2 and is the answer not in the manual?

Table of Contents

Save PDF