【问题标题】:Bluetooth Low Energy Advertising Server Android蓝牙低功耗广告服务器 Android
【发布时间】:2018-03-09 21:14:56
【问题描述】:

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

【问题讨论】:

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


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2013-11-13
      • 2019-02-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-08-14
      相关资源
      最近更新 更多