Skip to content

Commit

Permalink
bump mtu for esp32c3
Browse files Browse the repository at this point in the history
  • Loading branch information
lulf committed Jan 17, 2025
1 parent 7dbe2bf commit cf2b43a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/esp32/src/consts.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// Size of L2CAP packets
#[cfg(not(any(feature = "esp32c2", feature = "esp32c6", feature = "esp32h2")))]
pub const L2CAP_MTU: usize = 128;
pub const L2CAP_MTU: usize = 251;
// Some esp chips only accept an MTU >= 255
#[cfg(any(feature = "esp32c2", feature = "esp32c6", feature = "esp32h2"))]
pub const L2CAP_MTU: usize = 255;

0 comments on commit cf2b43a

Please sign in to comment.