Swiftpack.co - Package - PureSwift/Bluetooth

Bluetooth

Swift Platform Release License

Build Status CodeBeat Docs

SPM compatible Carthage compatible

Pure Swift Bluetooth Definitions.

Usage

import Bluetooth

let uuid128bit = BluetoothUUID(rawValue: "60F14FE2-F972-11E5-B84F-23E070D5A8C7")
let uuid16bit = BluetoothUUID(rawValue: "FEA9")
let address = Address(rawValue: "00:1A:7D:DA:71:13")

Installation

Swift Package Manager

import PackageDescription

let package = Package(
    dependencies: [
        .Package(url: "https://github.com/PureSwift/Bluetooth.git", majorVersion: 2)
        ]
)

Carthage

github "PureSwift/Bluetooth"

Documentation

Read the documentation here. Documentation can be generated with Jazzy. For more information, see the gh-pages branch.

See Also

  • BluetoothLinux - Pure Swift Linux Bluetooth Stack
  • BluetoothDarwin - Low Level Swift Bluetooth library for the Darwin kernel
  • BluetoothAndroid - Swift Bluetooth stack for Android
  • GATT - Bluetooth Generic Attribute Profile (GATT) for Swift
  • SwiftFoundation - Cross-Platform, Protocol-Oriented Programming base library to complement the Swift Standard Library.
  • Cacao - Pure Swift Cross-platform UIKit
  • Silica - Pure Swift CoreGraphics (Quartz2D) implementation
  • Predicate - Pure Swift Predicate implementation

License

Bluetooth is released under the MIT license. See LICENSE for details.

Github

link
Stars: 18
Help us keep the lights on

Dependencies

Releases

2.5.2 - Sep 16, 2018

  • 21976e7 Improved Address RawRepresentable performance

2.5.1 - Sep 14, 2018

  • e255051 Fixed GATTServer strong reference cycle
  • 28f280d Fixed ATTConnection crash

2.5.0 - Sep 12, 2018

  • c8d25fb Make L2CAPSocket non-blocking

2.4.0 - Sep 11, 2018

  • #32 Implemented GATT Indications

2.3.2 - Sep 8, 2018

  • #109 Added 128 bit UUID to 16 / 32 bit UUID conversion
  • fec0a38 Fixed Integer overflow crash in GATTClient