Skip to content

Commit 6b38ab9

Browse files
committed
Updated L2CAPSocket
1 parent 6b52198 commit 6b38ab9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/BluetoothLinux/L2CAP.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public final class L2CAPSocket: L2CAPSocketProtocol {
7171
}
7272

7373
/// Creates a server socket for an L2CAP connection.
74-
public static func lowEnergyServer(controllerAddress: BluetoothAddress = .any,
74+
public static func lowEnergyServer(controllerAddress: BluetoothAddress = .zero,
7575
isRandom: Bool = false,
7676
securityLevel: SecurityLevel = .low) throws -> L2CAPSocket {
7777

@@ -87,7 +87,7 @@ public final class L2CAPSocket: L2CAPSocketProtocol {
8787
}
8888

8989
/// Creates a client socket for an L2CAP connection.
90-
public static func lowEnergyClient(controllerAddress: BluetoothAddress = .any,
90+
public static func lowEnergyClient(controllerAddress: BluetoothAddress = .zero,
9191
destination: (address: BluetoothAddress, type: AddressType),
9292
securityLevel: SecurityLevel = .low) throws -> L2CAPSocket {
9393

0 commit comments

Comments
 (0)