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: 17
Help us keep the lights on

Dependencies

Releases

2.1.9 - Aug 15, 2018

  • 49db956 Added POSIXError.description

2.1.8 - Aug 12, 2018

  • 67f9390 Updated LE scanning
  • 79bf4b8 Fixed iBeacon advertising

2.1.7 - Jul 23, 2018

  • 8384c06 Fixed BluetoothHostControllerInterface Swift 4 compiler crash

2.1.6 - Jul 19, 2018

  • 3fcb7d0 Added ATTConnection.writePending

2.1.5 - Jul 14, 2018

  • #58 Added standard GATT Characteristics
  • 612799a Added UInt48