Skip to content

Commit

Permalink
Fixed GATTPeripheral
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Sep 18, 2023
1 parent 0c50cdc commit 870413f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/GATT/GATTPeripheral.swift
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public final class GATTPeripheral <HostController: BluetoothHostControllerInterf
// create server socket
let socket = try await Socket.lowEnergyServer(
address: address,
isRandom: options.randomAddress == nil,
isRandom: options.randomAddress != nil,
backlog: self.options.socketBacklog
)

Expand Down

0 comments on commit 870413f

Please sign in to comment.