문제

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