Skip to content

Commit

Permalink
Fixed #12 - LE L2CAP Socket should never be BREDR
Browse files Browse the repository at this point in the history
/* BD Address type */
#define BDADDR_BREDR           0x00
#define BDADDR_LE_PUBLIC       0x01
#define BDADDR_LE_RANDOM       0x02
  • Loading branch information
colemancda committed Feb 24, 2018
1 parent b1ff4c1 commit 85300f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/BluetoothLinux/AddressType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ public enum AddressType: UInt8 {

/// Bluetooth Basic Rate/Enhanced Data Rate
case bredr = 0x00
case lowEnergyRandom = 0x01
case lowEnergyPublic = 0x02
case lowEnergyPublic = 0x01
case lowEnergyRandom = 0x02

public init() { self = .bredr }

Expand Down

0 comments on commit 85300f4

Please sign in to comment.