蓝牙低功耗广告服务器Android

时间:2018-03-09 21:14:56

标签: java android bluetooth-lowenergy advertisement bluetooth-peripheral

我正在创建一个充当外围设备的Android应用程序并发送蓝牙低功耗广告。我正在使用BluetoothGattServer为客户端设备设置服务器以进行连接。我的主要目标是从客户端读取RSSI值。我是否可以使用BluetoothGattCallback而不是BluetoothGattServerCallback与BluetoothGattServer,以便我可以实现和使用readRemoteRssi?

1 个答案:

答案 0 :(得分:1)

BluetoothGattCallback与Master有关 因此,如果您的手机充当服务器/从属设备,您将无法使用它

相关问题