

After issuing the methods in section 3 Important Information About Bluetooth LE, the MTSCRA SDK libraries will call these Delegate methods (callback functions) to provide the requested data and / or a detailed response. For details about data received by these functions, see the Programmer's Manual (COMMANDS) for the specific device with which you are communicating.
For details about registering Delegate methods, see the demo application included with the SDK.
The SDK sends this notification when card data is available from the device.
The SDK sends this notification when the connection status of the device changes.
Return a card object type with card swipe data.
Parameter
Description
cardDataObj
MTCardData object
instance
Instance ID
Card swipe has started.
Parameter
Description
instance
Instance ID
Card swipe got an error during transmission.
Device connection changed whether from close to open or vice versa.
Parameter
Description
deviceType
MTSCRADeviceType object
connected
Boolean for connection state. True = Connected
False = Not connected
instance
Instance ID
Bluetooth LE Reader was connected.
Parameter
Description
peripheral
CBPeripheral object
Bluetooth LE Reader was disconnected.
Parameter
Description
connectionInfo
MTConnectionInfo object
Bluetooth LE Reader was discovered.
Bluetooth LE state changed. Enumerated possible values that would arrive via this delegate are:
Parameter
Description
state
MTSCRABLEState

