Latest 5.2.1
License Apache License, Version 2.0.
Platforms ios 8.0, osx 10.10, watchos 4.0, tvos 11.0, requires ARC
Dependencies RxSwift
Frameworks CoreBluetooth
Authors , , , ,

RxBluetoothKit Swift

CI Status
Carthage Compatible

RxBluetoothKit is a Bluetooth library that makes interaction with BLE devices much more pleasant. It’s backed by RxSwift and CoreBluetooth and it provides nice API, for both Central and Peripheral modes. All to work with and make your code more readable, reliable and easier to maintain.

Here is a sneak peek of what you can do with RxBluetoothKit:

manager.scanForPeripherals(withServices: [serviceId])
    .flatMap { $0.peripheral.establishConnection() }
    .flatMap { $0.discoverServices([serviceId]) }
    .flatMap { Observable.from($0) }
    .flatMap { $0.discoverCharacteristics([characteristicId]) }
    .flatMap { Observable.from($0) }
    .flatMap { $0.readValue() }
    .subscribe(onNext: { print("Value: ($0.value)") })

With just 9 lines it started scanning, connecting to the peripheral, discovering service and characteristics and read charecteristic’s value!

Central mode features

Peripheral mode features

  • Observing manager states
  • Advertising
  • Observing read & writes
  • Observing subscribe
  • Publishing L2CAP channels
  • And a lot more!

Recent Changes


  • Updated RxSwift to version 5.0 (#335)

All previous changes

Want to migrate from 4.x to 5.x? Check guidelines here.



CocoaPods is a dependency manager for CocoaProjects.
To integrate RxBluetoothKit into your Xcode project using CocoaPods specify it in your Podfile:

pod 'RxBluetoothKit'

Then, run the following command:
$ pod install


Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
To integrate RxBluetoothKit into your Xcode project using Carthage specify it in your Cartfile:

github "Polidea/RxBluetoothKit"

Then, run carthage update to build framework and drag RxBluetoothKit.framework into your Xcode project.

Swift Package Manager

Versions >= 4.0 of the library integrate with the Swift Package Manager. In order to do that please specify our project as one of your dependencies in Package.swift file.

Getting Started

Check our Wiki with guidelines to (almost) all library functionalites.

Documentation & Support

Remember to follow Polidea’s Blog blog to get all the news and updates!


  • iOS 8.0+
  • OSX 10.10+
  • watchOS 4.0+
  • tvOS 11.0+
  • Xcode 7.3+

Swift versions

  • 3.0 version supports Swift 3.0 and 3.1
  • 5.0 version supports Swift 3.2 and 4.0
  • 5.1.2 version supports Swift 4.1
  • 5.2 version supports Swift 5.0 and 4.2

Latest podspec

    "name": "RxBluetoothKit",
    "version": "5.2.1",
    "summary": "Bluetooth library for RxSwift",
    "description": "RxBluetoothKit is lightweight and easy to use Rx support for CoreBluetooth.",
    "homepage": "",
    "license": "Apache License, Version 2.0.",
    "authors": {
        "Przemysu0142aw Lenart": "[email protected]",
        "Kacper Harasim": "[email protected]",
        "Michau0142 Laskowski": "[email protected]",
        "Paweu0142 Janeczek": "[email protected]",
        "Bartosz Stelmaszuk": "[email protected]"
    "source": {
        "git": "",
        "tag": "5.2.1"
    "social_media_url": "",
    "platforms": {
        "ios": "8.0",
        "osx": "10.10",
        "watchos": "4.0",
        "tvos": "11.0"
    "swift_versions": "5.0",
    "requires_arc": true,
    "source_files": "Source/*.swift",
    "osx": {
        "exclude_files": [
    "frameworks": "CoreBluetooth",
    "dependencies": {
        "RxSwift": [
            "~> 5.0"
    "swift_version": "5.0"

Pin It on Pinterest

Share This