Skip to content
New issue

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

test: try to reproduce issue 260 in test #269

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/apps/src/ble_l2cap_peripheral.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ where
info!("L2CAP channel accepted");

// Size of payload we're expecting
const PAYLOAD_LEN: usize = 27;
const PAYLOAD_LEN: usize = 250;
let mut rx = [0; PAYLOAD_LEN];
for i in 0..10 {
let len = ch1.receive(&stack, &mut rx).await.unwrap();
Expand Down
2 changes: 1 addition & 1 deletion examples/nrf-sdc/src/bin/ble_l2cap_peripheral.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ async fn main(spawner: Spawner) {
let mut sdc_mem = sdc::Mem::<12848>::new();
let sdc = unwrap!(build_sdc(sdc_p, &mut rng, mpsl, &mut sdc_mem));

ble_l2cap_peripheral::run::<_, L2CAP_MTU>(sdc).await;
ble_l2cap_peripheral::run::<_, 255>(sdc).await;
}
2 changes: 1 addition & 1 deletion examples/tests/tests/ble_l2cap_peripheral.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async fn run_l2cap_peripheral_test(labels: &[(&str, &str)], firmware: &str) {
loop {
let conn = central.connect(&config).await.unwrap();
log::info!("[central] connected");
const PAYLOAD_LEN: usize = 27;
const PAYLOAD_LEN: usize = 250;
let mut ch1 = L2capChannel::create(&stack, &conn, 0x2349, &Default::default()).await?;
log::info!("[central] channel created");
for i in 0..10 {
Expand Down
Loading