ESP32 系列芯片基于开源的 NimBLE 和Bluedroid 开发Bluetooth 主机栈。 这两层通过标准接口 HCI(主机控制器接口) 进行通信。HCI 定义了一组标准命令,供 Bluetooth 主机调用。Bluetooth 控制器不仅实现了这些标准 HCI 命令,还支持厂家自定义 HCI 命令,主要用于实现标准 HCI 命令不支持的功能以
NimBLE Rust wrapper for ESP32 This is a Rust wrapper for the NimBLE Bluetooth stack for ESP32. Inspired byNimBLE-Arduino. Usage Add below settings to your project'ssdkconfig.defaults. CONFIG_BT_ENABLED=y CONFIG_BT_BLE_ENABLED=y CONFIG_BT_BLUEDROID_ENABLED=n CONFIG_BT_NIMBLE_ENABLED=y ...
I (1045) esp32_nimble::ble_device: BLE Host Task Started I (1085) esp32_nimble::ble_device: Device Address: 8:A6:F7:A1:C5:92 I (1085) NimBLE: GAP procedure initiated: discovery; I (1095) NimBLE: own_addr_type=0 filter_policy=0 passive=0 limited=0 filter_duplicates=1 I (1095)...
2 + "rust-analyzer.cargo.target": "xtensa-esp32-espidf", 3 + "rust-analyzer.checkOnSave.allTargets": false, 4 + "rust-analyzer.checkOnSave.command": "clippy", 5 + "rust-analyzer.checkOnSave.extraArgs": ["--all-features"] 6 + }...
For some reason it later changes its name to "nimble" on a mac, not sure what that is all about. Every 60 seconds, it will give your mouse a little jiggle! 2023-11-24_11-04-55.mp4 If you monitor the debug console you'll see this when it jiggles: To change the interval, ...