【问题标题】:ESP32 - BLE connection from Linux [closed]ESP32 - 来自 Linux 的 BLE 连接 [关闭]
【发布时间】:2020-10-20 13:31:45
【问题描述】:

据我所知,ESP32 能够进行 BLE 通信。 主要是用 Arduino 完成的,但我很感兴趣:

有没有办法将 ESP32 连接到 Linux,并使用标准 BlueZ 命令(hcitool、gatttool)来管理 BLE 外围设备?

【问题讨论】:

    标签: bluetooth esp32 bluez


    【解决方案1】:

    hcitool 和 gatttool 是 BlueZ 已弃用的八个工具的一部分

    https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=b1eb2c4cd057624312e0412f6c4be000f7fc3617

    Zephyr 是一个用于连接、资源受限和嵌入式设备的小型实时操作系统,我相信 ESP32 是支持微控制器之一。

    在 Zephyr 的文档中有一节将 BlueZ 与 Zephyr 结合使用,其中列出了已取代您提到的那些受支持的工具。

    https://docs.zephyrproject.org/latest/guides/bluetooth/bluetooth-tools.html?highlight=bluez#using-bluez-with-zephyr

    【讨论】:

    • 很好的资源,非常感谢。是的,我知道 BlueZ 已弃用 hcitool 和 gatttool,只是它们似乎是该问题的好关键字。
    猜你喜欢
    • 1970-01-01
    • 2015-03-08
    • 2022-08-12
    • 2022-12-17
    • 2021-06-24
    • 2022-12-24
    • 1970-01-01
    • 2022-11-18
    • 2016-12-14
    相关资源
    最近更新 更多