Overview
This section describes step-by-step instructions for setting up new XCode project to work with Zebra Bluetooth RFID iOS SDK.
Creating Xcode Project
Create new "iOS Application" project in Xcode IDE.
Copy symbolrfid-sdk folder with static library and headers from Zebra Bluetooth RFID iOS SDK installation directory to the root folder of your XCode project (note: symbolic link could also be used instead of copying)
Configure your XCode project to support the "com.symbol.rfd8X00_easytext" external accessory communication protocol through including the UISupportedExternalAccessoryProtocols key in your app’s Info.plist file or via [Info] tab of your project settings
If your application is supposed to be able to communicate with BT RFID readers in a background mode configure your XCode project to declare the background modes your app supports through including the UIBackgroundModes key in your app’s Info.plist file or via [Info] tab of your project settings
Configure your application to be linked with following default iOS frameworks that are required for utilization of Zebra Bluetooth RFID iOS SDK via [Link Binary With Libraries] section of [Build Phases] tab of your project settings:
- ExternalAccessory.framework
- CoreBluetooth.framework
Configure your XCode project to make Zebra Bluetooth RFID iOS SDK headers available through "$(SRCROOT)/symbolrfid-sdk/include/" value of [User Header Search Paths] option in [Search Paths] section of [Build Settings] tab of your project settings
Configure your application to be linked with Zebra Bluetooth RFID iOS SDK static library through [Link Binary With Libraries] section of [Build Phases] tab of your project settings
Setting up the Pair by Scan
Overview
Pair by Scan will provide a faster way to connect to the MFI scanner. This solution provide pair with MFI scanner inside the sample app, by using camera view in the iPhone inbuilt camera scan the device barcode image and get the serial number and try to connect with that device.
Steps
Before follow bellow steps first unpair RFD8500 device (the device you want to pair) from Bluetooth settings.
Step 1 Open the 123RFID mobile app and go to “Reader list page” and click pair by scan icon which is in navigation bar right corner. Then camera view will be appeared as below.
Step 2 After opening the camera view scan the device barcode. Before doing this, the RFD8500 Bluetooth indicator led should blink. Otherwise, device does not appear in picker list.
Step 3 Click the device which you want to pair and press the RFD8500 trigger to pair when the Bluetooth LED is start flashing fast. You will get a beep sound once it paired successfully.