Skip to content

linkplayapp/LPBLESetupiOS

Repository files navigation

LPBLESetupiOS

English | 中文

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.

Documentation

You can find documentation on the website.

How To Get Started

SDK Demo

1. SDK demo with CocoaPods

2. SDK demo

Requirements

  • iOS >= 10.0

Installation

1. Installationwith CocoaPods

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

2. Manually configure your project

Step 1: Download LPBLESetupiOS

Step 2: Import Framework

  • Import LPBLESetupKit.framework

Step 3: Info.plist

  • To apply for Bluetooth permission, add NSBluetoothPeripheralUsageDescription, NSBluetoothAlwaysUsageDescription to the Info.plist file

Author

LinkPlay, ios_team@linkplay.com