Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ var package = Package(
dependencies: [
.package(
url: "https://github.com/PureSwift/Bluetooth.git",
branch: "master"
from: "7.2.1"
),
.package(
url: "https://github.com/PureSwift/Socket.git",
branch: "main"
from: "0.4.0"
)
],
targets: [
Expand Down
10 changes: 5 additions & 5 deletions Tests/BluetoothLinuxTests/L2CAPTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ final class L2CAPTests: XCTestCase {
let newConnection = try serverSocket.accept()
NSLog("Server Connected")
let service = GATTAttribute.Service(
uuid: .deviceInformation,
uuid: BluetoothUUID.Service.deviceInformation,
isPrimary: true,
characteristics: [
GATTAttribute.Characteristic(
Expand Down Expand Up @@ -90,11 +90,11 @@ final class L2CAPTests: XCTestCase {
]
)
let service2 = GATTAttribute.Service(
uuid: .savantSystems,
uuid: BluetoothUUID.Member.savantSystems,
isPrimary: true,
characteristics: [
GATTAttribute.Characteristic(
uuid: .savantSystems2,
uuid: BluetoothUUID.Member.savantSystems2,
value: GATTManufacturerNameString(rawValue: "PureSwift").data,
permissions: [.read, .write],
properties: [.read, .write],
Expand All @@ -103,11 +103,11 @@ final class L2CAPTests: XCTestCase {
]
)
let batteryService = GATTAttribute.Service(
uuid: .batteryService,
uuid: BluetoothUUID.Service.battery,
isPrimary: true,
characteristics: [
GATTAttribute.Characteristic(
uuid: .batteryService,
uuid: BluetoothUUID.Service.battery,
value: GATTBatteryLevel(level: .init(rawValue: 95)!).data,
permissions: [.read],
properties: [.read],
Expand Down