Pure Swift Bluetooth Definitions.
import Bluetooth
let uuid128bit = BluetoothUUID(rawValue: "60F14FE2-F972-11E5-B84F-23E070D5A8C7")
let uuid16bit = BluetoothUUID(rawValue: "FEA9")
let address = BluetoothAddress(rawValue: "00:1A:7D:DA:71:13")
import PackageDescription
let package = Package(
name: "hcitool",
products: [
.executable(name: "hcitool", targets: ["hcitool"])
],
dependencies: [
.package(url: "https://github.com/PureSwift/Bluetooth.git", .branch("master"))
],
targets: [
.target(
name: "hcitool",
dependencies: [
"Bluetooth"
]
)
]
)
Read the documentation here. Documentation can be generated with DocC.
Bluetooth is released under the MIT license. See LICENSE for details.
link |
Stars: 147 |
Last commit: 3 weeks ago |
Full Changelog: https://github.com/PureSwift/Bluetooth/compare/6.3.1...6.4.0
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics