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.

Code Coverage

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.2 - Jun 23, 2018

  • #58 Added standard GATT Characteristics

2.1.1 - Jun 20, 2018

  • #58 Added standard GATT Characteristics
  • dfecefd Fixed duplicate file references for iOS, tvOS, watchOS

2.1.0 - Jun 15, 2018

  • #46 Implemented defined GATT Descriptors
  • #58 Implemented defined GATT Characteristics
  • #72 Refactored layout of source files

2.0.0 - Jun 13, 2018

  • #3 Added HCI commands and tests
  • #23 Updated iBeacon
  • #25 Implemented GATT Notifications for GATTClient
  • #33 Implemented GATT Descriptors for GATTClient
  • #35 Added GAP Data types
  • #41 Fixed BluetoothHostControllerInterface.lowEnergyRemoveDeviceFromResolvingList()
  • #45 Fixed POSIXError on Android
  • #49 Update 16 Bit UUIDs For Members
  • #50 Updated Company Identifiers
  • #58 Implemented defined GATT Characteristics
  • #59 Generate unit tests and extensions for UnitIdentifier
  • 60a5820 Added BluetoothHostControllerInterface.deviceRequest<C: HCICommand, EP: HCIEventParameter>()

1.8.1 - May 11, 2018

  • #3 Added HCI commands and tests