Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LE Scan #14

Closed
colemancda opened this issue Jun 17, 2016 · 3 comments
Closed

LE Scan #14

colemancda opened this issue Jun 17, 2016 · 3 comments
Assignees
Labels

Comments

@colemancda
Copy link
Member

colemancda commented Jun 17, 2016

Implement LE Scan.
First step is to implement the "LE Set Scan Enable Command" PDU.

Reference the Bluetooth Core Specification v4.0 page 823 (7.8.11 LE Set Scan Enable Command)

@colemancda colemancda self-assigned this Jun 17, 2016
@colemancda colemancda mentioned this issue Jun 17, 2016
@semireg
Copy link

semireg commented Jun 15, 2017

Has any progress been made on this? If not, I'd like to give it a shot. I've successfully built this project on an Ubuntu VM. Is it possible to build on MacOS using the dongle connected to the Mac? Having a native Xcode environment would certainly speed up development. This is what I'm seeing today when I run swift build on MacOS.

BluetoothLinux-master/Sources/BluetoothLinux/POSIXError.swift:34:39: error: use of unresolved identifier 'NSPOSIXErrorDomain'
        let nsError = NSError(domain: NSPOSIXErrorDomain, code: Int(code.rawValue), userInfo: nil)
                                      ^~~~~~~~~~~~~~~~~~
Foundation.NSPOSIXErrorDomain:1:12: note: did you mean 'NSPOSIXErrorDomain'?
public let NSPOSIXErrorDomain: String
           ^
<unknown>:0: error: build had 1 command failures

@colemancda
Copy link
Member Author

I use Parallels and compile on Ubuntu, and edit on Mac in Xcode. Only Bluetooth will compile on Mac, the SPM support is for Linux only.

@colemancda
Copy link
Member Author

@semireg Implemented in v2.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants