質問

I'm trying to get this tutorial working for my Nexus 7 (2012) running cyanogenMod (so it has BT LE) using BluetoothGattServer Android APis- http://www.jayconsystems.com/tutorial/android_ble_nrf8002/

However, setting up the GattServer is not working and always returns null.

After this:

gattServer = bluetoothManager.openGattServer(
                    getApplicationContext(), mBluetoothGattServerCallback);

gattServer is always null. Any ideas on why that could be?

役に立ちましたか?

解決

I imagine it is because the Nexus 7 (2012 edition) doesn't support Bluetooth LE, as it has a Bluetooth 3.0 radio inside.

The 2013 Nexus 7, however, does support Bluetooth LE.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top