Skip to content

Commit

Permalink
increase arena and l2cap packet size
Browse files Browse the repository at this point in the history
  • Loading branch information
lulf committed Aug 26, 2024
1 parent d77d3f6 commit 4f1114c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/apps/src/ble_bas_peripheral.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use trouble_host::gatt::{GattEvent, GattServer};
use trouble_host::{Address, BleHost, BleHostError, BleHostResources, Controller, PacketQos};

/// Size of L2CAP packets (ATT MTU is this - 4)
const L2CAP_MTU: usize = 128;
const L2CAP_MTU: usize = 251;

/// Max number of connections
const CONNECTIONS_MAX: usize = 1;
Expand Down
2 changes: 1 addition & 1 deletion examples/esp32/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
license = "MIT OR Apache-2.0"

[dependencies]
embassy-executor = { version = "0.6.0" }
embassy-executor = { version = "0.6.0", features = ["task-arena-size-65536"] }
esp-backtrace = { version = "0.13.0", features = [
"esp32c3",
"exception-handler",
Expand Down

0 comments on commit 4f1114c

Please sign in to comment.