Bluefruit LE + OSX connectivity

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
rutuger
 
Posts: 4
Joined: Sun May 06, 2012 10:45 pm

Bluefruit LE + OSX connectivity

Post by rutuger »

Hello -

I am wondering if there is an easy way that i'm missing to communicate w/ a Bluefruit LE (https://learn.adafruit.com/getting-star ... e-breakout) from an OSX application (Processing for example). Possible to add it as a serial device? I've been able to communicate fine w/ the IOS app and sample Arduino code.

Thanks

User avatar
s89
 
Posts: 8
Joined: Wed Aug 12, 2015 1:15 pm

Re: Bluefruit LE + OSX connectivity

Post by s89 »

It seems like BLE on Java (which Processing is based on) hasn’t really taken off yet. If you’re comfortable with ObjC or Swift try the native Core Bluetooth. Otherwise Noble for Node.js [1] seems most popular right now. It’s pretty easy to implement the UART service spec [2] to get a simple serial-like API. One example that may work out of the box is bbx10/node-nRF8001 [3].

[1]: https://github.com/sandeepmistry/noble
[2]: https://learn.adafruit.com/bluefruit-le ... rt-service
[3]: https://github.com/bbx10/node-nRF8001

User avatar
ktownsend
 
Posts: 1447
Joined: Thu Nov 05, 2009 2:18 am

Re: Bluefruit LE + OSX connectivity

Post by ktownsend »

As mentioned above, noble is a great place to start if you're familiar with JavaScript, or you can also try an experimental Python BLE wrapper we put together that works on OSX, though it isn't something we can offer much support for since it's purely a proof of concept we made public in case someone (like you!) might find it useful one day: https://learn.adafruit.com/introducing- ... on-wrapper

User avatar
Cunami
 
Posts: 15
Joined: Thu Mar 24, 2016 9:35 am

Re: Bluefruit LE + OSX connectivity

Post by Cunami »

Why is someone doing such a great project in JS.....we really need this project done in pure java which will work at least in Processing... Or we need a normal Bluetooth Feather (without LE)....

Was happy to start using Feather LE but after realizing that its useless for Java desktop (as there are not API for LE) I got very disappointed.

Locked
Please be positive and constructive with your questions and comments.

Return to “Wireless: WiFi and Bluetooth”