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

OS X support #2

Open
sander opened this issue Oct 26, 2015 · 2 comments
Open

OS X support #2

sander opened this issue Oct 26, 2015 · 2 comments

Comments

@sander
Copy link
Contributor

sander commented Oct 26, 2015

One advantage of sandeepmistry/node-ancs is that the same code works on OS X and on Linux. This allows for developing on an OS X system while testing / deploying on an embedded Linux system. What would it take to add OS X compatibility (possibly through a different BLE library) to ble-ancs?

@robotastic
Copy link
Owner

It might be possible.. but judging from this thread, it looks like you
can't advertise that you are looking for a service UID in OS X Core
Bluetooth: sandeepmistry/node-ancs#3

The other challenge is that one a Bluetooth adapter gets associated with a
Mac, iOS doesn't seem to want to let you pair with it in the Bluetooth
settings menu. I have been using a VMWare Linux image to do the development
work and a USB BLE dongle on the Linux side.

I will look into, but I am not sure if I will be able to get it working.

On Mon, Oct 26, 2015 at 10:18 AM, Sander Dijkhuis [email protected]
wrote:

One advantage of sandeepmistry/node-ancs
https://github.com/sandeepmistry/node-ancs is that the same code works
on OS X and on Linux. This allows for developing on an OS X system while
testing / deploying on an embedded Linux system. What would it take to add
OS X compatibility (possibly through a different BLE library) to ble-ancs?


Reply to this email directly or view it on GitHub
#2.

@sander
Copy link
Contributor Author

sander commented Oct 28, 2015

Thanks! For the described use case, perhaps including node-ancs’s behaviour could work, i.e. Mac as central and iOS as peripheral, possibly using a previously set up BLE pairing. Only this issue came up that might complicate things: sandeepmistry/node-ancs#9 (ANCS likely filtered out from GATT response to OS X).

The dongle + virtualisation approach sounds good, I’ll try that.

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

No branches or pull requests

2 participants