I recently started playing around with one of those RFDuino’s. These are microchips with BLE built-in and with the Arduino framework built around it. It’s easy to connect them to a iOS device, but if you want to connect them directly to your Mac, it’s a little bit harder.
One of the things you’ll need, is BLE support on your Mac. One way to check this is issuing the following command:
system_profiler -detailLevel full SPBluetoothDataType | grep "LMP Version"
If you see a response like
LMP Version: 0x6
Then you’re in luck, if you see a lower value, like
LMP Version: 0x4
Then you need to buy a BLE Dongle, like me. I bought a LM506 Bluetooth 4.0 adapter from LM Technologies, which actually has the Broadcom BCM20702A0 chip inside it. On Mavericks, this chip should work ‘out of the box’, but it didn’t 😦
You’ll have to select which Bluetooth chip you want to use. The built-in one or the external. You can’t use both. To do this you have to download the Hardware IO Tools for Xcode from the Apple Developers site (just search for it). Then, run Bluetooth Explorer. Choose ‘HCI Controller Selector’ from the tools menu.
Select your BLE chip and press activate!
If you’re using a Bluetooth mouse, you will have to re-pair your mouse again.
So that’s it. Now I can start using those RFDuino’s with my Mac 🙂