We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the trouble examples, MTU values of 128 and 251 are being used. When such examples are being run on ESP32-C6 hardware, the following error occurs:
INFO - [host] setting txq to 24, fragmenting at 255 INFO - [host] configuring host buffers (8 packets of size 251) ====================== PANIC ====================== panicked at /home/ubuntu/trouble.fork/examples/apps/src/ble_bas_peripheral.rs:104:13: [ble_task] error: BleHost(Hci(Invalid HCI Command Parameters))
@bjoernQ asked me to report this here.
According to him, also ESP32-C2 and ESP32-H2 might be affected (I have only ESP32-C6 to test with).
trouble
cd examples/esp32
Cargo.toml
[features] ... esp32c2 = ["esp-hal/esp32c2", "esp-backtrace/esp32c2", "esp-hal-embassy/esp32c2", "esp-println/esp32c2", "esp-wifi/esp32c2"] esp32c3 = ["esp-hal/esp32c3", "esp-backtrace/esp32c3", "esp-hal-embassy/esp32c3", "esp-println/esp32c3", "esp-wifi/esp32c3"] esp32c6 = ["esp-hal/esp32c6", "esp-backtrace/esp32c6", "esp-hal-embassy/esp32c6", "esp-println/esp32c6", "esp-wifi/esp32c6"] esp32h2 = ["esp-hal/esp32h2", "esp-backtrace/esp32h2", "esp-hal-embassy/esp32h2", "esp-println/esp32h2", "esp-wifi/esp32h2"]
4. run with:
$ cargo esp32c6 --bin ble_bas_peripheral
Starts advertising:
... INFO - [adv] advertising
There's a panic at initialization of the BLE stack.
Target device: ESP32-C6, -C2, -H2
Chip type: esp32c6 (revision v0.0) Crystal frequency: 40 MHz Flash size: 4MB Features: WiFi 6, BT 5
Crate name and version: esp-hal rev. 7288d0367e0a820db4ca25a22496a35beff1bb61
esp-hal
7288d0367e0a820db4ca25a22496a35beff1bb61
The text was updated successfully, but these errors were encountered:
Thanks!
We need to make parts of BLE_CONFIG (e.g.
BLE_CONFIG
esp-hal/esp-wifi/src/ble/os_adapter_esp32c3.rs
Line 249 in 660e43e
esp-hal/esp-wifi/src/ble/os_adapter_esp32c6.rs
Line 16 in 660e43e
Unfortunately, it's different for different chips
Sorry, something went wrong.
New data:
According to this on Matrix, also ESP32-S3 is affected.
No branches or pull requests
Bug description
In the trouble examples, MTU values of 128 and 251 are being used. When such examples are being run on ESP32-C6 hardware, the following error occurs:
@bjoernQ asked me to report this here.
According to him, also ESP32-C2 and ESP32-H2 might be affected (I have only ESP32-C6 to test with).
To Reproduce
trouble
cd examples/esp32
Cargo.toml
in that folder; disable the workaround:4. run with:
Expected behavior
Starts advertising:
Actual behaviour
There's a panic at initialization of the BLE stack.
Environment
Target device: ESP32-C6, -C2, -H2
Crate name and version:
esp-hal
rev.7288d0367e0a820db4ca25a22496a35beff1bb61
The text was updated successfully, but these errors were encountered: