BLE scan失败

  • 您好,执行hciconfig -a查看是否成功打开蓝牙。
    参考教程:https://wiki.luckfox.com/zh/Luckfox-Pic ... D%E7%89%99
  • Eng38 wrote: 2024-06-29 2:32 您好,执行hciconfig -a查看是否成功打开蓝牙。
    参考教程:https://wiki.luckfox.com/zh/Luckfox-Pic ... D%E7%89%99
    蓝牙打开了,hcitool scan能成功执行,hcitool lescan会出错。
  • xiajinlin wrote: 2024-07-01 2:23
    Eng38 wrote: 2024-06-29 2:32 您好,执行hciconfig -a查看是否成功打开蓝牙。
    参考教程:https://wiki.luckfox.com/zh/Luckfox-Pic ... D%E7%89%99
    蓝牙打开了,hcitool scan能成功执行,hcitool lescan会出错。
    我同样遇到了这个问题,报错信息一样。
  • 如果需要使用BLE 寻找蓝牙设备请执行以下命令

    Code: Select all

    hcitool cmd 0x03 0x0003 #reset
    hcitool cmd 08 01 3f 00 00 00 00 00 00 00 #启动BLE 并设置参数
    hcitool lescan