iOS library for connecting with and sending data to another device via Bluetooth LE.
- Simplified, abstracted API to CoreBluetooth
BTLEPeripheral
- data providerBTLECentral
- consumer of data provided by peripheral- Send & Receive Data
BTLEDataSender
BTLEReceiver
- Can send either a packet (<= 20 bytes) or package of data
- Packaged data is parceled into 20 byte chunks
- Queued up & sent in order to receiver via GCD
- Provides progress updates to delegates (both sender & receiver)
- Ideal for adding BTLE support to your apps
- Easily turn any device that provides BTLE into a peripheral or central
- Note that this is not yet a full-featured BTLE library:
- The initial release focuses on seamless pairing & data transfer between devices
- Future additions will provide generalized support for:
- Services
- Read / write characteristics
- etc.
- Clone repo (or download archive file)
- Drag & drop
BTLELib.xcodeproj
into your workspace - Follow Apple's documentation on how to use static libraries in iOS
The library uses ARC. It has been developed using Xcode 5 & tested against iOS 7.x.
The Xcode project includes a Documentation
target which can be used to generate documentation for the API.
It requires the use of appledoc.
Once you've built the documentation it will be available through Xcode's Documentation window.
- The
BTLELibExample
sends a bit over 10K of data to a receiver - Requires two devices running the example app
- One serves as sender, the other as receiver; user selectable
- Provides progress updates to UI via progress bar on both the sending & receiving devices