esp-hal/esp-wifi/CHANGELOG.md
Gavin Li 3049f2804a
esp-wifi/ble/npl: increase event queue size (#1891)
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>
2024-08-05 21:50:41 +00:00

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 for WifiStack (#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-svc to 0.27.1 (#1820)

0.7.0 - 2024-07-15

Added

  • Add support for Protocol::P802D11BGNAX (#1742)

Fixed

  • Fixed set_mode functionality (#1742)

Changed

  • esp_wifi::initialize no longer requires running maximum CPU clock, instead check it runs above 80MHz. (#1688)
  • Rename set_mode to set_protocol, also available in esp-now API (#1742)
  • esp_wifi::initialize now takes a PeriodicTimer<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_COUNT values 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-hal 1.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