【问题标题】:How to do pairing with BLE device after GATT connectionGATT连接后如何与BLE设备配对
【发布时间】:2016-08-21 13:45:55
【问题描述】:

GATT 连接后如何与 BLE 设备配对,因为我必须手动完成,然后才能从 BLE 设备获得响应。

bluetoothComponent.gatt = tempdevice.connectGatt(getApplicationContext(), false, 
                                                 bluetoothComponent.callbacknew);

请帮助,我在与BLE设备连接后如何与BLE设备配对。

【问题讨论】:

    标签: bluetooth-lowenergy android-bluetooth gatt


    【解决方案1】:

    可以根据您的要求通过https://developer.android.com/reference/android/bluetooth/BluetoothDevice.html#createBond() 完成 外设也可以启动配对。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-08-25
      • 1970-01-01
      • 1970-01-01
      • 2014-11-16
      相关资源
      最近更新 更多