With my ESP32-C6 device, I saw the following panic when scanning was
enabled and there were many BLE devices in vicinity:
unwrap of `EVENT_QUEUE.enqueue((*event).dummy as usize)` failed: 14,
This occurs because the NPL event queue has overflowed. I increased the
queue size from 10 to 16, and the panic went away. I also did some
testing and discovered that there were at most 13 elements on the queue
at any given time, so a queue size of 16 (which allows for 15 elements)
should give us some margin. This also gives a slight overhead reduction
as the heapless crate recommends the queue size to be a power of two.
Co-authored-by: Gavin Li <git@thegavinli.com>
2.3 KiB
2.3 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
Added
- Implement
embedded_io::{ReadReady, WriteReady}traits forWifiStack(#1882)
Changed
Fixed
- Increased NPL event queue size to prevent overflow (#1891)
Removed
0.7.1 - 2024-07-17
Changed
- Check no password is set when using
AuthMethod::None(#1806)
Fixed
- Downgrade
embedded-svcto 0.27.1 (#1820)
0.7.0 - 2024-07-15
Added
- Add support for
Protocol::P802D11BGNAX(#1742)
Fixed
- Fixed
set_modefunctionality (#1742)
Changed
esp_wifi::initializeno longer requires running maximum CPU clock, instead check it runs above 80MHz. (#1688)- Rename
set_modetoset_protocol, also available in esp-now API (#1742) esp_wifi::initializenow takes aPeriodicTimer<ErasedTimer>(#1753)
0.6.0 - 2024-06-04
Removed
- Removed embedded-hal v0.2 dependency
0.5.1 - 2024-04-22
Patch release to fix docs.rs build
0.5.0 - 2024-04-19
Fixed
- Fix compile error when using smoltcp
DNS_MAX_RESULT_COUNTvalues other than 1
0.4.0 - 2024-03-12
Changed
- Users don't need embedded-svc to control wifi anymore. The wifi trait is optionally implemented now. (#429)
- Better network performance by forced yielding of the task when buffers are full / empty. (#430)
- Depend on esp-hal 0.16.1, update other dependencies
0.3.0 - 2024-01-29
Added
- Include coex in list of enabled features for docs.rs (#405)
Fixed
- Small correction to coex warning message (#404)
- Use a random local port when initializing the wifi stack. (#414)
Changed
- Update driver blobs (#410)
- Update dependencies to fit
embedded-hal1.0
Removed
0.2.0 - 2024-01-05
Initial release supporting WiFi on ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C2, ESP32-C6, supporting BLE on WiFi on ESP32, ESP32-S3, ESP32-C3, ESP32-C2, ESP32-C6, ESP32-H2
0.1.0 - 2023-11-27
Initial release supporting WiFi on ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C2, ESP32-C6, supporting BLE on WiFi on ESP32, ESP32-S3, ESP32-C3, ESP32-C2, ESP32-C6