【发布时间】:2014-04-10 07:40:13
【问题描述】:
我正在尝试让本教程适用于我的 Nexus 7 (2012),它使用 BluetoothGattServer Android APIs-http://www.jayconsystems.com/tutorial/android_ble_nrf8002/ 运行 cyanogenMod(因此它具有 BT LE)-@
但是,设置 GattServer 不起作用,并且始终返回 null。
之后:
gattServer = bluetoothManager.openGattServer(
getApplicationContext(), mBluetoothGattServerCallback);
gattServer 始终为空。关于为什么会这样的任何想法?
【问题讨论】:
-
看这个链接。希望对你有用:stackoverflow.com/questions/37181843/…
标签: android bluetooth-lowenergy gatt