Skip to content

Commit

Permalink
Updated L2CAPSocket
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Nov 18, 2018
1 parent 6b52198 commit 6b38ab9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/BluetoothLinux/L2CAP.swift
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public final class L2CAPSocket: L2CAPSocketProtocol {
}

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

Expand All @@ -87,7 +87,7 @@ public final class L2CAPSocket: L2CAPSocketProtocol {
}

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

Expand Down

0 comments on commit 6b38ab9

Please sign in to comment.