0

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

4

1 回答 1

1

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

于 2018-03-10T08:35:26.943 回答