94
Class Documentation
13.7.2.25
- (bool) device_enableBLEDeviceSearch: (NSUUID
∗
)
identifier
Begins searching for Bluetooth Low Energy devices in range
• NEO2
This method will UNPAIR and DISCONNECT from any current PAIRED and CONNECTED devices before
starting a new BLE Device Search. This function is for PAIRING a new Device and connecting to it. Once a
device is PAIRED/CONNECTED, the search will terminate. If a paired devices becomes disconnected (out of
range, power cycle), the BLE search will automatically start again to reconnect to the devices once available
Parameters
identifier
This will only connect to a device with this calculated UUID identifier. If nil is passed, it will
connect to the first devices with the default friendly name (
/
IDT_NEO2::device_setBLEFriendlyName)
Returns
bool If successful, polling has started
Any of the following BLE status messages may be returned to the deviceMessage delegate:
• This device does not support Bluetooth Low Energy.
• This app is not authorized to use Bluetooth Low Energy.
• Bluetooth on this device is currently powered off.
• The BLE Manager is resetting; a state update is pending.
• Bluetooth LE is turned on and ready for communication.
• The state of the BLE Manager is unknown.
Note: a Devices UUID is calculated by the iOS device using a combiniation of the iOS device UUID and the
BLE device MAC address. This value is not known until after it connects for the first time, and then every time
after that, it will be the same value. This value can be retrieved by IDT_Device::connectedBLEDevice() after
the device connects.
13.7.2.26
- (RETURN_CODE) device_getAutoPollTransactionResults: (
IDTEMVData
∗∗
)
result
Get Transaction Results Gets the transaction results when the reader is functioning in "Auto Poll" mode
Parameters
result
The transaction results
Returns
RETURN_CODE: Values can be parsed with errorCode.getErrorString(). When no data is available, return
code = RETURN_CODE_NO_DATA_AVAILABLE
13.7.2.27
- (NSString
∗
) device_getBLEFriendlyName
Get BLE Friendly Name
#80152504-001 IDTech iOS SDK Guide for NEO2