About QuickBLE
QuickBLE is a powerful framework that enables seamless communication with Bluetooth Low Energy (BLE) devices in iOS applications. With its intuitive and easy-to-use API, QuickBLE simplifies the process of connecting to and interacting with BLE peripherals.
Features
- Effortlessly scan and discover nearby Bluetooth Low Energy (BLE) devices
- Straightforward connection establishment with BLE peripherals
- Read data from and write data to BLE characteristics in a simple manner
- Retrieve and handle BLE characteristic notifications
- Retrieve and process BLE services offered by peripherals
- Retrieve detailed information about BLE peripherals and characteristics
Installation
To integrate QuickBLE into your iOS project, you can use CocoaPods. If you haven’t already, install CocoaPods:
sudo gem install cocoapods
Next, add QuickBLE to your `Podfile`:
pod 'QuickBLE', '~> 1.0'
Finally, run the following command:
pod install
Getting Started
To get started with QuickBLE, follow these steps:
- Import the QuickBLE framework into your project.
- Add the following Bluetooth-related keys to your app’s Info.plist file:
- Privacy – Bluetooth Always Usage Description
- Privacy – Bluetooth Peripheral Usage Description
- Create an instance of `QBManager` to manage Bluetooth operations.
- Implement the `QBManagerDelegate` protocol to receive callbacks for Bluetooth events.
- Scan for nearby BLE devices using the `startScan` method of `QBManager`.
- Connect to a desired BLE peripheral using the `connect` method of `QBManager`.
- Interact with the BLE peripheral by reading, writing, or subscribing to BLE characteristics.
API Reference
QuickBLE provides a comprehensive API for seamless interaction with BLE devices in iOS applications. For detailed information about classes, methods, and properties available in QuickBLE, please refer to the official QuickBLE documentation.
Requirements
QuickBLE supports iOS 10.0 and later.
License
QuickBLE is released under the MIT license. See LICENSE for more information.
Contributing
We welcome contributions to QuickBLE! If you encounter any issues, have suggestions, or would like to contribute to the project, please open an issue or submit a pull request on the GitHub repository.