LPBLESetup is the app side SDK for Linkplay BLE Setup solution;you can quickly connect our device to the router.
LPBLESetup mainly provides two functions:
-
Connect the device to the router through BLE, so that the related functions of the device and the network can be used normally.
-
It encapsulates the way of communicating information with the device through BLE, so that you can easily send information to the device.
You can find documentation on the website.
-
Download LPBLESetupiOS and import SDK to your project
-
Import LPMusicKit.framework, LPBLESetupiOS is generally used with LPMusicKitiOS, the purpose is to configure the device to the router through BLE
- iOS >= 10.0
LPBLESetupiOS is available through CocoaPods. To install it, simply add the following line to your Podfile:
platform :ios, '10.0'
target 'your_target_name' do
pod "LPBLESetupiOS", :git => "https://github.com/linkplayapp/LPBLESetupiOS.git"
end
Then run the pod update
command in the root directory of project.
For use of CocoaPods, please refer to the CocoaPods Guides. It is recommended to update the CocoaPods to the latest version.
- To apply for Bluetooth permission, add NSBluetoothPeripheralUsageDescription, NSBluetoothAlwaysUsageDescription to the Info.plist file
- Import LPBLESetupKit.framework
- To apply for Bluetooth permission, add NSBluetoothPeripheralUsageDescription, NSBluetoothAlwaysUsageDescription to the Info.plist file
LinkPlay, ios_team@linkplay.com