Thomas
Thomas

Reputation: 2767

How can I check for hardware BLE support on OS X?

I've read here that Apple computers from mid-2011 should support BLE (Bluetooth Low Energy). Is there a way (perhaps using the command line) to check if the device and the operating system supports BLE?

Upvotes: 7

Views: 5281

Answers (4)

hexcola
hexcola

Reputation: 41

Click apple icon on top left corner, then click About This Mac -> System Report... on the left side click Hardware -> Bluetooth, you will find Bluetooth Low Energy Supported under Hardware, Features, and Settings.

Upvotes: 1

richt
richt

Reputation: 739

In the Mac OS X Terminal app, you can type the following:

system_profiler -detailLevel full SPBluetoothDataType | grep "LMP Version"

If this command outputs >= '0x6' then Bluetooth 4.0 is supported and thus, BLE is also supported.

Upvotes: 6

Dario
Dario

Reputation: 314

1) Install LightBlue for Mac OS through the AppStore.

2) If it complains like the screenshot attached, your hardware does not support Bluetooth LE, if it does not complain "it's all good".

enter image description here

Upvotes: 5

Thomas
Thomas

Reputation: 2767

Apparently the CBCentralManager api for iOS and OSX is the same or very similar (not sure if that was to be expected as Im just starting with iOS and OS X), in the sense that it is possible to run the code:

switch ([_manager state])
{
    case CBCentralManagerStateUnsupported:
        state = @"This device does not support Bluetooth Low Energy.";
        break;
    case CBCentralManagerStateUnauthorized:
        state = @"This app is not authorized to use Bluetooth Low Energy.";
        break;
    case CBCentralManagerStatePoweredOff:
        state = @"Bluetooth on this device is currently powered off.";
        break;
    case CBCentralManagerStateResetting:
        state = @"The BLE Manager is resetting; a state update is pending.";
        break;
    case CBCentralManagerStatePoweredOn:
        state = @"Bluetooth LE is turned on and ready for communication.";
        break;
    case CBCentralManagerStateUnknown:
        state = @"The state of the BLE Manager is unknown.";
        break;
    default:
        state = @"The state of the BLE Manager is unknown.";

}

provided in the equivalent iOS Q&A (the credits goes to Bob there) in OS X and get to know if the device supports ble or not.

Upvotes: 2

Related Questions