RFDuino 0.2.1

RFDuino 0.2.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Feb 2016
SPMSupports SPM

Maintained by Jordy van Kuijk.



RFDuino 0.2.1

  • By
  • Jordy van Kuijk

RFDuino

A Pod that let’s you easily connect to and communicate with RFDuino and other Bluetooth Smart devices.

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

The RFDuino or any other device that you want this library to work with must support Bluetooth Smart (also refered to as Bluetooth Low Energy). For now, the external device needs to be in the “peripheral” role. You’ll also need an iPhone 4S or higher to connect to these devices.

Features

  • The plugin comes with a Manager class that allows you to easily:
    • discover new bluetooth devices
    • connect to bluetooth devices
    • find out when a device times out (because it is not visible anymore)
    • discover services on a bluetooth device
    • discover characteristics on a bluetooth device

  • It allows you to work with custom UUIDS user in the Bluetooth protocol
  • It comes with an RFDuino class that allows you to easily pass around devices in your code and operate on them:
    • write data to this device
    • read data from this device
    • connect / disconnect from the device

  • The pod comes with two demo applications: RFDuino Example and RBL Nano Example, see Red Bear Lab Nano that allow you to:
    • connect to a device
    • disconnect from a connected device
    • discover services and characteristics on a device, once it is connected
    • send (write) data to the connected device

Installation

RFDuino is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "RFDuino"

Author

Jordy van Kuijk, [email protected]

License

RFDuino is available under the MIT license. See the LICENSE file for more info.